@media screen and (min-width:769px){.wpc_show_bottom_widget .wpc-filters-widget-content{height:auto!important}body.wpc_show_open_close_button .wpc-filters-widget-content.wpc-closed,body.wpc_show_open_close_button .wpc-filters-widget-content.wpc-opened,body.wpc_show_open_close_button .wpc-filters-widget-content:not(.wpc-opened){display:block!important}}@media screen and (min-width:768px){.wpc-custom-selected-terms{clear:both;width:100%}.wpc-custom-selected-terms ul.wpc-filter-chips-list{display:flex;overflow-x:auto;overflow-y:clip;padding-left:0}.wpc-filters-main-wrap .wpc-custom-selected-terms ul.wpc-filter-chips-list{display:block;overflow:visible}html.is-active .wpc-filters-overlay{top:0;opacity:.3;background:#fff}.wpc-filters-main-wrap input.wpc-label-input+label:hover{border:1px solid rgba(0,0,0,.25);border-radius:5px}.wpc-filters-main-wrap input.wpc-label-input+label:hover span.wpc-filter-label-wrapper{color:#333;background-color:rgba(0,0,0,.25)}.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item input+label:hover a{color:#333}.theme-storefront #primary .storefront-sorting .wpc-custom-selected-terms{font-size:inherit}.theme-storefront #primary .wpc-custom-selected-terms{font-size:.875em}}@media screen and (max-width:768px){.wpc-filters-labels li.wpc-term-item label:hover .wpc-term-swatch-wrapper:after,.wpc-filters-labels li.wpc-term-item label:hover .wpc-term-swatch-wrapper:before{display:none;}.wpc_show_bottom_widget .wpc-filters-widget-top-container,.wpc_show_open_close_button .wpc-filters-widget-top-container{text-align:center}.wpc_show_bottom_widget .wpc-filters-widget-top-container{position:sticky;top:0;z-index:99999;border-bottom:1px solid #f7f7f7}.wpc-custom-selected-terms:not(.wpc-show-on-mobile),.wpc-edit-filter-set,.wpc_show_bottom_widget .widget_wpc_selected_filters_widget,.wpc_show_bottom_widget .wpc-filters-widget-content .wpc-filter-set-widget-title,.wpc_show_bottom_widget .wpc-filters-main-wrap .widget-title,.wpc_show_bottom_widget .wpc-filters-widget-wrapper .wpc-filter-layout-submit-button,.wpc_show_bottom_widget .wpc-posts-found,body.wpc_show_bottom_widget .wpc-open-close-filters-button,body.wpc_show_open_close_button .wpc-filters-widget-content:not(.wpc-opened),.widget_wpc_chips_widget .widget-title:not(.wpc-show-on-mobile-widget-title), .widget_wpc_chips_widget .widgettitle:not(.wpc-show-on-mobile-widget-title) {display:none}.wpc_show_bottom_widget .wpc-filters-widget-top-container:not(.wpc-show-on-desktop),.wpc_show_bottom_widget .wpc-spinner.is-active,.wpc_show_bottom_widget .wpc-widget-close-container,html.is-active body:not(.wpc_show_bottom_widget) .wpc-spinner{display:block}body .wpc-filters-main-wrap li.wpc-term-item{padding:2px 0}.wpc-chip-empty{width:0;display:list-item;visibility:hidden;margin-right:0!important}.wpc-overlay-visible #secondary{z-index:auto}html.is-active:not(.wpc-overlay-visible) .wpc-filters-overlay{top:0;opacity:.2;background:#fff}.wpc-custom-selected-terms.wpc-show-on-mobile ul.wpc-filter-chips-list{display:flex;overflow-x:auto;padding-left:0}html.is-active body:not(.wpc_show_bottom_widget) .wpc-filters-overlay{top:0;opacity:.3;background:#fff}body.wpc_show_bottom_widget .wpc-filters-widget-content.wpc-closed,body.wpc_show_bottom_widget .wpc-filters-widget-content.wpc-opened,body.wpc_show_bottom_widget .wpc-filters-widget-content:not(.wpc-opened){display:block!important}.wpc-open-close-filters-button{display:block;margin-bottom:20px}.wpc-overlay-visible body,html.wpc-overlay-visible{overflow:hidden!important}.wpc_show_bottom_widget .widget_wpc_filters_widget,.wpc_show_bottom_widget .wpc-filters-main-wrap{padding:0!important;margin:0!important}.wpc_show_bottom_widget .wpc-filters-range-column{width:48%;max-width:none}.wpc_show_bottom_widget .wpc-filters-toolbar{display:flex;margin:1em 0}.wpc_show_bottom_widget .wpc-inner-widget-chips-wrapper{display:block;padding-left:20px;padding-right:20px}.wpc_show_bottom_widget .wpc-filters-main-wrap .widget-title.wpc-filter-title{display:flex}.wpc_show_bottom_widget .wpc-inner-widget-chips-wrapper .wpc-filter-chips-list,.wpc_show_open_close_button .wpc-inner-widget-chips-wrapper .wpc-filter-chips-list{display:flex;-webkit-box-pack:start;place-content:center flex-start;overflow-x:auto;padding-top:5px;padding-bottom:5px;margin-left:0;padding-left:0}.wpc-overlay-visible .wpc_show_bottom_widget .wpc-filters-overlay{top:0;opacity:.4}.wpc_show_bottom_widget .wpc-filters-main-wrap .wpc-spinner.is-active+.wpc-filters-widget-content .wpc-filters-scroll-container .wpc-filters-widget-wrapper{opacity:.6;pointer-events:none}.wpc_show_bottom_widget .wpc-filters-open-button-container{margin-top:1em;margin-bottom:1em}.wpc_show_bottom_widget .wpc-filters-widget-content{position:fixed;bottom:0;right:0;left:0;top:5%;z-index:999999;padding:0;background-color:#fff;margin:0;box-sizing:border-box;border-radius:7px 7px 0 0;transition:transform .25s;transform:translate3d(0,120%,0);-webkit-overflow-scrolling:touch;height:auto}.wpc_show_bottom_widget .wpc-filters-widget-containers-wrapper{padding:0;margin:0;overflow-y:scroll;box-sizing:border-box;position:fixed;top:56px;left:0;right:0;bottom:0}.wpc_show_bottom_widget .wpc-filters-widget-content.wpc-filters-widget-opened{transform:translate3d(0,0,0)}.theme-twentyfourteen .wpc_show_bottom_widget .wpc-filters-widget-content,.theme-twentyfourteen.wpc_show_bottom_widget .wpc-filters-scroll-container{background-color:#000}.wpc_show_bottom_widget .wpc-filters-section:not(.wpc-filter-post_meta_num):not(.wpc-filter-tax_numeric) .wpc-filter-content ul.wpc-filters-ul-list,.wpc_show_open_close_button .wpc-filters-section:not(.wpc-filter-post_meta_num):not(.wpc-filter-tax_numeric) .wpc-filter-content ul.wpc-filters-ul-list{max-height:none}.wpc_show_bottom_widget .wpc-filters-scroll-container{background:#fff;min-height:100%}.wpc_show_bottom_widget .wpc-filters-widget-wrapper{padding:20px 20px 15px}.wpc-filter-everything-dropdown .select2-search--dropdown .select2-search__field,.wpc-sorting-form select,.wpc_show_bottom_widget .wpc-filters-main-wrap input[type=number],.wpc_show_bottom_widget .wpc-filters-main-wrap input[type=text],.wpc_show_bottom_widget .wpc-filters-main-wrap select,.wpc_show_bottom_widget .wpc-filters-main-wrap textarea,.wpc_show_bottom_widget .wpc-search-field,.wpc_show_open_close_button .wpc-search-field,.wpc_show_open_close_button .wpc-filter-search-field{font-size:16px}.wpc-filter-layout-dropdown .select2-container .select2-selection--single,.wpc-sorting-form .select2-container .select2-selection--single{height:auto;padding:6px}.wpc_show_bottom_widget .wpc-filters-section:not(.wpc-filter-post_meta_num):not(.wpc-filter-tax_numeric) .wpc-filter-content ul.wpc-filters-ul-list{overflow-y:visible}.theme-twentyeleven #primary,.theme-twentyeleven #secondary{margin-left:0;margin-right:0;clear:both;float:none}#main>.fusion-row{max-width:100%}.wpc_show_bottom_widget .wpc-filters-open-button-container,.wpc_show_bottom_widget .wpc-filters-widget-controls-container,.wpc_show_bottom_widget .wpc-filters-widget-top-container,.wpc_show_open_close_button .wpc-filters-open-button-container{display:block}}
.wpc-preload-img{display:none;}li.wpc-term-item label span.wpc-term-swatch,.wpc-term-swatch-wrapper{width:32px;min-width:32px;height:32px;}
.wpc-term-swatch-wrapper:after{width:12.8px;height:6.4px;left:9.1428571428571px;top:9.1428571428571px;}.wpc-term-image-wrapper{width:70px;min-width:70px;height:40px;}.wpc-filters-section:not(.wpc-filter-more-less):not(.wpc-filter-post_meta_num):not(.wpc-filter-tax_numeric):not(.wpc-filter-layout-dropdown):not(.wpc-filter-terms-count-0) .wpc-filter-content:not(.wpc-filter-has-hierarchy) ul.wpc-filters-ul-list{
                        max-height: 550px;
                        overflow-y: auto;
                }
.wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-range{
                        background-color: #0570e2;
                    }
                
.wpc-spinner:after {
                        border-top-color: #0570e2;
                    }
.theme-Avada .wpc-filter-product_visibility .star-rating:before,
                .wpc-filter-product_visibility .star-rating span:before{
                    color: #0570e2;
                }
body .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper{
                        background-color: #0570e2;
                }
body .wpc-filters-main-wrap input.wpc-label-input:checked+label{
                        border-color: #0570e2;
                }
body .wpc-filters-main-wrap .wpc-term-disabled input.wpc-label-input:checked+label span.wpc-filter-label-wrapper{
                        background-color: #d8d8d8;
                }
body .wpc-filters-main-wrap .wpc-term-disabled input.wpc-label-input:checked+label{
                        border-color: #d8d8d8;
                }
body .wpc-filters-main-wrap .wpc-term-disabled input.wpc-label-input+label:hover{
                        border-color: #d8d8d8;
                }
body .wpc-filters-main-wrap .wpc-term-disabled input.wpc-label-input:checked+label span.wpc-filter-label-wrapper,
                body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item.wpc-term-disabled input:checked+label a,
                body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item.wpc-term-disabled input:checked+label span
                {
                        color: #333333;
                }
body .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper,
                body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item input:checked+label a{
                        color: #f5f5f5;
                }
body .wpc-filter-chips-list li.wpc-filter-chip:not(.wpc-chip-reset-all) a,
                body .wpc-filter-chips-list li.wpc-filter-chip:not(.wpc-chip-reset-all) span[data-wpc-span-link],
                body .wpc-filter-chips-list li.wpc-filter-chip:not(.wpc-chip-reset-all) span.wpc-apply-button-chip{
                    border-color: #0570e2;
                }
body .wpc-filters-main-wrap .wpc-filters-widget-controls-container a.wpc-filters-apply-button,
                body .wpc-filters-main-wrap a.wpc-filters-submit-button{
                    border-color: #0570e2;
                    background-color: #0570e2;
                    color: #f5f5f5;
                }
body .wpc-filter-chips-list li.wpc-filter-chip a:hover,
                body .wpc-filter-chips-list li.wpc-filter-chip span[data-wpc-span-link]:hover,
                body .wpc-filter-chips-list li.wpc-filter-chip span.wpc-apply-button-chip:hover{
                    opacity: 0.9;
                }
body .wpc-filter-chips-list li.wpc-filter-chip a:active,
                body .wpc-filter-chips-list li.wpc-filter-chip span[data-wpc-span-link]:active,
                body .wpc-filter-chips-list li.wpc-filter-chip span.wpc-apply-button-chip:active{
                    opacity: 0.75;
                }
.star-rating span,
                .star-rating span:before{
                    color: #0570e2;
                }
body a.wpc-filters-open-widget:active, a.wpc-filters-open-widget:active, 
                .wpc-filters-open-widget:active{
                    border-color: #0570e2;
                    background-color: #0570e2;
                    color: #f5f5f5;
                }
a.wpc-filters-open-widget:active span.wpc-icon-line-1:after,
                a.wpc-filters-open-widget:active span.wpc-icon-line-2:after,
                a.wpc-filters-open-widget:active span.wpc-icon-line-3:after{
                    background-color: #0570e2;
                    border-color: #f5f5f5;
                }
a.wpc-filters-open-widget:active .wpc-icon-html-wrapper span{
                    background-color: #f5f5f5;
                }
body .wpc-filters-main-wrap input.wpc-label-input+label:hover span.wpc-filter-label-wrapper{
                        color: #f5f5f5;
                        background-color: #0570e2;
                    }
body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item input+label:hover a{
                        color: #f5f5f5;
                    }
body .wpc-filters-main-wrap input.wpc-label-input+label:hover{
                        border-color: #0570e2;
                    }
#ui-datepicker-div.wpc-filter-datepicker .ui-state-active, 
            #ui-datepicker-div.ui-widget-content.wpc-filter-datepicker .ui-state-active, 
            #ui-datepicker-div.wpc-filter-datepicker .ui-widget-header .ui-state-active{
                    border-color: #0570e2;
                    background: #0570e2;
                    opacity: 0.95;
            }
#ui-datepicker-div.wpc-filter-datepicker .ui-state-hover, 
            #ui-datepicker-div.ui-widget-content.wpc-filter-datepicker .ui-state-hover, 
            #ui-datepicker-div.wpc-filter-datepicker .ui-widget-header .ui-state-hover, 
            #ui-datepicker-div.wpc-filter-datepicker .ui-state-focus, 
            #ui-datepicker-div.ui-widget-content.wpc-filter-datepicker .ui-state-focus, 
            #ui-datepicker-div.wpc-filter-datepicker .ui-widget-header .ui-state-focus{
                border-color: #0570e2;
                background: #0570e2;
                opacity: 0.6;
            }#ui-datepicker-div.wpc-filter-datepicker .ui-datepicker-close.ui-state-default{
                background: #0570e2;
                color: #f5f5f5;
            }
