/**
* Theme Name: Oliva Child
* Description: This is a child theme of Oliva, generated by Merlin WP.
* Author: <a href="http://themelexus.com/">Themelexus</a>
* Template: oliva
* Version: 1.0.7
*/


@font-face {
    font-family: 'Helvetica';
    src: url('fonts/helvetica/helvetica-regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica';
    src: url('fonts/helvetica/helvetica-bold.ttf') format('ttf');
    font-weight: 700;
    font-style: normal;
}


/* Styl całej strony produktu  */
.col-full{
    padding-left: 15px;
    padding-right: 15px;
    /*margin-left: auto;
    margin-right: auto;*/
    max-width: none !important;
}

.woocommerce-page.oliva-sidebar-right .content-area{
    width: 100% !important;
}

#page .site-content{
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-top: 0px !important;
    
}

.List-content {
    display: flex; /* Użyj flexbox do układu obok siebie */
    flex-direction: row-reverse; /* Odwróć kolejność elementów */
    justify-content: center; /* Wyśrodkowanie całego kontenera */
    align-items: flex-start; /* Wyrównanie górne */
    width: 100%; /* Upewnij się, że kontener zajmuje pełną szerokość */
    
}

.List-content-wrapper,
.List-content-image-container {
    flex: 1; /* Zajmij 50% przestrzeni */
    box-sizing: border-box; /* Upewnij się, że padding i margin są uwzględniane w szerokości */
    padding: 10px; /* Opcjonalne odstępy wewnętrzne */
}

.List-content-image-container {
    display: flex; /* Flexbox do wyśrodkowania obrazów */
    flex-direction: column; /* Ustaw obrazy w kolumnie */
    align-items: center; /* Wyśrodkowanie obrazów w poziomie */
}

.List-content-image-container img {
    max-width: 100%; /* Upewnij się, że obrazy nie wychodzą poza kontener */
    height: auto; /* Utrzymaj proporcje obrazów */
}


/* Wyłączenie rating na stronie produktu  */
.product-block .product-caption .woo-wrap-rating{
    display: none !important;
}

/*wyświetlanie powiązane produkty*/
body.group-blog .related ul.oliva-products{
    display: flex !important;
}


/* Kolor tekstu "Brak na stanie" */
.out-stock {
    color: #ff0000 !important; /* Czerwony - zmień na swój kolor */
    font-weight: bold; /* Opcjonalnie pogrubienie */
}


.custom-tab-content {
    display: none;
}

.custom-tab-title {
    cursor: pointer;
    font-weight: bold;
}

.custom-tab-title.active {
    color: #0073aa;
}


.site-header-cart-side.active{
    width: 400px;
    padding-right: 15px;
    padding-left: 15px;
}

/* Styl kontenera */
.scroll-container {
    flex: 1; /* Zajmij dostępną przestrzeń */
    display: flex;
    flex-direction: column; /* Umożliwia elastyczną wysokość */
    height: 100%; /* Ustal wysokość kontenera na 100% wysokości widoku minus marginesy */
    max-height: 704px;
    width: 100%;
    overflow-y: auto;            /* Włącz przewijanie w pionie */
    padding: 20px;              /* Opcjonalne odstępy wewnętrzne */
    border: 1px solid #ddd;     /* Opcjonalna ramka */
    background-color: #faf9f7;     /* Tło kontenera */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Opcjonalny cień */
    border-radius: 15px;
}

/*widok w szybkim podglądzie*/
.entry-summary form.cart{
    margin-bottom: 30px;
}



.product-block .quantity_cart .add_to_cart a{
    border: 1px solid var(--e-global-color-secondary);
    background-color: white !important;
    border-radius: 15px !important;
    color:var(--e-global-color-secondary);
}
.product-block .quantity_cart .add_to_cart a:hover{
    background-color: #e7c7a7 !important;
    border-radius: 15px !important;
    color:white !important;
}


div.add_to_cart a{
    border: 1px solid var(--e-global-color-secondary);
    background-color: white !important;
    border-radius: 15px !important;
    color:var(--e-global-color-secondary) !important;
}
div.add_to_cart a:hover{
    background-color: #e7c7a7 !important;
    border-radius: 15px !important;
    color:white !important;
}

.gpsr-fields h3{
    padding-top: 30px !important;
    font-size: 21px !important;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.gpsr-fields h3 p{
    font-size: 16px !important;
}


button#woosw_copy_btn.button{
    border: 1px solid var(--e-global-color-secondary);
    background-color: white !important;
    border-radius: 15px !important;
    color:var(--e-global-color-secondary);
    margin-left:15px;
}
button#woosw_copy_btn.button:hover{
    background-color: #e7c7a7 !important;
    border-radius: 15px !important;
    color:white !important;
    border:none;
}

#woosw_copy_url{
    border-radius:15px;
}

.woosw-list table.woosw-items .woosw-item .woosw-item--image img{
    border-radius: 15px;
}

.woosw-list .woosw-item--actions .oliva_woosw_item_wrapper{
    justify-content: space-around !important;
}

