.shop-container{
    outline: none;
}

.shop-container .woocommerce-no-products-found{
    width: 100%;
}

.shop-sidebar .shop-sidebar-close{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
}

.woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--description .woocommerce-section-content h1,
.woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--description .woocommerce-section-content h2,
.woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--description .woocommerce-section-content h3,
.woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--description .woocommerce-section-content h4,
.woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--description .woocommerce-section-content h5,
.woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--description .woocommerce-section-content h6{
    margin-bottom: 10px;
}

.shop-sidebar .shop-sidebar-close .close{
    cursor: pointer;
    font-size: 30px;
    line-height: 36px;
    color: #404040;
}

.risk-reducer-product-list{
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.risk-reducer-product-list .icon-text-elements-wrapper{
    width: 100%;
}

.risk-reducer-product-list .icon-text-element.left-icon .text-content h5{
    margin-top: 10px;
}

.risk-reducer-product-list::before{
    background: var(--primary-color);
    content: '';
    height: 8px;
    width: 100px;
    position: absolute;
    top: -30px;
    z-index: 1;
}

.single_product--content .summary.entry-summary .product_title.entry-title,
.single_product--content .summary.entry-summary .product-badge-content,
.single_product--content .summary.entry-summary .woocommerce-product-rating,
.single_product--content .summary.entry-summary .stock_information--active,
.product_cat-probki-produktow .single_product--content .summary.entry-summary .woocommerce-product-details__short-description{
    display: none;
}

.single_product--content .single_product--summary-mobile{
    margin-bottom: 30px;
    margin-top: 15px;
}

.product_cat-probki-produktow .single_product--content .single_product--summary-mobile{
    margin-bottom: 14px;
    margin-top: 15px;
}

.product_cat-probki-produktow .single_product--content .single_product--summary-mobile .woocommerce-product-details__short-description {
    margin-top: 10px;
}

.single_product--content .single_product--summary-mobile .product_title.entry-title{
    font-size: 22px;
    margin-bottom: 10px;
}

.single_product--content .single_product--summary-mobile .stock_information--active{
    font-size: 15px;
}

.single_product--content .single_product--summary-mobile .stock_information--active svg{
    min-width: 25px;
}

.single-product div.product .single_product--content .single_product--summary-mobile .woocommerce-product-rating{
    margin-bottom: 15px;
}

.single-product div.product .images{
    margin-bottom: 10px;
}

#reviews .commentlist .review .review-verified-content{
    display: flex;
    align-items: center;
    column-gap: 5px;
}

#reviews .commentlist .review .review-verified-text,
#reviews .commentlist .review .review-meta-date{
    font-size: 14px;
    font-weight: 500;
}

#reviews .commentlist .review .review-meta-content{
    display: flex;
    column-gap: 13px;
    align-items: center;
}

#reviews .commentlist li .comment_container .comment-text{
    row-gap: 2px;
}

.single-product .custom_popup_add_to_cart .custom-product-content{
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    width: 100%;
}

.single-product .custom_popup_add_to_cart .custom-product-content-center .selected-variants{
    padding-left: 35px;
    list-style: disc;
    font-size: 15px;
    padding-top: 5px;
}

.single-product .custom_popup_add_to_cart .custom-product-content-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 15px;
}

.single-product .custom_popup_add_to_cart .custom-product-content-image-title{
    display: flex;
    align-items: center;
    column-gap: 10px;
}
.single-product .custom_popup_add_to_cart .custom-product-content-center {
    background: #f3f3f3;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 15px;
}

.single-product .custom_popup_add_to_cart .custom-product-content-title{
    display: flex;
    flex-direction: column;
}

.single-product .custom_popup_add_to_cart .custom-product-content-image-title img {
    width: 60px;
    height: 60px;
}

.custom_add_to_cart_message--text{
    color: #000000;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 0px;
    line-height: 22px;
}

.single-product .custom_popup_add_to_cart .custom-product-content-image-title .custom-product-text{
    font-size: 15px;
    font-weight: 500;
    color: #1b1b1b;
}

.single-product .custom_popup_add_to_cart .custom-product-delivery-cart .custom-product-text-freebies{
    color: #e61212;
}

