/*SIDEBAR WOO START*/
/* Container styling */

.sidebar_woo_category .widget-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    color: #111;
}

/* Base List & Links */
.sidebar_woo_category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar_woo_category li {
    position: relative;
    list-style: none;
    margin-bottom: 4px;
}

.sidebar_woo_category li.cat-item a {
    text-decoration: none !important;
    text-transform: unset !important;
    color: #333; /* Darker grey for parent */
    font-weight: 500;
    font-size: 15px;
    display: block;
    padding: 8px 12px 8px 24px; /* Space for the left icon */
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar_woo_category li.cat-item a:hover {
    color: var(--kc-dark) !important; /* Brand Green */
    background-color: #f5f7f9; /* Soft hover effect */
}

/* Subcategories */
.sidebar_woo_category ul.product-categories > li ul.children {
    padding-left: 0;
    margin-top: 2px;
    margin-bottom: 8px;
}

.sidebar_woo_category .children li.cat-item a {
    font-size: 14px !important;
    font-weight: 400; /* Lighter font weight for children */
    color: #666; /* Lighter text color */
    padding-left: 24px; /* Align perfectly under parent text */
}

.sidebar_woo_category .children li.cat-item a:hover {
    background-color: #f5f5f5;
    color: #111 !important;
}

/* Highlight Active WooCommerce Category */
.sidebar_woo_category li.current-cat > a {
    color: #fff !important;
    background-color:  var(--kc-dark);
    font-weight: 600;
}

/* Icons (Updated to Neutral Grey) */
.cat-parent:before {
    content: "";
    transition: transform linear 0.2s;
    position: absolute;
    top: 13px; /* Vertically centered with the text */
    left: 8px;
    cursor: pointer;
    width: 12px;
    height: 12px;
    z-index: 1; /* Keep above the link background */
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75577 0.895731C8.12381 0.463423 8.70421 0.63415 8.83578 1.20973C8.90388 1.50675 8.82224 1.75735 8.63991 1.9725C8.03201 2.69035 7.42707 3.4117 6.82044 4.13105C6.35172 4.68715 5.883 5.24326 5.41216 5.79787C5.11477 6.14831 4.74462 6.14981 4.44765 5.79837C3.37103 4.52441 2.29652 3.24746 1.22033 1.973C1.02404 1.74088 0.946623 1.47131 1.03842 1.15731C1.12557 0.859289 1.31424 0.691058 1.57821 0.655615C1.79777 0.626162 1.97459 0.736486 2.12773 0.919193C2.79951 1.72041 3.47383 2.51813 4.14772 3.31635C4.18706 3.36278 4.84445 4.08911 4.92695 4.18097C4.92821 4.18246 4.93202 4.17847 4.93033 4.17947C4.92695 4.18097 7.06792 1.70394 7.75577 0.895731Z' fill='%23888888' stroke='%23888888' stroke-width='0.5'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px;
}

.cat-parent.collapsed:before {
    width: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='7' height='10' viewBox='0 0 7 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.46946 2.19467C1.03715 1.82663 1.20788 1.24623 1.78346 1.11466C2.08048 1.04656 2.33108 1.1282 2.54624 1.31053C3.26408 1.91843 3.98543 2.52337 4.70478 3.13C5.26088 3.59872 5.81699 4.06744 6.3716 4.53827C6.72204 4.83567 6.72354 5.20582 6.3721 5.50279C5.09815 6.57941 3.82119 7.65392 2.54673 8.73011C2.31461 8.9264 2.04504 9.00382 1.73104 8.91202C1.43302 8.82487 1.26479 8.6362 1.22935 8.37223C1.19989 8.15267 1.31022 7.97584 1.49292 7.82271C2.29414 7.15093 3.09186 6.47661 3.89008 5.80272C3.93651 5.76338 4.66284 5.10599 4.7547 5.02349C4.75619 5.02223 4.7522 5.01842 4.7532 5.02011C4.7547 5.02349 2.27767 2.88252 1.46946 2.19467Z' fill='%23888888' stroke='%23888888' stroke-width='0.5'/%3E%3C/svg%3E%0A");
    background-size: 8px;
}

/* Scrollbar tweaks (Modern, thin scrollbar) */
/* Force the container to always scroll */
.sidebar_woo_category ul.product-categories {
    max-height: 360px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-right: 10px;
}

/* Force WebKit scrollbars to permanently display */
.sidebar_woo_category ul.product-categories::-webkit-scrollbar {
    width: 4px;

}

.sidebar_woo_category ul.product-categories::-webkit-scrollbar-track {
    background: #f1f1f1;

}

.sidebar_woo_category ul.product-categories::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--primary-color);
    border-radius: 5px;
}