.flrt-star-label svg{
                    stroke: #0570e2;
            }
.flrt-star-label-hover svg, .wpc-chip-stars svg{
                    fill: #0570e2;
            }
.wpc-filter-label-stars-wrapper{
                   padding: 4px 5px !important;
            }
.wpc-filter-label-stars-wrapper .flrt-star-label svg{
                    height: 17px;
                    width: 17px;
            }
body .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-stars-wrapper .flrt-star-label svg, 
            span.wpc-filter-label-stars-wrapper:hover .flrt-star-label svg{
                        fill: #f5f5f5;
                }
@media screen and (min-width: 768px) {
html.is-active .wpc-spinner{
                                display: block;
                            }}
@media screen and (min-width: 768px) {
html.is-active .wpc-filters-overlay{
                            opacity: .15;
                            background: #000000;
                        }}
/***************************************************
 * TOREBKARNIA – FINALNY POPUP FILTRÓW
 * Pełny kod CSS do podmiany
 ***************************************************/

/*
 * Style dotyczą wyłącznie popupa zawierającego
 * filtry Filter Everything.
 */

.elementor-popup-modal:has(.wpc-filters-section) {
    --tk-filter-text: #111;
    --tk-filter-muted: #6f6f6f;
    --tk-filter-line: #e7e7e4;
    --tk-filter-soft: #f6f6f3;
    --tk-filter-bg: #fff;
}