.woosw-item--time{
display:none;
}

.woosw-item--stock{
    display: none;
}

.single-product div.product .single_add_to_cart_button{
    border: 1px solid var(--e-global-color-secondary);
    background-color: white !important;
    border-radius: 15px !important;
    color: var(--e-global-color-secondary);
}
.single-product div.product .single_add_to_cart_button:hover{
    background-color: #e7c7a7 !important;
    border-radius: 15px !important;
    color: white !important;
}

.single-product div.product .woocommerce-product-details__short-description{
    margin-bottom: 20px !important;
}


.content-single-wrapper{
    display: flex;
    align-items: stretch; /* Dopasowanie wysokości obu kolumn */
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical{
    width: 49.4%;
    margin-right: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
}

.single-product div.product .woocommerce-product-gallery .flex-viewport img{
    border-radius: 15px !important;
    height: auto;
    width: 100%;
}

.single-product div.product .product_title{
    font-size: 21px;
}


img.zoomImg{
    opacity: 0 !important;
}

.single-product .summary{
    width: 49.4%;
    float: right;
    max-width: none !important;
}

.single-product .woocommerce-tabs{
    margin-top: auto;
}

/* zakładka z płatnościami, darmowa dostawa od i zwrot w przeciągu x dni */
.single-product .oliva-single-product-extra{
    display:none;
}
.woocommerce-info{
    background-color: #e7c7a7;
}

.woocommerce-info .button:hover{
    color:#fff;
}

.woocommerce-message{
    background-color: #e7c7a7;
}

.woocommerce-message .button:hover{
    color:#fff;
}


/*nazwa produktu w szybki podgląd*/
#woosq-popup .product .summary .product_title{
font-size:1.5rem;
}

/*pojemności pod ceną*/
.single-product div.product table.variations td.value ul li.variable-item.selected .variable-item-span{
    color:#fff;
    
}

.single-product div.product table.variations td.value ul li.variable-item .variable-item-span:hover{
    color:#fff;
    
}


.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock){
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-secondary);
    
}

.single-product div.product table.variations label{
    font-family: 'Helvetica' !important;
}

[data-wvstooltip]:after{
    display: none;
}

[data-wvstooltip]:before{
    display: none;
}

.single-product div.product table.variations td.value ul li.variable-item:hover, .single-product div.product table.variations td.value ul li.variable-item.selected{
    border-radius: 15px;
}
.single-product div.product table.variations td.value ul li.variable-item{
    border-radius: 15px !important;
    border-color: var(--e-global-color-secondary);
}

.single-product div.product table.variations td.value ul li.variable-item:hover{
    color:#fff;
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-secondary);

}


/* Styl dla zakładek */
.woocommerce-tabs .tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
    
}

.custom-accordion {
    border-bottom: 1px solid #ddd; /* Dodaj linię pod zakładkami */
    cursor: pointer;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9; /* Kolor tła zakładki */
    font-size: 16px; /* Zmieniona wielkość tekstu */
    border-radius: 5px; /* Zaokrąglone rogi, aby wyglądały jak przyciski */
    margin-bottom: 10px; /* Odstęp między zakładkami */
    transition: background-color 0.3s ease; /* Płynna zmiana koloru po najechaniu */
}

.custom-accordion:hover {
    background-color: #e0e0e0; /* Kolor po najechaniu */
}

.custom-accordion::after {
    content: '+'; /* Dodaj plus */
    font-size: 20px;
    color: #333;
}

.custom-accordion.active::after {
    content: '-'; /* Zmiana na minus po otwarciu */
}