.sidebar_woo_category ul.product-categories::-webkit-scrollbar-thumb:hover {
    background: #555;
}






/* Keep plugin interactions intact */
li.scb > a {
    pointer-events: none;
}


/*SIDEBAR WOO END*/




/*WOOCOMMERCE-ORDERING START*/

.woocommerce-result-count {
    font-weight: bold;
}

button.bapf_button.bapf_update,
button.bapf_button.bapf_reset {
    width: 100%;
}

button.bapf_button.bapf_update {
    background: var(--wp--preset--color--primary-color) !important;
    color: #fff;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex !important;
    border: 0;
}

.custom-result-count,
.woocommerce-ordering {
    margin: 0 !important;
}

.woocommerce-ordering option {
    background: #fff;
    border-color: #41c9ff;
    border-radius: 2px;
    line-height: 18px;
    outline: none;
    -webkit-box-shadow: 0 0 3px 1px #c00;
    -moz-box-shadow: 0 0 3px 1px #c00;
    box-shadow: 0 0 3px 1px #c00;
}


/*WOOCOMMERCE-ORDERING END*/


/*PRICE FILTER START*/


.irs--flat .irs-bar {
    background-color: var(--kc-dark) !important;
}

.irs--flat .irs-from,.irs--flat .irs-to,.irs--flat .irs-single {
      background-color: var(--kc-dark) !important;

}


.irs--flat .irs-from:before,.irs--flat .irs-to:before,.irs--flat .irs-single:before {
    border-top-color: var(--kc-dark) !important;
}

.irs--flat .irs-handle>i:first-child {
          background-color: var(--kc-dark) !important;
}



/*FILTER*/


.bapf_body {
    padding-bottom: 15px;
}

.bapf_body[style="display:none;"],
.bapf_body[style="display: none;"] {
    padding-bottom: 0 !important;
}

#category_filter_close,
#category_filter {
    display: none;
}

.sidebar_woo_category .berocket_single_filter_widget .bapf_hascolarr {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 0px;
}

.sidebar_woo_category .berocket_single_filter_widget .bapf_hascolarrl p {
    text-transform: lowercase;
}

.sidebar_woo_category .berocket_single_filter_widget .bapf_hascolarrl p::first-letter {
    text-transform: uppercase;
}

.bapf_sfilter {
    margin-bottom: 0 !important;
}


.sidebar_woo_category .berocket_single_filter_widget i.bapf_colaps_smb:before {
    content: "" !important;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 15px;
    width: 15px;
    height: 15px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a807c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    transition: transform .2s;
}


.fa-chevron-up:before {
    transform: rotate(-270deg);
}


/*PRICE FILTER END*/


/* filters */

.sale_filter_ctm  input ~ label:before {
    content: "Znižano";
    display: inline-flex;
    width: 100%;
  color: #4b524d;
    font-size: 13.5px;
}
.sale_filter_ctm input ~ label {
    font-size: 0 !important;
}

.sidebar_woo_category_filter .bapf_sfilter.bapf_ckbox ul li {
    display: flex;
    align-items: center;
    padding-right: 5px !important;
}
.sidebar_woo_category_filter .bapf_sfilter.bapf_ckbox span.roundpcs.pcs {
    margin-left: auto;
        color: #a7aca9;
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    font-size: 12px;
}

.bapf_ckbox_search input {
    background: #f4f4f2;
    border: 1px solid #e7e7e3;
    color: #7a807c;
    border-radius: 8px;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    padding: 7px 10px;
    display: flex;
        color: #121613;
    font-size: 13px;
    }

.bapf_ckbox_search:after {
    width: 13px;
    height: 13px;
    content: "" !important;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -7px;
    color: #777;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a807c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' style='width: 13px; height: 13px;'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cpath d='M20 20l-3.5-3.5'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: cover;
}

.select-button_wrap {
    background: #f4f4f2;
    border: 1px solid #e7e7e3;
    cursor: pointer;
    border-radius: 10px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
    transition: all .15s;
}