/* =====================================================
   POPUP I NAGŁÓWEK
===================================================== */

.elementor-popup-modal:has(.wpc-filters-section) .dialog-widget-content {
    padding: 20px 24px 18px !important;
    background: var(--tk-filter-bg) !important;
}

.elementor-popup-modal:has(.wpc-filters-section) .elementor-widget-heading {
    margin: 0 0 16px !important;
}

.elementor-popup-modal:has(.wpc-filters-section) .elementor-heading-title {
    margin: 0 !important;

    font-size: clamp(28px, 3vw, 36px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;

    color: var(--tk-filter-text) !important;
}


/* =====================================================
   WRAPPERY WTYCZKI
===================================================== */

/*
 * Rozciągamy wyłącznie właściwy wrapper Filter Everything.
 * Nie zmieniamy szerokości kontenerów i widgetów Elementora.
 */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-widget-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-main-wrap,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-widget-main-wrapper,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-scroll-container,
.elementor-popup-modal:has(.wpc-filters-section)
form {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box !important;
}


/* =====================================================
   SEKCJE FILTRÓW
===================================================== */

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 20px 0 18px !important;

    border: 0 !important;
    border-top: 1px solid var(--tk-filter-line) !important;

    box-sizing: border-box !important;
}

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section:first-of-type {
    padding-top: 14px !important;
    border-top: 0 !important;
}

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section:last-of-type {
    padding-bottom: 16px !important;
}