.tab-description, .tab-skladniki, .tab-sposob_uzycia {
    font-family: 'Helvetica', sans-serif;
  font-weight: 300;
  font-style: normal;
    font-size: 21px; /* Zmieniona wielkość tekstu zawartości */
    padding: 10px;
    border-radius: 5px;
    background-color: #faf9f7;
    margin-top: -10px;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel{
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 10px;
    font-family: 'Helvetica', sans-serif;
}

/* Styl otwartej zakładki */
.custom-accordion.active + .tab-description,
.custom-accordion.active + .tab-additional_information,
.custom-accordion.active + .tab-custom_tab_1 {
    display: block;
}
/* Styl dla sekcji obraz na pełną szerokość */
.acf-gallery-wrapper {
    position: relative;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.image-container {
    position: relative;
    width: 100%;
}

.acf-gallery-image {
    width: 100%;
    max-height: 600px;
    height: auto;
    
    border-radius: 15px;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Kolor tekstu */
    font-size: 48px; /* Wielkość czcionki */
    font-weight: bold; /* Grubość czcionki */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Efekt cienia dla tekstu */
    text-align: center;
    width: 100%;
}

.overlay-text p {
    margin: 0;
}
/* Styl dla sekcji tekst po lewej, obraz po prawej */
.custom-product-section {
    margin-top: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.left-text-block {
    background-color: #faf9f7 !important;     /* Tło kontenera */
    border: 1px solid #ddd; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Opcjonalny cień */
    width: 50%;
    margin-right: 19px;
    border-radius: 15px;
    max-height: 100%;
    overflow-y: auto;
    width: 50%;
    flex:1;
}


.left-text-block h2 {
    font-size: clamp(1.5rem, 2.2vw, 1.2rem);
}
.right-image-block {
    display: flex;
    align-items: center; /* Centrowanie zawartości obrazu */
    justify-content: center;
    max-height: 100%; /* Maksymalna wysokość zgodnie z treścią obrazu */
    flex: 0 0 auto; /* Zatrzymuje automatyczne rozciąganie */
    width: 49.6% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.right-image-block img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    
}

/* Ustawienie galerii */



.flex-viewport {
    height: auto;
    margin-left: 0px !important;
    width:100% !important;
    max-height: 741px;
}

.woocommerce-product-gallery__wrapper div{
    
    float: left;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .flex-control-thumbs li img{
    border-radius: 15px !important;
}

.woocommerce img.pswp__img, 
.woocommerce-page img.pswp__img{
    border-radius: 15px !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs{
    text-align: -webkit-center;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .woocommerce-product-gallery__image:hover a img{
    opacity: 1 !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 80px; /* Szerokość miniatur */
    height: 80px !important;
    margin-bottom: 5px; /* Odstęp pomiędzy miniaturami */
    border: 2px solid #fff; /* Opcjonalne: Dodanie białej ramki wokół miniatur */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Opcjonalne: Cień wokół miniatur */
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .swiper-thumbs-vertical ol{
    margin-top: 10px;
}


.related > h2:first-child, .upsells > h2:first-child{
    font-size: 24px !important;
}

.woocommerce-loop-product__title{
	font-size: 16px !important;
}

.breadcrumb-wrap{
    display: none !important;
}

/*przycisk zmień adres w koszyku*/
.wc-block-components-totals-shipping__change-address__link{
    color:#54595f;
}
.wc-block-components-totals-shipping__change-address__link:hover{
    color:#54595f;
}


.woocommerce-breadcrumb {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    margin-top: 20px;
}

ul.products li.product img, ul.products .wc-block-grid__product img, .wc-block-grid__products li.product img, .wc-block-grid__products .wc-block-grid__product img{
    border-radius: 15px;
}

/*.header-1 .header-left{
    display:none !important;
}*/

.wc-block-components-sidebar-layout.wc-block-cart .wc-block-cart__sidebar .wc-block-cart__submit-container a.wc-block-components-button:visited{
    color: var(--e-global-color-text);
}

.wc-block-components-sidebar-layout.wc-block-cart .wc-block-cart__sidebar .wc-block-cart__submit-container a.wc-block-components-button{
    background-color: #fff;
    border-radius: 15px !important;
}

.header-1 .header-right{
    flex: auto !important;
}
/*odległość polecanych produktów od banera*/
.related{
    margin-top: 25px;
    padding: 32px 0 0 0;
}

.product-block .product-transition{
    border-radius: 15px !important;
}

.wc-block-components-totals-shipping .wc-block-components-shipping-address{
    display: none !important;
}


.wc-block-components-totals-shipping .wc-block-components-totals-shipping__change-address__link{
    display: none;
}


/*przyciski paczkomat, zamówienie, kupony*/
button.btn.button.select-paczkomat-button{
    color: black !important;
    border-color: black !important;
    background-color: white !important ;
    border-radius: 15px !important;
}

button.btn.button.select-paczkomat-button:hover{
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}

#payment .place-order .button{
    color: black !important;
    border-color: black !important;
    background-color: white !important ;
    border-radius: 15px !important;
}

#payment .place-order .button:hover{
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}

.form-row .validate-required{
    margin-bottom: 2em !important;
}

.wc-block-components-sidebar-layout.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__content .wc-block-components-button{
    color: black !important;
    border-color: black !important;
    background-color: white !important ;
    border-radius: 15px !important;
}

.wc-block-components-sidebar-layout.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon__content .wc-block-components-button:hover{
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}

.hentry .entry-content .wp-block-button .wp-block-button__link{
    color: black !important;
    border: 1px solid black;
    border-color: black !important;
    background-color: white !important ;
    border-radius: 15px !important;
}
.hentry .entry-content .wp-block-button .wp-block-button__link:hover{
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}

form.woocommerce-form-login button[type=submit]{
    color: black !important;
    border: 1px solid black;
    border-color: black !important;
    background-color: white !important ;
    border-radius: 15px !important;
}

form.woocommerce-form-login button[type=submit]:hover{
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}

form.woocommerce-form-login .woocommerce-form__label-for-checkbox {
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
}

.woosw-popup.woosw-show .woosw-popup-inner .woosw-popup-content a.button{
    color: var(--e-global-color-secondary);
}

form.woocommerce-form-login .woocommerce-LostPassword {
padding-top: 10px;
}

.checkout_coupon button[type=submit]{
    color: black !important;
    border-color: black !important;
    background-color: white !important ;
    border-radius: 15px !important;
}
.checkout_coupon button[type=submit]:hover{
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}

.checkout_coupon .form-row-last {
    margin-top: 23.5px !important;
    width: unset;
    float: left;
    align-self: center;
}

a.showcoupon{
    color: red !important;
}

#billing_country_field .woocommerce-input-wrapper{
    display: block;
    width: 100%;
    padding: 15px 30px;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: var(--e-global-color-border);
    
    box-sizing: border-box;
    outline: 0;
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    font-size: 14px;
    font-size: 0.875rem;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

#shipping_country_field .woocommerce-input-wrapper{
    display: block;
    width: 100%;
    padding: 15px 30px;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: var(--e-global-color-border);
    
    box-sizing: border-box;
    outline: 0;
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    font-size: 14px;
    font-size: 0.875rem;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

#billing_company_field{
    padding-top: 4px;
}

bdi{
    font-size: 18px !important;
}

.left bdi{
    font-size: 23px !important;
}

.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice{
    background-color: #E7C7A7 !important;
}

.pswp__bg{
    filter: opacity(0.7);
}

a.more-link{
    text-decoration: none;
}

a.more-link:hover{
    color:var(--e-global-color-secondary) !important;
}

.oliva-sorting .oliva-woocommerce-ordering label{
    font-size: 1rem;
}

.blog-style-grid [class*=post-style-] .entry-title a {
    top: -207%;
}
.blog-style-grid [class*=post-style-]:hover .entry-title a{
    top: -207%;
}

.blog-style-grid [class*=post-style-] .more-link-wrap{
    top:-150%;
}

.swiper-scrollbar {
    display: none;
}

.swiper-pagination {
    display: none;
}


.shop-action .shop-cart-button{
display:none;
}

.woocommerce-message{
    margin-bottom: 5px !important;
}
/* Media Query dla różnych urządzeń */



@media (min-width: 1201px) and (max-width: 1530px) {
    .scroll-container {
        height: 100%; /* Ustal wysokość kontenera na 100% wysokości widoku minus marginesy */
        max-height: 571px;
        width: 100%;
        overflow-y: auto;            /* Włącz przewijanie w pionie */
        padding: 20px;              /* Opcjonalne odstępy wewnętrzne */
        border: 1px solid #ddd;     /* Opcjonalna ramka */
        background-color: #faf9f7;     /* Tło kontenera */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Opcjonalny cień */
        border-radius: 15px;
    }

    .single-product div.product .woocommerce-product-gallery .flex-viewport img{
    border-radius: 15px !important;
    height: 571px;
    
    width: 100%;
    }

    .right-image-block{
        width: 49.3% !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    }

    .elementor-widget-oliva-banner.content-stretch-yes{
        height: 99.6% !important;
    }
}

/* Ekrany poniżej 1200px */
@media (min-width: 993px) and (max-width: 1200px) {
    .flex-viewport{
        height: 100% !important;
    
    }
    .single-product div.product .woocommerce-product-gallery .flex-viewport img{
        border-radius: 15px !important;
        height: 455px;
        
        width: 100%;
    }
    

    .scroll-container {
        height: 100%; /* Ustal wysokość kontenera na 100% wysokości widoku minus marginesy */
        max-height: 455px;
        width: 100%;
        overflow-y: auto;            /* Włącz przewijanie w pionie */
        padding: 20px;              /* Opcjonalne odstępy wewnętrzne */
        border: 1px solid #ddd;     /* Opcjonalna ramka */
        background-color: #faf9f7;     /* Tło kontenera */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Opcjonalny cień */
        border-radius: 15px;
    }
    .custom-product-section{
        margin-bottom:50px;
    }

    .left-text-block {
        background-color: #faf9f7 !important;
        width: 50%;
        margin-right: 19px;
        border-radius: 15px;
        font-size: clamp(0.7rem, 1.2vw, 1.2rem);
    }
    .left-text-block h2 {
        font-size: clamp(1.0rem, 1.2vw, 1.2rem);
    }
    
    
    .right-image-block img{
    width: 100%;
    height: auto;
    }

    #billing_country_field .woocommerce-input-wrapper{
        margin-bottom:10px !important;
    }
    .right-image-block{
        width: 49.1% !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    }

    .woocommerce-info{
        margin-bottom: 35px !important;
    }

    .checkout_coupon .input-text{
        border-radius: 0px !important;
    }


    .checkout_coupon button[type=submit]{
        padding: 12px 30px !important;
    }

    .elementor-widget-oliva-banner.content-stretch-yes .elementor-widget-container, .elementor-widget-oliva-banner.content-stretch-yes .elementor-oliva-banner{
        height: 98.4% !important;
    }
   
}

/* Ekrany poniżej 992px */
@media (min-width: 769px) and (max-width: 992px) {
    .flex-viewport{
        height: 100% !important;
    }
    .single-product div.product .woocommerce-product-gallery .flex-viewport img{
        border-radius: 15px !important;
        height: 285px;
        
        width: 100%;
    }
    .scroll-container {
        height: 100%; /* Ustal wysokość kontenera na 100% wysokości widoku minus marginesy */
        max-height: 285px;
        width: 100%;
        overflow-y: auto;            /* Włącz przewijanie w pionie */
        padding: 20px;              /* Opcjonalne odstępy wewnętrzne */
        border: 1px solid #ddd;     /* Opcjonalna ramka */
        background-color: #faf9f7;     /* Tło kontenera */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Opcjonalny cień */
        border-radius: 15px;
    }

    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img{
        width: 70px !important;
        height: 70px !important;
    }
    .custom-product-section{
        margin-bottom:50px;
    }
    
    .left-text-block div{
        font-size: clamp(0.5rem, 1.2vw, 1.2rem);
    }
    .left-text-block div h2{
        font-size: max(.8rem, 1.925vw) !important;
    }

    .left-text-block {
        background-color: #faf9f7 !important;
        width: 50%;
        margin-right: 16px;
        border-radius: 15px;
        font-size: clamp(0.6rem, 1.5vw, 1.2rem);
    }
    .left-text-block h2 {
        font-size: clamp(0.7rem, 1.2vw, 1.2rem);
    }
    
    .right-image-block img{
    width: 100%;
    height: auto;
    }
    form.checkout{
display: inline-grid !important;
    }
    .col2-set{
        width:100% !important;
    }
    #order_review{
        max-width: none !important;
        width: 100% !important;
    }

    .elementor-1209 .elementor-element.elementor-element-c4928aa.e-con{
        display: none !important;
    }

    .elementor-1209 .elementor-element.elementor-element-cc01ae8{
        --e-con-grid-template-rows: repeat(1, 1fr) !important;
    }

    #billing_country_field .woocommerce-input-wrapper{
        margin-bottom:10px !important;
    }

    #woosq-popup .product .summary .product_title{
        font-size:1.2rem !important;
    }

    .woocommerce-info{
        margin-bottom: 35px !important;
    }

}