.select-button_wrap::before {
    content: "Uredi po:";
    color: #7a807c;
}

@media (max-width:991px) {
    .bapf_loader_page {
        z-index: 9999999999;
    }

    .sb_filter_info {
        border-bottom: 1px solid rgba(148, 148, 148, 0.2);

        padding-bottom: 22px;
        font-size: 20px;
        align-items: center;
    }

    .sidebar_woo_category_filter {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        z-index: 9999999999 !important;
        background-color: #eee;
        padding: 20px 15px 0 15px;
        height: 100%;
        /* height: 85vh; */
        transition: transform .3s ease 0s;
        transform: translateX(100%);
        overflow-y: scroll;
        overflow-x: hidden;
    }

  

    #category_filter {
        /* Rectangle 3398 */
        border-radius: 12px;
        background: var(--kc-dark);
        color: #fff;
        border-radius: 10px;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 600;
        display: inline-flex;
        justify-content: center;
    }



    #category_filter::before {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'%3E%3C/path%3E%3C/svg%3E");
        background-repeat: no-repeat no-repeat;
        background-position: center center;
        background-size: 16px;
        width: 16px;
        height: 16px;
    }



    #category_filter_close {
        display: block;
      
    }

    body.sb_active {
        overflow: hidden;
    }

    .bapf_button_berocket .bapf_body,
    .bapf_button_berocket .bapf_body {
        padding: 0 !important;
    }

    .bapf_button_berocket button.bapf_button.bapf_update,
    .bapf_button_berocket button.bapf_button.bapf_reset {
        width: 100%;
    }
}


/* .sidebar_woo_category .bapf_body.force_block {
    display: block !important;
} */



@media (min-width:992px) {
  
    .widget_product_categories {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); /* Softer, modern shadow */
        background-color: #fff;
        padding: 24px 15px 24px 24px;
        border-radius: 12px;
        margin-bottom: 24px;
    }
    
    .sb_filter_info {
        display: none !important;
    }

 
}


/* new css */




.active_filters_wrapper {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap:10px;
}

.active_filters_wrapper .berocket_aapf_widget_selected_filter {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.active_filters_wrapper .bapf_sfa_taxonomy,
.active_filters_wrapper .bapf_sfa_unall {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    border: 1px solid #e7e7e3;
}

.active_filters_wrapper .berocket_aapf_widget_selected_area {
    font-size: 13px;
}

li.scb>a {
    pointer-events: none;
}

.active_filters_wrapper .bapf_sfa_taxonomy>span:after {
    content: ":";
}

.active_filters_wrapper .bapf_sfilter.bapf_sfa_inline ul:not(.bapf_sfa_unall) {
    padding-left: 0;
    padding-bottom: 0 !important;
}

.active_filters_wrapper .bapf_sfa_inline .berocket_aapf_widget_selected_area ul li a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    text-decoration: none;
    gap: 5px;
}

.active_filters_wrapper .bapf_sfa_inline .berocket_aapf_widget_selected_area ul {
    margin: 0;
    padding-bottom: 5px !important;
}

.active_filters_wrapper .bapf_sfa_taxonomy span {
    font-weight: 700;
}

.active_filters_wrapper .bapf_sfilter.bapf_sfa_inline .bapf_body {
    padding-bottom: 0;
    padding-left: 22px;
    padding-right: 20px;
}

.active_filters_wrapper .berocket_aapf_widget_selected_filter .fa-times {
    margin-top: 2px;
}

.active_filters_wrapper .berocket_aapf_widget_selected_filter .fa-times:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='7.39355' width='9.04183' height='0.530005' transform='rotate(-45 1 7.39355)' fill='%23363939' stroke='%23363939' stroke-width='0.5'/%3E%3Crect x='1.37608' y='1.00146' width='9.04183' height='0.530005' transform='rotate(45 1.37608 1.00146)' fill='%23363939' stroke='%23363939' stroke-width='0.5'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 9px;
    width: 9px;
    height: 9px;
    display: inline-block;
}