/* Nagłówki sekcji */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section .wpc-filter-title,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section .wpc-filter-label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section-header {
    display: block;

    margin: 0 0 12px !important;
    padding: 0 !important;

    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;

    color: var(--tk-filter-text) !important;
}


/* Usunięcie marginesów wewnątrz nagłówków */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section-header > *,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-title > *,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-label > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =====================================================
   LISTY OPCJI
===================================================== */

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-ul-list,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-ul-list.wpc-filters-checkboxes,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-ul-list.wpc-filters-radio {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    gap: 8px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
    box-sizing: border-box !important;
}


.elementor-popup-modal:has(.wpc-filters-section)
li.wpc-term-item {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper {
    position: relative;

    display: inline-flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =====================================================
   NATYWNE CHECKBOXY / RADIO
===================================================== */

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper input[type="checkbox"],
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper input[type="radio"] {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: 0;
    padding: 0;

    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}


/* =====================================================
   PIGUŁKI
===================================================== */

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 32px;
    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;

    /*
     * Kluczowa poprawka:
     * identyczny odstęp po lewej i prawej stronie.
     */
    padding-block: 6px !important;
    padding-inline: 12px !important;

    border: 1px solid #bdbdb8 !important;
    border-radius: 999px !important;

    background: var(--tk-filter-bg) !important;
    color: var(--tk-filter-text) !important;

    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;

    white-space: nowrap !important;

    cursor: pointer;
    box-sizing: border-box !important;

    transition:
        background-color .16s ease,
        border-color .16s ease,
        color .16s ease,
        opacity .16s ease;
}


/*
 * Wtyczka potrafi dodawać link, span albo dodatkowy wrapper
 * wewnątrz etykiety. Zerujemy ich odstępy, żeby tekst był
 * optycznie wycentrowany.
 */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper label > a,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper label > span:not(.wpc-term-count),
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper label .wpc-term-name {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}


/* Link w pigułce */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper label a {
    color: var(--tk-filter-text) !important;
    text-decoration: none !important;
}


/* Hover */
@media (hover: hover) {
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-term-item-content-wrapper label:hover {
        border-color: var(--tk-filter-text) !important;
        background: var(--tk-filter-soft) !important;
    }
}


/* Focus klawiatury */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper
input[type="checkbox"]:focus-visible + label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper
input[type="radio"]:focus-visible + label {
    outline: 2px solid var(--tk-filter-text) !important;
    outline-offset: 2px;
}


/* Zaznaczona pigułka */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper
input[type="checkbox"]:checked + label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper
input[type="radio"]:checked + label {
    border-color: var(--tk-filter-text) !important;
    background: var(--tk-filter-text) !important;
    color: #fff !important;
}


.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper
input[type="checkbox"]:checked + label a,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper
input[type="radio"]:checked + label a {
    color: #fff !important;
}


/* Opcje niedostępne */
.elementor-popup-modal:has(.wpc-filters-section)
li.wpc-term-disabled,
.elementor-popup-modal:has(.wpc-filters-section)
li.wpc-term-item.disabled {
    opacity: .38;
    pointer-events: none;
}


/* Liczniki ukryte */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-term-item-content-wrapper .wpc-term-count {
    display: none !important;

    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* =====================================================
   KOLOROWE KROPKI
===================================================== */

/*
 * Równy padding po obu stronach pigułki koloru.
 * Wcześniej zmieniany był tylko lewy padding.
 */
.elementor-popup-modal:has(.wpc-filters-section)
.tk-color-filter-section
.wpc-term-item-content-wrapper label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[class*="kolor"]
.wpc-term-item-content-wrapper label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[class*="color"]
.wpc-term-item-content-wrapper label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[id*="kolor"]
.wpc-term-item-content-wrapper label,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[id*="color"]
.wpc-term-item-content-wrapper label {
    gap: 7px !important;

    padding-block: 6px !important;
    padding-inline: 10px !important;
}


/* Kropka koloru */
.elementor-popup-modal:has(.wpc-filters-section)
.tk-color-filter-section
.wpc-term-item-content-wrapper label::before,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[class*="kolor"]
.wpc-term-item-content-wrapper label::before,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[class*="color"]
.wpc-term-item-content-wrapper label::before,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[id*="kolor"]
.wpc-term-item-content-wrapper label::before,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section[id*="color"]
.wpc-term-item-content-wrapper label::before {
    content: "" !important;

    display: inline-block !important;

    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    flex: 0 0 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid
        var(--tk-filter-border, rgba(0, 0, 0, .28)) !important;
    border-radius: 50% !important;

    background:
        var(--tk-filter-color, #d8d0c3) !important;

    box-sizing: border-box !important;
}


/* Jasne próbki */
.elementor-popup-modal:has(.wpc-filters-section)
.tk-color-filter-section
label.tk-light-swatch::before {
    border-color: rgba(0, 0, 0, .42) !important;
}


/* Kropka zaznaczonej opcji */
.elementor-popup-modal:has(.wpc-filters-section)
.tk-color-filter-section
.wpc-term-item-content-wrapper
input[type="checkbox"]:checked + label::before,
.elementor-popup-modal:has(.wpc-filters-section)
.tk-color-filter-section
.wpc-term-item-content-wrapper
input[type="radio"]:checked + label::before {
    border-color: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) !important;
}


/* =====================================================
   SELECT / LISTA ROZWIJANA
===================================================== */

.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section select,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-select {
    display: block;

    width: 100% !important;
    min-height: 42px;

    margin: 0 !important;
    padding: 8px 38px 8px 12px !important;

    border: 1px solid #c7c7c2 !important;
    border-radius: 0 !important;

    background-color: var(--tk-filter-bg) !important;
    color: var(--tk-filter-text) !important;

    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;

    box-shadow: none !important;
    outline: none !important;

    box-sizing: border-box !important;
}


.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-section select:focus,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-select:focus {
    border-color: var(--tk-filter-text) !important;
}


/* =====================================================
   PANEL PRZYCISKÓW – STABILNE 50/50
===================================================== */

/*
 * Resetujemy pozycjonowanie narzucone przez wtyczkę.
 * Panel pozostaje na końcu filtrów i nie wychodzi poza popup.
 */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-layout-submit-button {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    inset: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    gap: 0 !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    flex: 0 0 100% !important;
    align-self: stretch !important;

    margin: 0 !important;
    padding: 16px 0 2px !important;

    border: 0 !important;
    border-top: 1px solid var(--tk-filter-line) !important;
    border-radius: 0 !important;

    background: var(--tk-filter-bg) !important;
    box-shadow: none !important;

    box-sizing: border-box !important;
}


/* Oba przyciski zajmują dokładnie po 50% */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-layout-submit-button
.wpc-filters-reset-button,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-layout-submit-button
.wpc-filters-submit-button {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 50% !important;

    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;

    min-height: 46px;

    margin: 0 !important;
    padding: 10px 12px !important;

    border-radius: 0 !important;
    box-shadow: none !important;

    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: .035em !important;

    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: visible !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer;
    box-sizing: border-box !important;

    transition:
        background-color .16s ease,
        color .16s ease,
        border-color .16s ease,
        opacity .16s ease;
}


/* Wyczyść */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-layout-submit-button
.wpc-filters-reset-button {
    border: 1px solid var(--tk-filter-text) !important;

    background: var(--tk-filter-bg) !important;
    color: var(--tk-filter-text) !important;
}


/* Zastosuj */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filter-layout-submit-button
.wpc-filters-submit-button {
    border: 1px solid var(--tk-filter-text) !important;
    border-left-width: 0 !important;

    background: var(--tk-filter-text) !important;
    color: #fff !important;
}


@media (hover: hover) {
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filter-layout-submit-button
    .wpc-filters-reset-button:hover {
        background: var(--tk-filter-soft) !important;
    }

    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filter-layout-submit-button
    .wpc-filters-submit-button:hover {
        border-color: #2a2a2a !important;
        background: #2a2a2a !important;
    }
}


/* =====================================================
   DODATKI
===================================================== */

/* Ukrycie linku administracyjnego */
.elementor-popup-modal:has(.wpc-filters-section)
a[href*="edit-filters"],
.elementor-popup-modal:has(.wpc-filters-section)
a[href*="wpc-edit"],
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-edit-link {
    display: none !important;
}


/* Usunięcie końcowych marginesów */
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-widget-wrapper > :last-child,
.elementor-popup-modal:has(.wpc-filters-section)
.wpc-filters-main-wrap > :last-child {
    margin-bottom: 0 !important;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    /*
     * Padding boczny zmniejszony z 16 px do 8 px.
     */
    .elementor-popup-modal:has(.wpc-filters-section)
    .dialog-widget-content {
        padding: 16px 8px 12px !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .elementor-widget-heading {
        margin-bottom: 12px !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .elementor-heading-title {
        font-size: 30px !important;
        line-height: 1.08 !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section {
        padding: 17px 0 15px !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section:first-of-type {
        padding-top: 10px !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section .wpc-filter-title,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section .wpc-filter-label,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section-header {
        margin-bottom: 10px !important;

        font-size: 12px !important;
        letter-spacing: .085em !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-ul-list,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-ul-list.wpc-filters-checkboxes,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-ul-list.wpc-filters-radio {
        gap: 7px !important;
    }


    /* Równe pigułki na mobile */
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-term-item-content-wrapper label {
        min-height: 30px;

        padding-block: 5px !important;
        padding-inline: 10px !important;

        font-size: 12px !important;
    }


    /* Równe pigułki kolorów na mobile */
    .elementor-popup-modal:has(.wpc-filters-section)
    .tk-color-filter-section
    .wpc-term-item-content-wrapper label,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[class*="kolor"]
    .wpc-term-item-content-wrapper label,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[class*="color"]
    .wpc-term-item-content-wrapper label,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[id*="kolor"]
    .wpc-term-item-content-wrapper label,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[id*="color"]
    .wpc-term-item-content-wrapper label {
        gap: 6px !important;

        padding-block: 5px !important;
        padding-inline: 9px !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .tk-color-filter-section
    .wpc-term-item-content-wrapper label::before,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[class*="kolor"]
    .wpc-term-item-content-wrapper label::before,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[class*="color"]
    .wpc-term-item-content-wrapper label::before,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[id*="kolor"]
    .wpc-term-item-content-wrapper label::before,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filters-section[id*="color"]
    .wpc-term-item-content-wrapper label::before {
        width: 11px !important;
        height: 11px !important;
        min-width: 11px !important;
        flex-basis: 11px !important;
    }

    /* Przyciski 50/50 na mobile, bez zmiany pozycjonowania */
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filter-layout-submit-button {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 13px 0 0 !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filter-layout-submit-button
    .wpc-filters-reset-button,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filter-layout-submit-button
    .wpc-filters-submit-button {
        flex: 0 0 50% !important;

        width: 50% !important;
        max-width: 50% !important;
        min-width: 0 !important;

        min-height: 44px !important;

        padding: 9px 5px !important;

        font-size: 10.5px !important;
        line-height: 1.15 !important;
        letter-spacing: .02em !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        overflow: visible !important;
    }
}


/* =====================================================
   BARDZO WĄSKIE EKRANY
===================================================== */

@media (max-width: 360px) {

    .elementor-popup-modal:has(.wpc-filters-section)
    .dialog-widget-content {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }


    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filter-layout-submit-button
    .wpc-filters-reset-button,
    .elementor-popup-modal:has(.wpc-filters-section)
    .wpc-filter-layout-submit-button
    .wpc-filters-submit-button {
        padding-left: 3px !important;
        padding-right: 3px !important;

        font-size: 10px !important;
    }
}