/* Ekrany poniżej 768px */
@media (min-width: 577px) and (max-width: 768px) {
    .content-single-wrapper{
        display: grid;
    }
    .flex-viewport{
        
        margin-bottom: 0px;
    }

    .woocommerce-product-gallery__image .flex-active-slide{
width: 30vh;
    }

    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical{
        width: auto ;
        margin-right: 0px !important;
    }
    
    .single-product .summary{
        width: auto;
        display: contents;
        
    }


    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .swiper-thumbs-vertical .swiper-button-next{
        display: none;
    }
    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .swiper-thumbs-vertical .swiper-button-prev{
        display: none;
    }
    .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
        width:auto;
        height: auto;
        max-height: 67vh;
    }
    .custom-product-section{
        display: grid !important;
    }
    .left-text-block{
        width: auto !important;
        margin-right: 0px !important;
    }
    .right-image-block{
        width: auto !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    }
    .overlay-text{
        font-size: 24px !important;
    }

    .scroll-container {
        height: 100% !important;
        max-height: none !important;
        
    }

    .left-text-block {
        min-height: none !important; 
        max-height:none !important;
    }

    
    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .flex-control-thumbs{
        display: none;
    }
    .single-product div.product .woocommerce-product-gallery .flex-viewport{
        margin-bottom: 0;
    }

    .woocommerce-product-gallery {
        position: relative;
        overflow: hidden;
    }
    
    .woocommerce-product-gallery__wrapper {
        position: relative; /* Zapewnia, że pasek będzie odpowiednio pozycjonowany */
    }

    .swiper-scrollbar {
        display: block;
        position: relative !important; /* Relatywne pozycjonowanie, aby pasek nie wchodził na obrazek */
        margin-top: 15px; /* Przesunięcie w dół, aby był między kontenerami */
        bottom:17px !important;
        width: 100%;
        height: 5px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        z-index: 0 !important;
    }

    .swiper-scrollbar-drag {
        background: #000;
        border-radius: 10px;
    }

    .woocommerce-product-gallery__wrapper div{
        margin-right: 0 !important;
    }
    .single-product div.product .images {
        margin-bottom: 0px !important;
    }
    
    #page .site-content {
        padding-left: 5px !important;
            padding-right: 5px !important;
            margin: 0px 0 !important;
    }

    .col-full {
        padding-left: 5px !important;
        padding-right: 5px !important;
        
    }
    .elementor-5898 .elementor-element.elementor-element-4d1fabe0 .elementor-button[type="submit"]{
        margin-top: 10px;
        margin-bottom:-10px;
    }

    .elementor-1209 .elementor-element.elementor-element-c30481b.e-con{
        display:none !important
    }

    .elementor-1209 .elementor-element.elementor-element-4052fbf{
        padding-bottom: 0px !important;
    }

    .woosq-product > .product .summary .summary-content{
        background-color: #faf9f7;
    }

    #woosq-popup .product .summary .product_title {
        font-size: 1.3rem !important;
    }
    
    #woosq-popup .product .summary .product_title {
        line-height: 25px !important;
    }

    ul{
        margin: 0 0 1em 0em !important;
    }

    .pswp__zoom-wrap{
        margin-left: 10px;
    }
    
    .woocommerce img.pswp__img, .woocommerce-page img.pswp__img{
        max-width: 94.5%;
        height: auto !important;
    }

    form.checkout{
        display: inline-grid !important;
            }
            .col2-set{
                width:100% !important;
            }
            #order_review{
                max-width: none !important;
                width: 100% !important;
            }
        
            .elementor-1209 .elementor-element.elementor-element-c4928aa.e-con{
                display: none !important;
            }
        
            .elementor-1209 .elementor-element.elementor-element-cc01ae8{
                --e-con-grid-template-rows: repeat(1, 1fr) !important;
            }
        
            #billing_country_field .woocommerce-input-wrapper{
                margin-bottom:10px !important;
            }
            .woocommerce-info{
                margin-bottom: 35px !important;
            }

}