.active_filters_wrapper .afc_l {
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.active_filters_wrapper .berocket_single_filter_widget {
    border-left: 1px solid #B9B9B9;
}

.active_filters_wrapper .afc_title {
    font-weight: 700;
    font-size: 14px;
    color: #3E3F46;
}

.active_filters_wrapper .afc_l .custom-result-count {
    white-space: pre;
    font-weight: 500;
    font-size: 14px;
    color: #B9B9B9;
}


button#select-button {
    background: transparent;
    border: 0;
    text-align: right;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    color: #3E3F46;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

ul.products:before,
ul.products:after {
    display: none !important;
}

#main#main ul.products {
    display: flex;
    flex-wrap: wrap;
}

#main#main ul.products li.product.type-product {
    margin: 0 !important;
    width: calc(50% - 10px) !important;
    margin-top: 0 !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    margin-bottom: 22px !important;
}

@media(min-width:992px) {
    #main#main ul.products li.product.type-product {
        width: calc(33% - 10px) !important;
    }
    .select-button_wrap {
        position: relative;
        margin-left: auto !important;
      
        min-width: 300px;
        align-self: flex-start;
    }
    
}


@media(max-width:1200px) {
    .active_filters_wrapper {
        flex-wrap: wrap;
    }

    .active_filters_wrapper .afc_l {
        max-width: 20%;
    }

    .active_filters_wrapper .berocket_single_filter_widget {
        max-width: 80%;
    }
}

.select-button_wrap label {
    display: none;
}

.select-button_wrap select {
    opacity: 0;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media(max-width:991px) {
    .active_filters_wrapper {
        margin-top: 9px;
    }

    .active_filters_wrapper .afc_l,
    .active_filters_wrapper .afc_l .custom-result-count {
        display: none !important;
    }

    .active_filters_wrapper .afc_l {
        max-width: 100%;
        width: 100%;
        order: 1;
        text-align: center;
        margin-bottom: 16px;
        padding-right: 0;
    }

    .active_filters_wrapper .afc_title.mobile_title {
        order: 4;
        width: 100%;
        margin-top: 14px;
    }

    .active_filters_wrapper .berocket_single_filter_widget {
        order: 5;
        border-left: 0 !important;
        /* margin-top: 10px; */
        max-width: 100%;
    }

    .active_filters_wrapper .bapf_sfilter.bapf_sfa_inline .bapf_body {
        padding-left: 0;
        padding-right: 0;
    }

    .select-button_wrap {
        display: none !important;
    }
    .select-button_wrap.btn_wrap_visible {
        display: inline-flex !important;
        order: -1;
    }
    div#category_filter {
        order: 2;
        width: 100%;
    }


.sidebar_woo_category ul.product-categories {
    max-height: 0;
    transition: .3s;
}
.sidebar_woo_category ul.product-categories.toggled {
    max-height: 360px;
}
 

    #select-button {
        color: #3559AB;
        text-transform: uppercase;
        display: inline-block;
        cursor: pointer;
        background-color: transparent;
        border: none;
        margin: 0;
        padding: 0;
        text-align: inherit;
        border-radius: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

@media (min-width:992px) {
    .afc_title.mobile_title,
    .custom-mobile-sort-wrapper {
        display: none !important;
    }

    button#select-button {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    button#select-button:after {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg width='7' height='5' viewBox='0 0 7 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.01688 0.226277C6.34467 -0.173235 6.86159 -0.01546 6.97876 0.516453C7.03942 0.790944 6.96671 1.02253 6.80432 1.22136C6.26291 1.88476 5.72413 2.55138 5.18385 3.21615C4.7664 3.73008 4.34894 4.244 3.9296 4.75653C3.66473 5.08039 3.33506 5.08177 3.07057 4.75699C2.11171 3.57968 1.15472 2.3996 0.196229 1.22183C0.0214095 1.00731 -0.0475388 0.75819 0.0342197 0.468013C0.111833 0.192599 0.279871 0.0371314 0.514973 0.004377C0.710514 -0.0228414 0.868002 0.0791124 1.00439 0.247959C1.60269 0.988393 2.20326 1.7256 2.80345 2.46326C2.83849 2.50617 3.42398 3.1774 3.49745 3.26229C3.49858 3.26367 3.50197 3.25998 3.50046 3.2609C3.49745 3.26229 5.40426 0.972247 6.01688 0.225354L6.01688 0.226277Z' fill='black'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat no-repeat;
        background-position: center center;
        background-size: 7px;
        display: inline-block;
        width: 7px;
        height: 5px;
        transform: scale(1.4);
    }
}