.single-product .custom_popup_add_to_cart .custom-product-delivery-cart .custom-product-text-freebies svg{
    fill: #e61212;
}

.single-product .custom_popup_add_to_cart .custom-product-content-top .custom-product-heading{
    color: #000000;
    font-size: 16px;
    font-weight: 600;
}

.single-product .custom_popup_add_to_cart .custom-product-content-top .custom-product-price .woocommerce-Price-amount{
    font-weight: 700;
    font-size: 16px;
}

.single-product .custom_popup_add_to_cart .custom-product-delivery-cart{
    border-top: 1px solid #d1d5db;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.single-product .custom_popup_add_to_cart .custom-product-delivery-cart .custom-product-text{
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 20px;
    font-size: 15px;
}

.single-product .custom_popup_add_to_cart .custom-product-delivery-cart .custom-product-text svg{
    min-width: 25px;
    min-height: 25px;
}

.single-product .custom_popup_add_to_cart .custom-popup-alert-lines{
    border-bottom: 1px solid #d1d5db;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 15px;
}

.single-product .custom_popup_add_to_cart .custom-popup-alert-lines .custom-product-text{
    font-size: 15px;
    line-height: 20px;
    color: #1b1b1b;
}

.single-product .custom_popup_add_to_cart .custom-popup-alert-lines--compact{
    border-top: 0;
    padding-top: 0;
}

.custom_add_to_cart_message--icon.is-notice{
    background-color: #fff1cc;
    fill: #b7791f;
}

.custom_add_to_cart_message--icon.is-error{
    background-color: #f8d7da;
    fill: #c53030;
}

@media (min-width: 455px) {
    .single-product .custom_popup_add_to_cart .custom-product-info .custom-product-info-text {
        align-items: center;
    }
}

@media (min-width: 1001px) {
    .shop-container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .shop-sidebar {
        flex: 0 0 20%;
        max-width: 25%;
        border-radius: 5px; 
        padding: 20px;
        height: min-content;
        border: 1px dashed #d7d7d7;
    }

    .shop-sidebar .shop-sidebar-close{
        display: none;
    }

    .toggle-sidebar {
        display: none;
    }
}