/* Ekrany poniżej 576px */
@media (max-width: 576px) {
    .content-single-wrapper{
        display: grid;
    }

    .woocommerce-product-gallery__image .flex-active-slide{
width: 52vh;
    }

    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical{
        width: auto;
        margin-right: 0px !important;
    }
    
    .single-product .summary{
        width: auto;
        display: contents;
    }

    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .swiper-thumbs-vertical .swiper-button-next{
        display: none;
    }
    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .swiper-thumbs-vertical .swiper-button-prev{
        display: none;
    }
    .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
       height: 100%;
        max-height: 28em !important;
    }
    .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
        object-fit: contain !important;
    }

    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical{
        height: fit-content !important;
    }
    .swiper-autoheight .swiper-wrapper{
        justify-content: space-evenly !important;
    }

    .custom-product-section{
        display: grid !important;
    }
    .left-text-block{
        width: auto !important;
        margin-right: 0px !important;
        margin-bottom: 30px;
    }
    .right-image-block{
        width: auto !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    }
    .overlay-text{
        font-size: 24px !important;
    }

    .custom-product-section {
        margin-top: 30px !important;
        
    }

    .single-product div.product .product-add-to-cart-form{
        flex-flow: wrap !important;
    }

    .single-product div.product .single_add_to_cart_button{
        margin-top: 15px !important;
    }

    .entry-summary form.cart{
        margin-bottom: 20px !important;
    }

    .scroll-container {
        height: 100% !important;
        max-height: none !important;
        
    }

    .left-text-block {
        min-height: none !important; 
        max-height:none !important;
    }

    .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .flex-control-thumbs{
        display: none;
    }
    .single-product div.product .woocommerce-product-gallery .flex-viewport{
        margin-bottom: 0;
    }

    .woocommerce-product-gallery {
        position: relative;
        overflow: hidden;
    }
    
    .woocommerce-product-gallery__wrapper {
        position: relative; /* Zapewnia, że pasek będzie odpowiednio pozycjonowany */
    }

    .swiper-scrollbar {
        display: block;
        position: relative !important; /* Relatywne pozycjonowanie, aby pasek nie wchodził na obrazek */
        margin-top: 15px; /* Przesunięcie w dół, aby był między kontenerami */
        bottom:17px !important;
        width: 100%;
        height: 5px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        z-index: 0 !important;
    }

    .swiper-scrollbar-drag {
        background: #000;
        border-radius: 10px;
    }

    .woocommerce-product-gallery__wrapper div{
        margin-right: 0 !important;
    }
    .single-product div.product .images {
        margin-bottom: 0px !important;
    }
    #page .site-content {
        
        padding-left: 5px !important;
            padding-right: 5px !important;
            
    }

    .col-full {
        padding-left: 5px !important;
        padding-right: 5px !important;
        
    }


    .col-fluid{
        padding-left: 5px !important;
        padding-right: 5px !important;
        
    }

   

    .woosq-product > .product .summary .summary-content{
        background-color: #faf9f7;
    }
    .elementor-5898 .elementor-element.elementor-element-4d1fabe0 .elementor-button[type="submit"]{
        margin-top: 10px;
        margin-bottom:-10px;
    }

    .elementor-1209 .elementor-element.elementor-element-3f9813f.e-con{
        display: none;
    }

    .elementor-1209 .elementor-element.elementor-element-c30481b.e-con{
        display:none !important
    }

    .elementor-1209 .elementor-element.elementor-element-4052fbf{
        padding-bottom: 0px !important;
    }


    /* Ukrycie domyślnego dużego przycisku Dodaj do koszyka */
    .products .add_to_cart_button {
        display: none !important;
    }
    
    .shop-action .shop-cart-button {
        background: #fff;
        border: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        height: 40px;
        box-shadow: 0 1px 11px rgba(0, 0, 0, 0.07);
    }

    .shop-action .shop-cart-button:hover{
    
        background-color: var(--e-global-color-secondary);
        border-color: var(--e-global-color-secondary);
    }
    
    /* Dopasowanie wyglądu do pozostałych przycisków */
    .woos-btn {
        background-color: #f5f5f5; /* Dopasuj kolor */
        border-radius: 0%;
    padding: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ikona koszyka */
    .woos-btn i {
        font-size: 18px;
        color: #333;
        transform: none !important;
    }

    .woos-btn i:hover {
        color: #fff;
    }
    
    /* Efekt hover */
    .woos-btn:hover {
        opacity: 0.8;
    }
    
    /* Usunięcie potencjalnych problemów z pozycjonowaniem */
    .product-block .product-caption .group-action .shop-action a[class*=product_type_] {
        position: relative !important;
        top: auto !important;
        right: auto !important;
    }
/* Ukryj pierwszy pasek przewijania */
.swiper-scrollbar.swiper-scrollbar-horizontal:first-of-type {
    visibility: hidden;
    height: 0;
    width: 0;
}

/* Upewnij się, że drugi pasek jest widoczny */
.swiper-scrollbar.swiper-scrollbar-horizontal:nth-of-type(2) {
    visibility: visible;
    height: auto;
    width: 100%;
}

.blog-style-grid [class*=post-style-] .entry-title a {
    top: -148%;
}
.blog-style-grid [class*=post-style-]:hover .entry-title a{
    top: -148%;
}

.blog-style-grid [class*=post-style-] .more-link-wrap{
    top:-113%;
}

#woosq-popup .product .summary .product_title {
    font-size: 1.3rem !important;
}