@media (max-width:992px) {
  

    button.bapf_button.bapf_reset {
        border: 1.5px solid #d8d8d3;
        color: #4b524d;
        background: #fff;
        border-radius: 12px;
        padding: 10px;
        font-size: 14px;
        font-weight: 600;
    }

    .filter_btn_wrapper .bapf_body {
        padding: 0;
    }

    .bapf_sfilter.bapf_button_berocket .bapf_button.bapf_update {
        font-size: 15px !important;
    }

    .filter_btn_wrapper .bapf_sfilter {
        border-bottom: 0 !important;
    }

    .filter_btn_wrapper {
        z-index: 9999999;
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 15px;
        margin-left: -30px;
        margin-right: -15px;
        width: calc(100% + 30px);
        border-top: 1px solid #e7e7e3;
        gap: 10px;
    }

    .filter_btn_wrapper.fb_active:before {
        content: '';
        position: absolute;
        top: -50px;
        width: 100%;
        z-index: 10;
        box-sizing: border-box;
        height: 50px;
        background-image: linear-gradient(transparent, #fff)
    }

    .filter_btn_wrapper>div {
        width: 100%;
        flex-grow: 1;
        margin-bottom: 0 !important;
    }

    .filter_btn_wrapper>div .bapf_sfilter {
        margin-bottom: 0 !important;
    }

    .berocket_single_filter_widget:has(.update_filter_custom) {
        padding: 0;
    }

    

    .berocket_single_filter_widget:has(.update_filter_custom) button {
        font-size: 14px !important;
        font-weight: 700;
    }

    .berocket_single_filter_widget:has(.update_filter_custom) .bapf_body {
        padding-bottom: 0 !important;
    }

    .berocket_single_filter_widget:has(.remove_all_fts) button {
        font-size: 12px !important;
    }

    .berocket_single_filter_widget:has(.remove_all_fts) .bapf_body {
        padding-bottom: 0 !important;
    }

    .filter_btn_wrapper {
        padding: 12px 10px !important;
    }
}


/* Target STRICTLY Firefox */
@-moz-document url-prefix() {

    .sidebar_woo_category .bapf_body ul,
    ul.product-categories {
        scrollbar-width: thin;
        scrollbar-color: var(--wp--preset--color--primary-color) #ffffff;
    }
}




.bapf_ochild {
    display: none !important;
}



.sidebar_woo_category .berocket_single_filter_widget .bapf_head.bapf_colaps_togl {
    padding-bottom: 12px;
}

.sidebar_woo_category .bapf_body ul {
    max-height: 285px;
    overflow-y: auto;
    scroll-behavior: smooth;
}


.sidebar_woo_category .bapf_body ul::-webkit-scrollbar {
    width: 4px;
}

.sidebar_woo_category .bapf_body ul::-webkit-scrollbar-track {
    background: #f1f1f1;

}

.sidebar_woo_category .bapf_body ul::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--primary-color);
    border-radius: 5px;
}

.sidebar_woo_category .bapf_body ul::-webkit-scrollbar-thumb:hover {
    background: #555;
}

    .sidebar_woo_category .berocket_single_filter_widget:not(:has(.update_filter_custom, .remove_all_fts, .bapf_filter_hide)){        /* padding: 16px 10px 0 23px; */
        padding: 16px 0 0 0;
        margin-bottom: 8px;
        border-bottom: 1px solid #e7e7e3;
    }

@media (max-width: 991px) {
    .sidebar_woo_category .berocket_single_filter_widget:not(:has(.update_filter_custom, .remove_all_fts, .bapf_filter_hide)){   
        /* padding: 16px 10px 0 23px; */
        padding: 16px 0 0 0;

        margin-bottom: 8px;
    }

    .bapf_sfa_inline .berocket_aapf_widget_selected_area ul li {
        margin-left: 0px !important;
        margin-right: 0px !important;
        margin-bottom: 0px !important;
    }
    .sidebar_woo_category  .widget_product_categories .widget-title {
        font-size: 14px;
        font-weight: 600;
        margin: 0;
        padding: 0px;
        padding: 16px 0 12px 0;
    
    }
    .sidebar_woo_category  .widget_product_categories {
            margin-top: 10px;
    
            margin-bottom: 8px;
            border-bottom: 1px solid #e7e7e3;
    }
    .sidebar_woo_category  .widget_product_categories .widget-title:after {
        content: "" !important;
        background-repeat: no-repeat no-repeat;
        background-position: center center;
        background-size: 15px;
        width: 15px;
        height: 15px;
        display: inline-block;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a807c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
        transition: transform .2s;
        position:absolute;
        right:15px;
        
    }

    .sidebar_woo_category  .widget_product_categories:has(.toggled) .widget-title:after {
        transform: rotate(-270deg);
    }
    .cat-parent:before {
        top: 12px;
    }
    .sidebar_woo_category li.cat-item a {
        font-size: 13px;
    }
}