@media (max-width: 1000px) {
    .shop-sidebar {
        width: 250px; 
        position: fixed;
        left: -365px; 
        top: 0;
        height: 100%;
        overflow-y: auto;
        transition: left 0.3s;
        z-index: 1000;
        padding: 25px;
        background-color: #fff; 
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .shop-products {
        width: 100%;
    }

    .shop-sidebar.toggled {
        left: -10px;
        z-index: 1235;
    }

    .toggle-sidebar {
        position: fixed;
        left: 10px; 
        top: 10px;
        z-index: 1010;
        cursor: pointer;
        font-size: 24px;
    }
}

@media (min-width: 1490px) {
    .shop-products {
        width: 100%;
    }
}

.shop-sidebar {
    max-width: 350px;
    width: 35% !important;
}

@media (max-width: 550px) {
    .shop-sidebar {
        max-width: 300px !important;
    }
}

.toggle-sidebar {
    cursor: pointer;
    position: fixed;
    left: 0px !important;
    padding: 3px 10px;
    opacity: .6;
    top: 300px !important;
    z-index: 998;
    border: #d7d7d7;
    /* border: 1px dashed #181818cc; */
    background-color: #181818;
    border-radius: 0px !important; 
}

.single-product .sold-individually .single_product--content .quantity_container,
.woocommerce-cart-form .sold-individually .product-quantity .quantity.custom_cart_quantity .minus,
.woocommerce-cart-form .sold-individually .product-quantity .quantity.custom_cart_quantity .plus {
    display: none;
}

.woocommerce-cart-form .sold-individually .product-quantity .quantity.custom_cart_quantity .qty{
    margin: 0px;
}

.woocommerce-cart-form .sold-individually .product-quantity .quantity.custom_cart_quantity{
    pointer-events: none;
    opacity: 0.8;
}

.sold-individually .single_product--content  .single_add_to_cart_button{
    margin-top: 0px;
}

.toggle-sidebar i {
    color: #fff;
}

ul.products li.product .woocommerce-loop-product__title{
    color: #000000;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.up-sells.upsells.products{
    margin-bottom: 60px;
}

.shopPage_productList .products, .related.products ul.products, .up-sells.upsells.products ul.products {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 50px;
    column-gap: 15px;
}

.shopPage_productList .products .custom-thumb-wrapper{
    position: relative;
}

.shopPage_productList .products .custom-thumb-wrapper .product-badge-content,
.single_product--content .product-badge-content{
    display: flex;
    column-gap: 3px;
    flex-wrap: wrap;
}

.shopPage_productList .products .custom-thumb-wrapper .product-badge,
.single_product--content .product-badge-content .product-badge{
    width: fit-content;
    background-color: #55c036;
    padding: 5px 10px;
    font-size: 11px;
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 5px;
    margin-bottom: 3px;
}

.shopPage_productList .products .custom-thumb-wrapper .product-badge{
    font-size: 11px;
}

.single_product--content .product-badge-content .product-badge{
    font-size: 12px;
}

.shopPage_productList .products .custom-thumb-wrapper .product-badge.product-badge-sale,
.single_product--content .product-badge-content .product-badge.product-badge-sale{
    background-color: #e67612;
}

.shopPage_productList .products .custom-thumb-wrapper .product-badge.product-badge-gift,
.single_product--content .product-badge-content .product-badge.product-badge-gift{
    background-color: #e61212;
}

.shopPage_productList .products .custom-thumb-wrapper .product-badge.product-badge-custom,
.single_product--content .product-badge-content .product-badge.product-badge-custom{
    background-color: #B00020;
}

.related.products .custom-header-block .main-title, .up-sells.upsells.products .custom-header-block .main-title {
    font-size: 28px;
}

.shopPage_productList .products .btn-primary, .related.products ul.products .btn-primary, .up-sells.upsells.products ul.products .btn-primary{
    font-size: 16px;
}

.single-product .fancybox__container .fancybox__content .fancybox__image{
    background-color: #ffffff;
}

.related.products ul.products .custom-product-wrapper .woocommerce-Price-amount.amount, .up-sells.upsells.products ul.products .custom-product-wrapper .woocommerce-Price-amount.amount, .product-carousel-wrapper .custom-product-wrapper .woocommerce-Price-amount.amount{
    color: #e67612;
    font-weight: 600;
    font-size: 18px;
    display: block;
    margin-bottom: 1rem;
}

.related.products ul.products .custom-product-wrapper span.price .woocommerce-Price-amount span.price, .up-sells.upsells.products ul.products .custom-product-wrapper span.price .woocommerce-Price-amount span.price{
    display: inline;
    margin-bottom: 0px;
}

.shopPage_productList li.product{
    transition: all 0.3s;
}

.product-carousel-wrapper .product-carousel .product-badge, .related.products .products .product .custom-thumb-wrapper .product-badge{
    display: none;
}

.product-carousel-wrapper .owl-carousel .owl-stage{
    display: flex;
    height: 100%;
}

.product-carousel-wrapper .product-badge{
    display: none;
}

.product-carousel-wrapper .owl-carousel .owl-item{
    display: flex;
}

.fix_display_contentPost .product-carousel{
    margin-bottom: 20px;
    padding: 0px;
}
.related-carousel-container {
    margin-bottom: 30px;
}

.related-carousel-container h4{
    margin-bottom: 5px;
    color: #000000;
    font-weight: 500;
}

.product-carousel-wrapper .owl-nav, .related-carousel-container .owl-nav{
    margin-top: 0px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    display: block;
}

.product-carousel-wrapper, .related-carousel-container{
    position: relative;
}

.product-carousel-wrapper .owl-nav .owl-prev, 
.product-carousel-wrapper .owl-nav .owl-next,
.related-carousel-container .owl-nav .owl-prev, 
.related-carousel-container .owl-nav .owl-next{
    position: absolute;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    line-height: 1;
    padding: 0;
    border: none;
    background: 0 0;
    cursor: pointer;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 #00000014, 0 0 2px 1px #00000014;
    transition: all .3s ease;
    margin: -21px 0 0;
    font-size: 20px;
}

.product-carousel-wrapper .owl-nav .owl-prev, 
.product-carousel-wrapper .owl-nav .owl-next{
    width: 45px;
    height: 45px;
    top: 45%;
}

.related-carousel-container .owl-nav .owl-prev, 
.related-carousel-container .owl-nav .owl-next{
    width: 30px;
    height: 30px;
    top: 65%;
}

.product-carousel-wrapper .owl-nav .owl-prev:hover, 
.product-carousel-wrapper .owl-nav .owl-next:hover,
.related-carousel-container .owl-nav .owl-prev:hover, 
.related-carousel-container .owl-nav .owl-next:hover{
    opacity: 0.85;
}

.related-carousel-container .owl-nav i{
    color: var(--primary-color);
    font-size: 12px;
}

.product-carousel-wrapper .owl-nav i{
    color: var(--primary-color);
    font-size: 18px;
}

.product-carousel-wrapper .owl-nav .owl-prev{
    left: 15px;
}

.product-carousel-wrapper .owl-nav .owl-next{
    right: 15px;
}

.related-carousel-container .owl-nav .owl-prev{
    left: 3px;
}

.related-carousel-container .owl-nav .owl-next{
    right: 3px;
}

.product-carousel-wrapper li.product .woocommerce-LoopProduct-link img{
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-carousel-wrapper ul.products li.product span.price:has(.sales-price){
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-carousel-wrapper ul.products li.product span.price .sales-price .woocommerce-Price-amount.amount{
    margin-bottom: 0px;
}

.product-carousel-wrapper ul.products li.product span.price .regular-price .woocommerce-Price-amount.amount{
    display: inline;
}

.related.products ul.products li.product, .up-sells.upsells.products ul.products li.product, .product-carousel-wrapper li.product{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shopPage_productList li.product:hover{
    transform: scale(1.01);
}

.product a .woocommerce-loop-product__link {
    height: 300px !important;
}

/* .product .star-rating::before {
    opacity: 0 !important;
} */

.product a img, .product a .size-woocommerce_thumbnail{
    width: 100% !important;
}

.shop-sidebar {
    width: 100% !important;
    padding: 10px 20px;
    background-color: #fff;
}

.overlay {
    display: none; /* ukrycie domyślnie */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* półprzezroczyste tło */
    z-index: 999; /* poniżej sidebaru */
}




.shop-sidebar .wc-block-product-categories-list--depth-0:before {
    content: "Kategorie";
    display: block;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    color: #000000;
}

.shop-sidebar .wc-block-product-categories-list-item {
    list-style: none;
}

.shop-sidebar .wc-block-product-categories-list-item a {
    text-decoration: none;
    color: #000000;
    display: block;
    padding: 7px 0px;
    font-weight: 400;
    transition: color 0.3s;
    font-size: 17px;
}

.shop-sidebar .wc-block-product-categories-list-item a.active,
.shop-sidebar .wc-block-product-categories-list-item a:hover {
    color: var(--primary-color);
}

.shop-sidebar .wc-block-product-categories-list-item-count {
    display: none;
}

.shop-sidebar .wc-block-price-slider {
    margin-top: 20px;
}

.shop-sidebar .wc-block-price-filter__amount {
    font-size: 14px;
    color: #555;
}

.shop-sidebar input[type="range"] {
    width: 100%;
    cursor: pointer;
}

.shop-sidebar .wc-block-price-filter__controls input[type="text"] {
    border: 1px solid #ccc;
    padding: 5px;
    width: calc(50% - 10px);
    margin-right: 10px;
}

/* Style dla filtru cenowego */

.wc-blocks-filter-wrapper {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.wc-blocks-filter-wrapper .wp-block-heading {
    font-size: 18px;
    color: #000000;
    font-weight: 600;
}

.wc-block-price-filter {
    /* background-color: #fff; */
    padding: 20px 0px;
    border-radius: 5px;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

.wc-block-price-filter__range-input {
    background-color: transparent;
    appearance: none;
}

.wc-block-price-filter__range-input::-webkit-slider-thumb {
    appearance: none;
    background: #e67612;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.wc-block-price-filter__range-input::-moz-range-thumb {
    background: #e67612;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.wc-block-price-filter__range-input-progress {
    background-color: #e67612;
}


#block-27 {
    display: none !important;
}

.reviews-wrapper {
    position: relative;
    overflow: hidden;
}

.reviews-container .reviews-button,
.realization_gallery .realizations-button{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.reviews-container .reviews-button .btn-primary,
.realization_gallery .realizations-button .btn-primary{
    width: fit-content;
}

.realization_gallery .single-realization__container{
    position: relative;
}

.reviews-wrapper.has-overflow::after,
.realization_gallery .single-realization__container.has-overflow::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255, 0) 0%,
        rgba(255,255,255,0.7) 60%,
        rgba(255,255,255,1) 100%
    );
    z-index: 1;
}

@media(min-width: 490px){
    .shopPage_productList .products .btn-primary, .related.products ul.products .btn-primary, .up-sells.upsells.products ul.products .btn-primary {
        font-size: 18px;
    }
    .single-product .custom_popup_add_to_cart .custom-product-content-image-title img{
        width: 80px;
        height: 80px;
    }

    .custom_add_to_cart_message--text{
        font-size: 18px;
    }

    .single-product .custom_popup_add_to_cart .custom-product-content-top .custom-product-heading,
    .single-product .custom_popup_add_to_cart .custom-product-content-top .custom-product-price .woocommerce-Price-amount{
        font-size: 18px;
    }

    .single-product .custom_popup_add_to_cart .custom-product-content-image-title .custom-product-text,
    .single-product .custom_popup_add_to_cart .custom-product-content-center,
    .single-product .custom_popup_add_to_cart .custom-product-content-center .selected-variants,
    .single-product .custom_popup_add_to_cart .custom-product-delivery-cart .custom-product-text{
        font-size: 16px;
    }
}

@media(min-width: 575px){
    .single-product .custom_popup_add_to_cart .custom-product-content-image-title{
        column-gap: 15px;
    }
}

@media (max-width: 575px) {
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element {
        flex: 0 0 100% !important;
        border-bottom: 1px solid #e5e5e5;
        width: 100% !important;
        align-items: flex-start !important;
    }
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-elements-wrapper{
        width: 100%!important;
    }
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element img,
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element .text-content > div {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
    }
  
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element.is-open img,
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element.is-open .text-content > div {
        max-height: 1000px;
        opacity: 1;
    }

    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element .text-content{
        width: 100%;
    }

    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-elements-wrapper{
        gap: 20px;
        margin-bottom: 20px;
    }
  
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element h5 {
      cursor: pointer;
      font-size: 18px!important;
      position: relative;
      padding-right: 24px;
    }
  
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element h5::after {
      content: "+";
      position: absolute;
      right: 0;
      top: 0;
      font-size: 17px;
    }
  
    .woocommerce-sections-wrapper-tabs .woocommerce-section.woocommerce-section--instruction_tab .icon-text-element.is-open h5::after {
      content: "–";
    }
}

@media(min-width: 768px){
    .shopPage_productList .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .single_product--content .single_product--summary-mobile{
		display: none;
	}
    .single_product--content .summary.entry-summary .product-badge-content{
        display: flex;
    }
    .single_product--content .summary.entry-summary .product_title.entry-title,
    .single_product--content .summary.entry-summary .woocommerce-product-rating,
    .product_cat-probki-produktow .single_product--content .summary.entry-summary .woocommerce-product-details__short-description{
        display: block;
    }
    .single_product--content .summary.entry-summary .stock_information--active{
        display: flex;
    }
    .single-product div.product .images{
        margin-bottom: 40px;
    }
    .single_product--content .single_product--summary-mobile .stock_information--active{
        font-size: 16px;
    }
}

@media(min-width: 865px){
    .fix_display_contentPost .product-carousel-wrapper .owl-nav .owl-prev{
        left: -20px;
    }
    
    .fix_display_contentPost .product-carousel-wrapper .owl-nav .owl-next{
        right: -20px;
    }
}

@media(min-width: 910px){
    .related.products ul.products, .up-sells.upsells.products ul.products{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media(min-width: 1200px){
    .shopPage_productList .products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