#woosq-popup .product .summary .product_title {
    line-height: 25px !important;
}

ul{
    margin: 0 0 1em 0em !important;
}

.pswp__zoom-wrap{
    margin-left: 10px;
}

.woocommerce img.pswp__img, .woocommerce-page img.pswp__img{
    max-width: 94.5%;
    height: auto !important;
}


.woocommerce-info{
    margin-bottom: 35px !important;
}

    }

    @media (max-width: 425px) {
        .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
            height: 100%;
        max-height: 28em !important;
        max-width: 55vh;
        width: 100%;
        }

        .custom-product-section {
            margin-top: 30px !important;
            
        }

        .scroll-container {
            height: 100% !important;
            max-height: none !important;
            
        }

        .left-text-block {
            min-height: none !important; 
            max-height:none !important;
        }

        .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery-vertical .flex-control-thumbs{
            display: none;
        }
        .single-product div.product .woocommerce-product-gallery .flex-viewport{
            margin-bottom: 0;
        }

        .woocommerce-product-gallery {
            position: relative;
            overflow: hidden;
        }

        .woocommerce-product-gallery__wrapper {
            position: relative; /* Zapewnia, że pasek będzie odpowiednio pozycjonowany */
        }
        
    
        .swiper-scrollbar {
            display: block;
            position: relative !important; /* Relatywne pozycjonowanie, aby pasek nie wchodził na obrazek */
            margin-top: 15px; /* Przesunięcie w dół, aby był między kontenerami */
            bottom:17px !important;
            width: 100%;
            height: 5px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            z-index: 0 !important;
        }
    
        .swiper-scrollbar-drag {
            background: #000;
            border-radius: 10px;
        }

        .woocommerce-product-gallery__wrapper div{
            margin-right: 0 !important;
        }
        .single-product div.product .images {
            margin-bottom: 0px !important;
        }

        #page .site-content {
            
            padding-left: 5px !important;
            padding-right: 5px !important;
        }

        .col-full {
            padding-left: 5px !important;
            padding-right: 5px !important;
            
        }

        .col-fluid{
            padding-left: 5px !important;
            padding-right: 5px !important;
            
        }


        .woosq-product > .product .summary .summary-content{
            background-color: #faf9f7;
        }

        .elementor-5898 .elementor-element.elementor-element-4d1fabe0 .elementor-button[type="submit"]{
            margin-top: 10px;
            margin-bottom:-10px;
        }

        .elementor-1209 .elementor-element.elementor-element-3f9813f.e-con{
            display: none;
        }

        .elementor-1209 .elementor-element.elementor-element-4052fbf{
            padding-bottom: 0px !important;
        }
    

    /* Ukrycie domyślnego dużego przycisku Dodaj do koszyka */