.bapf_sfilter.bapf_ckbox label {
    padding-block: 9px;
    display: inline-flex !important;
    color: #4b524d;
    font-size: 13.5px;
    transition: color .15s;
}

.bapf_sfilter.bapf_ckbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    background: transparent !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
    border: 1.5px solid #e7e7e3;
    transition: all .15s;
}

.bapf_sfilter.bapf_ckbox input[type="checkbox"]:checked {
    background-color: var(--kc-dark) !important;
    border-color: var(--kc-dark) !important;
}


.bapf_sfilter.bapf_ckbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: inline-block;
    vertical-align: middle;
    outline: 0;
    padding: 4px;
    position: relative;
}

.bapf_sfilter.bapf_ckbox input[type="checkbox"]:checked::after {
    content: "";
    width: 5px;
    height: 8px;
    display: block;
    position: absolute;
    transform: rotate(45deg);
    border-bottom: 2px solid #ffffff !important;
    border-right: 2px solid #ffffff !important;
    top: 3px !important;
    left: 5px !important;
}
.berocket_single_filter_widget:has(.program_filer_cst:not(.bapf_filter_hide)) {
    background: var(--kc-dark);
    border-radius: 8px;
    padding: 14px 16px  !important;
}
.berocket_single_filter_widget:has(.program_filer_cst:not(.bapf_filter_hide)) .bapf_head  {
        font-family: var(--kc-ff);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
}

.berocket_single_filter_widget:has(.program_filer_cst:not(.bapf_filter_hide)) label{
    color: #fff;
    font-size: 13px;
}

.berocket_single_filter_widget:has(.program_filer_cst:not(.bapf_filter_hide)) .bapf_sfilter.bapf_ckbox input[type="checkbox"]:checked {
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    background: var(--kc-yellow) !important;
}

.berocket_single_filter_widget:has(.program_filer_cst:not(.bapf_filter_hide)) .bapf_sfilter.bapf_ckbox input[type="checkbox"]:checked::after {
    border-bottom: 2px solid var(--kc-dark)  !important;
    border-right: 2px solid var(--kc-dark)  !important;;
}
.berocket_single_filter_widget:has(.program_filer_cst:not(.bapf_filter_hide)) .bapf_sfilter.bapf_ckbox label {
    padding-block: 5px;
}
/* 
body .sidebar_woo_category .berocket_single_filter_widget .bapf_ckbox .bapf_body ul li {
    margin-bottom: 8px !important;
} */

.bapf_head p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 0px;
}

.irs--round .irs-bar {
    top: 36px;
    height: 3px;
    background-color: var(--kc-dark);
}

.irs--round .irs-handle {
    top: 28px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--kc-dark);
    background-color: #fff;
    border-radius: 20px;
    box-shadow: unset !important;
}

.irs-single,
.irs--round .irs-to,
.irs-single,
.irs--round .irs-from {
    font-size: 14px;
    line-height: 1;
    text-shadow: none;
    padding: 3px 5px;
    background-color: unset !important;
    color: #242424;
    border-radius: 4px;
    font-weight: 400;
}

.irs--round .irs-from::before,
.irs--round .irs-single::before,
.irs--round .irs-to::before {
    content: unset !important;
}

.irs--round .irs-max,
.irs--round .irs-min {
    display: none !important;
}

.bapf_slidr_ready .bapf_body {
    margin-top: 5px;
}

.toggle-button {
    text-decoration-line: underline;
    color: #949494;
    cursor: pointer;
    display: block !important;
}



.custom-sorting-wrapper {
    font-size: 12px;
    font-weight: 400;
}

.additional-description {
    margin-top: 60px;
    font-size: 14px;
    font-weight: 400;
}


/* new css */


.bapf_show_hide {
    color: var(--kc-dark);
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    transition: color .15s;
    display: flex;
}

.bapf_show_hide::after {
    content: "";
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 12px;
    width: 12px;
    height: 12px;
    transition: .3s;
}

.bapf_sfilter .bapf_show_hide::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' style='width: 12px; height: 12px;'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");

}

.bapf_sfilter:not(.bapf_fhide) .bapf_show_hide::after {
    transform: rotate(-180deg);
}


.remove_all_fts .bapf_button {
    transition: all .15s;
}

.remove_all_fts .bapf_button:hover {
    border-color: #121613;
    color: #121613;
}


@media (min-width:993px) {
    button.bapf_button.bapf_reset {
        border: 1px solid #e7e7e3;
        width: 100%;
        color: #4b524d;
        background: #fff;
        border-radius: 10px;
        margin-top: 12px;
        padding: 10px;
        font-size: 13px;
        font-weight: 600;
        transition: all .15s;
    }
}



.filter-group .sidebar-sort {
    flex-direction: column;
    gap: 2px;
    display: flex;
}

.filter-group .sidebar-sort__opt {
    text-align: left;
    width: 100%;
    color: #121613;
    border-radius: 8px;
    justify-content: space-between;
    align-items: center;
    padding: 9px 10px;
    font-size: 13.5px;
    font-weight: 500;
    transition: background .12s;
    display: flex;
}

.filter-group {
    border-bottom: 1px solid #e7e7e3;
    padding: 16px 0;
}

.filter-group .sidebar-sort__opt.is-on {
    background: var(--kc-dark);
    color: #fff;
    font-weight: 600;
}

.filter-group .filter-group__head {
    width: 100%;
    color: #121613;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    display: flex;
}

.filter-group  .filter-group__head svg {
    width: 16px;
    height: 16px;
    color: #7a807c;
    transition: transform .2s;
}


/* ==========================================================================
   Sve što postoji u archive.css a NEMA u archive_new.css
   ========================================================================== */

   main#container {
    background: #f8f8f8;
}


/* PRICE FILTER (zelena var(--kc-dark)) */

.irs--flat .irs-bar {
    background-color: var(--kc-dark) !important;
}

.irs--flat .irs-from,.irs--flat .irs-to,.irs--flat .irs-single {
      background-color: var(--kc-dark) !important;

}


.irs--flat .irs-from:before,.irs--flat .irs-to:before,.irs--flat .irs-single:before {
    border-top-color: var(--kc-dark) !important;
}

.irs--flat .irs-handle>i:first-child {
          background-color: var(--kc-dark) !important;
}



/* FILTER – zvezdice (rating) */


#category_filter {
    display: none;
}

.sidebar_woo_category .berocket_single_filter_widget .bapf_hascolarr {
    font-size: 14px;
}

/* siva strelica (chevron) koja se rotira */
.sidebar_woo_category .berocket_single_filter_widget i.bapf_colaps_smb:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a807c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    transition: transform .2s;
}

.fa-chevron-up:before {
    transform: rotate(-270deg);
}


/* ARCHIVE CONTAINER */

.woo_archive_container {
    padding-bottom: 40px;
}

@media (min-width:992px) {
    .woo_archive_container {
        padding-top: 24px;
        padding-bottom: 65px;
    }
}


/* kc-pag — WooCommerce paginacija v slogu kc-pag */