.products .add_to_cart_button {
    display: none !important;
}

.shop-action .shop-cart-button {
    background: #fff;
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 40px;
    box-shadow: 0 1px 11px rgba(0, 0, 0, 0.07);
}

.shop-action .shop-cart-button:hover{
    
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}


/* Dopasowanie wyglądu do pozostałych przycisków */
.woos-btn {
    background-color: #f5f5f5; /* Dopasuj kolor */
    border-radius: 0%;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ikona koszyka */
.woos-btn i {
    font-size: 18px;
    color: #333;
    transform: none !important;
}
.woos-btn i:hover {
    color: #fff;
}

/* Efekt hover */
.woos-btn:hover {
    opacity: 1;
    
}

/* Usunięcie potencjalnych problemów z pozycjonowaniem */
.product-block .product-caption .group-action .shop-action a[class*=product_type_] {
    position: relative !important;
    top: auto !important;
    right: auto !important;
}
/* Ukryj pierwszy pasek przewijania */
.swiper-scrollbar.swiper-scrollbar-horizontal:first-of-type {
    visibility: hidden;
    height: 0;
    width: 0;
}

/* Upewnij się, że drugi pasek jest widoczny */
.swiper-scrollbar.swiper-scrollbar-horizontal:nth-of-type(2) {
    visibility: visible;
    height: auto;
    width: 100%;
}

.blog-style-grid [class*=post-style-] .entry-title a {
    top: -148%;
}
.blog-style-grid [class*=post-style-]:hover .entry-title a{
    top: -148%;
}

.blog-style-grid [class*=post-style-] .more-link-wrap{
    top:-113%;
}

#woosq-popup .product .summary .product_title {
    font-size: 1.3rem !important;
}

#woosq-popup .product .summary .product_title {
    line-height: 25px !important;
}
ul{
    margin: 0 0 1em 0em !important;
}

.pswp__zoom-wrap{
    margin-left: 10px;
}

.woocommerce img.pswp__img, .woocommerce-page img.pswp__img{
    max-width: 94.5%;
    height: auto !important;
}


tbody{
    display: table-caption;
}



td.product-total{
    width: 26% !important;
    display: table-cell;
}
     
    
    }

    
    
    /* Główne stylowanie menu */
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        line-height: 40px;
        height: 40px;
        padding: 0 10px;
        
        width: auto;
        display: block;
        color: #222;
        text-transform: none;
        text-decoration: none;
        text-align: center;
        background: rgba(255, 255, 255, 0);
        border: 0;
        border-radius: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 20px;
        font-weight: normal;
        outline: none;
        margin: 0 15px;
    }
    
    /* Stylowanie sub-menu */
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
        display: flex;
        justify-content: center; /* Wycentrowanie poziome */
        flex-wrap: wrap; /* Elementy mogą się zawijać */
        padding: 0;
        margin: 0 auto;
        text-align: center; /* Dodatkowe centrowanie tekstu */
    }
    
    /* Stylowanie elementów sub-menu */
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
        color: #666;
        font-family: inherit;
        font-size: 14px;
        padding: 5px; /* Bez auto, dla spójnego odstępu */
        width: calc(100% / var(--columns));
        box-sizing: border-box;
        display: flex; /* Flexbox dla wyrównania */
        flex-direction: column;
        justify-content: flex-start; /* Ustaw od góry */
        align-items: center; /* Wycentrowanie w pionie */
        vertical-align: top;
        border-left: 0px solid #ccc;
        border-right: 0px solid #ccc;
    
    }
    
    /* Usunięcie linii z pierwszej i ostatniej kolumny */
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item:first-child {
        border-left: none;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item:last-child {
        border-right: none;
    }
    
    /* Stylowanie dla układu siatki */
    :root {
        --columns: 9; /* Zmień liczbę kolumn */
    }
    
    /* Dostosowanie do większej liczby elementów w drugim rzędzie */
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item:nth-child(n+5) {
        box-sizing: border-box;
        text-align: center;
        width: calc(100% / 5);
    }
    
    /* Maksymalna szerokość dla responsywności */
    .mega-menu {
        max-width: 500px;
        margin: 0 auto; /* Wycentrowanie całego menu */
    }
    
    /* Usprawnione centrowanie pozycji */
    .flex-distributed-items {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .header-group-action .site-header-cart .cart-contents:before {
        font-size: 22px;
        font-size: 1.375rem;
        color: var(--e-global-color-secondary);
        padding-left: 5px;
    }
    

    @media (max-width: 950px) { /* Ustawienia dla ekranów mobilnych */
        #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
            flex-direction: column; /* Ustawienie elementów w kolumnie */
            align-items: center; /* Wycentrowanie w poziomie */
        }

        #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary{
            padding-bottom: 8em;
        }
    
        #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
            width: 100%; /* Pełna szerokość */
            padding: 10px 0; /* Dostosowanie odstępów */
            text-align: center; /* Centrowanie tekstu */
            border: none; /* Usunięcie linii między elementami */
            display: flex; /* Flexbox do centrowania */
            justify-content: center; /* Wycentrowanie w poziomie */
            align-items: center; /* Wycentrowanie w pionie */
        }
    
        :root {
            --columns: 1; /* Zmiana liczby kolumn na 1 */
        }

/* Dostosowanie do większej liczby elementów w drugim rzędzie */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item:nth-child(n+5) {
    box-sizing: border-box;
    text-align: center;
    width: 100%;
}

/* Stylowanie elementów sub-menu */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
    width:100%;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    display: none;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0;
        margin: 0 auto;
        text-align: center;
    
}

.site-header-cart{
    display: none;
}

.elementor-widget-oliva-product-categories .category-title a{
    vertical-align: -webkit-baseline-middle;
}

.custom-product-section {
    margin-top: 30px !important;
    
}


    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
        
        justify-content: center;
        flex-wrap: wrap;
        padding: 0;
        margin: 0 auto;
        text-align: center;
        
    }