/* new css */
.kc-subtiles--cats {
    margin-top: 20px;
  }
  .kc-subtiles--razred ~ .kc-subtiles--cats,
  .kc-subtiles--cats:has(~ .kc-subtiles--razred) {
    margin-top: 26px;
  }
  
  .kc-subtiles--razred ~ .kc-subtiles--cats::before,
  .kc-subtiles--cats:has(~ .kc-subtiles--razred)::before {
    content: "Podkategorije";
      margin-left: 26px;
    color: rgba(31, 29, 29, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
      display: block;
      margin-bottom: 10px;
  }
/* ==========================================================================
   COMPONENT: .kc-kat__hero (Main Container)
   ========================================================================== */

   .kc-kat__hero {
    background: var(--kc-yellow);
    border-radius: 10px;
    margin-bottom: 24px;
    padding: 22px 26px 26px;
    overflow: hidden;
  }
  
  /* Responsive adjustments for main container */
  @media (width <= 767px) {
    .kc-kat__hero {
      border-radius: 0px;
      margin: -24px -20px 24px;
      padding: 20px 20px 22px;
      overflow: visible;
    }
  }
  
  /* ==========================================================================
     NESTED ELEMENT: Breadcrumbs
     ========================================================================== */
  
  .kc-kat__hero .kc-kat__crumbs {
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    display: flex;
  }
  
  .kc-kat__hero .kc-kat__crumb-home {
    font-family: var(--kc-ff);
    color: rgba(31, 29, 29, 0.5);
    cursor: pointer;
    font-size: 11.5px;
  }
  
  .kc-kat__hero .kc-kat__crumb {
    font-family: var(--kc-ff);
    color: rgba(31, 29, 29, 0.65);
    font-size: 11.5px;
  }
  
  /* ==========================================================================
     NESTED ELEMENT: Typography
     ========================================================================== */
  
  .kc-kat__hero .kc-kat__title {
    font-family: var(--kc-ff);
    color: var(--kc-dark);
    margin: 0px 0px 8px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
  }
  
  @media (width <= 767px) {
    .kc-kat__hero .kc-kat__title {
      font-size: 26px;
    }
  }
  
  .kc-kat__hero .kc-kat__intro {
    font-family: var(--kc-ff);
    color: rgba(31, 29, 29, 0.72);
    margin: 0px 0px 22px;
    font-size: 14px;
    line-height: 1.6;
  }
  
  .kc-kat__hero .kc-kat__intro-more {
    text-underline-offset: 2px;
    cursor: pointer;
    color: var(--kc-dark);
    white-space: nowrap;
    font-weight: 600 !important;
    text-decoration: underline;
  }
  
  /* ==========================================================================
     NESTED COMPONENT: Subtiles (.kc-subtiles)
     ========================================================================== */
  
  .kc-kat__hero .kc-subtiles {
    margin-left: -26px;
    margin-right: -26px;
    position: relative;
  }
  
  .kc-kat__hero .kc-subtiles__track {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 4px;
    padding-left: 26px;
    scroll-padding-left: 26px;
    display: flex;
    overflow-x: auto;
  }
  
  .kc-kat__hero .kc-subtiles__item {
    scroll-snap-align: start;
    flex: 0 0 124px;
  }
  
  .kc-kat__hero .kc-subtiles__arrow {
    z-index: 5;
    cursor: pointer;
    background: rgb(255, 255, 255);
    border: none;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: rgba(0, 0, 0, 0.22) 0px 2px 12px;
  }
  
  .kc-kat__hero .kc-subtiles__arrow--right {
    right: 6px;
  }
  
  .kc-kat__hero .kc-subtiles__spacer {
    flex-shrink: 0;
    width: 20px;
  }
  
  /* ==========================================================================
     NESTED ELEMENT: Individual Subtile
     ========================================================================== */
  
  .kc-kat__hero .kc-subtile {
    box-sizing: border-box;
    cursor: pointer;
    background: rgb(255, 255, 255);
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 8px;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 158px;
    padding: 12px 10px 10px;
    transition: border-color 0.15s;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 2px 8px;
    text-decoration: none !important;
  }
  
  .kc-kat__hero .kc-subtile.is-active {
    border-color: var(--kc-dark);
  }
  
  .kc-kat__hero .kc-subtile__img {
    flex: 1 1 0%;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 0px;
    display: flex;
  }
  
  .kc-kat__hero .kc-subtile__img img {
    object-fit: contain;
    max-width: 86%;
    max-height: 70px;
  }
  
  .kc-kat__hero .kc-subtile__text {
    text-align: center;
    flex-shrink: 0;
    width: 100%;
    margin-top: 8px;
  }
  
  .kc-kat__hero .kc-subtile__title {
    font-family: var(--kc-ff);
    color: var(--kc-dark);
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none !important;
  }
  
  .kc-kat__hero .kc-subtile__badge {
    background: var(--kc-dark);
    color: rgb(255, 255, 255);
    font-family: var(--kc-ff);
    border-radius: 4px;
    flex-shrink: 0;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
  }
  
  .kc-kat__hero .kc-subtile__badge--sm {
    font-size: 9.5px;
    display: inline-block;
  }
  
  .kc-kat__hero .kc-subtile__badge--profi {
    background: var(--kc-teal);
  }