h1.woocommerce-products-header__title.page-title {
    font-weight: 700;
}

h1.woocommerce-products-header__title.page-title+.term-description {
    margin-top: 20px;
}

@media (min-width: 992px) {
    #main:before {
        right: 0;
        top: 0;
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        display: block;
        background: url('/wp-content/uploads/2024/03/Group-3233.svg');
        border-radius: 4px;
        background-repeat: no-repeat;
        background-size: 100%;
        z-index: -1;
    }
}

header.woocommerce-products-header {
    padding-bottom: 20px;
}

ul.products .product {
    margin-bottom: 12px !important;
}

@media (min-width:768px) {
    header.woocommerce-products-header {
        padding-bottom: 60px;
    }
    ul.products .product {
        margin: 0 16px 30px 0 !important;
        width: calc(100% / 3 - 16px) !important;
    }
}


/*FILTER*/

#category_filter {
    display: none;
}

#category_filter_close {
    display: none;
}

#category_filter_c {
    display: none;
}

@media only screen and (max-width: 767px) {
    div#toggleButton {
        font-size: 14px;
        font-weight: 600;
        margin-top: 15px;
        display: flex;
        align-items: center;
    }
    #toggleButton:after {
        content: "";
        width: 14px;
        height: 8px;
        display: inline-block;
        background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.8995 0.962219L11.8994 0.96223L7 5.45371L2.10056 0.96223L2.10055 0.962219C1.94998 0.82421 1.75009 0.75 1.54573 0.75C1.34137 0.75 1.14148 0.82421 0.990915 0.962219C0.839622 1.10089 0.75 1.29388 0.75 1.50022C0.75 1.70657 0.839622 1.89955 0.990915 2.03823L6.44508 7.03757C6.44512 7.0376 6.44515 7.03764 6.44518 7.03767C6.51989 7.1062 6.60744 7.15953 6.70233 7.19559C6.79726 7.23166 6.89835 7.25 7 7.25C7.10165 7.25 7.20274 7.23166 7.29766 7.19559C7.3926 7.15952 7.48019 7.10615 7.55492 7.03757L13.0091 2.03823C13.0839 1.96968 13.1445 1.88711 13.1863 1.7946C13.2281 1.70202 13.25 1.60192 13.25 1.50022C13.25 1.39853 13.2281 1.29842 13.1863 1.20585C13.1445 1.11334 13.0839 1.03077 13.0091 0.962219C12.9343 0.893708 12.8468 0.840393 12.7518 0.804357C12.6569 0.768326 12.5559 0.75 12.4543 0.75C12.3526 0.75 12.2516 0.768326 12.1567 0.804356C12.0618 0.840393 11.9742 0.893709 11.8995 0.962219Z' fill='black' stroke='black' stroke-width='0.5'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat no-repeat;
        background-position: center center;
        background-size: contain;
        margin-left: 8px;
    }
    #toggleButton.close:after {
        transform: rotate(180deg);
    }
    .filter_btn_wrapper {
        z-index: 9999999;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 15px;
    }
    .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: 49%;
        flex-grow: 1;
        margin-bottom: 0 !important;
    }
    .filter_btn_wrapper>div .bapf_sfilter {
        margin-bottom: 0 !important;
    }
    .sidebar_woo_category_filter {
        display: none;
    }
    #category_filter {
        display: block;
        position: fixed;
        width: 51px;
        right: 0;
        z-index: 999 !important;
        height: 47px;
        top: 90%;
        font-size: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        padding: 0 !important;
    }
    #category_filter .filter-svg {
        width: 2.5rem;
        height: 2.5rem;
    }
    #category_filter_close {
        display: block;
        height: 30px;
        width: 30px;
        position: absolute;
        right: 0;
        top: 0px;
        background: #333;
    }
    .bapf_sfilter.bapf_button_berocket.filter_button_br_custom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }
}

.sidebar_woo_category_mobile {
    display: block;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 9999999999 !important;
    background-color: #eee;
    padding: 30px 15px 55px 15px;
    overflow: scroll;
    height: 100%;
}

.sidebar_woo_category .sidebar_woo_category_filter:not(.sidebar_woo_category_mobile) {
    background: #F8F8F8;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 30px;
}

.sidebar_woo_category .aws-search-btn.aws-form-btn {
    border-left: 0 !important;
}


/* #aws_widget-2>div.widget-title {
    font-weight: 700;
    font-size: 16px;
    text-transform: unset;
} */

.bapf_sfilter.bapf_stylecolor[data-taxonomy="pa_oznake"] input:checked+label .bapf_clr_span {
    transform: none !important;
}

.bapf_sfilter.bapf_stylecolor[data-taxonomy="pa_oznake"] label {
    transition: .2s;
}

.bapf_sfilter.bapf_stylecolor[data-taxonomy="pa_oznake"] input:checked+label {
    transform: rotate(2deg);
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.10);
    transition: .2s;
}

.bapf_sfilter.bapf_stylecolor[data-taxonomy="pa_oznake"] li {
    margin-right: 15px !important;
    margin-bottom: 10px !important;
}

.bapf_sfilter.bapf_stylecolor[data-taxonomy="pa_oznake"] label {
    position: relative;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.bapf_sfilter.bapf_stylecolor[data-taxonomy="pa_oznake"] .bapf_clr_span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0 !important;
}

.bapf_sfilter.bapf_stylecolor[data-taxonomy="pa_oznake"] .bapf_clr_text {
    color: #fff;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 7px 12px;
}

.irs--round .irs-bar {
    background-color: #FB535A;
}

.irs--round .irs-handle {
    border: 4px solid #FB535A;
    ;
    box-shadow: 0 1px 3px rgb(157 157 157 / 30%);
}

.irs--round .irs-from,
.irs--round .irs-single,
.irs--round .irs-to {
    background-color: #FB535A;
}

.irs--round .irs-from:before,
.irs--round .irs-single:before,
.irs--round .irs-to:before {
    border-top-color: #FB535A
}

button.bapf_button.bapf_update {
    width: 100%;
    background: transparent;
    border: 1px solid #333 !important;
    color: #333;
    font-weight: 500;
}

button.bapf_button.bapf_reset {
    text-decoration: underline;
    color: #333;
    background: transparent;
    text-transform: none;
    text-align: center;
    width: 100%;
}


/************************************************************* new css ************************************************************/


/*SIDEBAR WOO START*/

.sidebar_woo_category .widget-title,
.sidebar_woo_category .bapf_head h3,
#aws_widget-2>div.widget-title {
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 20px;
    margin-bottom: 18px;
    line-height: 1.2;
}

.sidebar_woo_category a {
    font-size: 16px
}

.sidebar_woo_category li.cat-item a {
    color: #9F9F9F
}

.product-categories a {
    padding: 3px 20px 3px 0!important;
    line-height: 1.5;
    display: block
}

.product-categories li.cat-parent[aria-expanded="true"]>a {
    color: #767676!important
}

.product-categories>ul>li.cat-parent>a {
    border-bottom: 1px solid transparent
}

.product-categories>ul>li.cat-parent[aria-expanded="true"]>a {
    border-bottom: 1px solid #76767642;
    padding: 8px 0!important
}

.product-categories ul {
    padding: 3px 0 8px 10px
}

.product-categories {
    border-bottom: 1px solid rgba(118, 118, 118, .2);
    padding: 0 0 20px 0;
    margin-bottom: 0!important
}

.product-categories>ul {
    padding: 0 0 0 15px !important;
}

.product-categories li.cat-parent[aria-expanded="true"]>a {
    color: #F00!important
}

.sidebar_woo_category li {
    margin-bottom: 0!important
}

.sidebar_woo_category .widget-container {
    margin-bottom: 22px
}

.berocket_single_filter_widget:not(.bapf_rst_sel) {
    border-bottom: 1px solid #D6C2C2;
    margin-bottom: 22px;
}

.bapf_rst_nofltr {
    margin-bottom: 10px !important;
}

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

.sidebar_woo_category li.current-cat>a {
    color: red;
    font-weight: 700
}

.sidebar_woo_category li.current-cat>.count {
    float: right;
    color: red;
    font-weight: 700
}

.sidebar_woo_category a:hover {
    color: #FF0000!important
}

.sidebar_woo_category li .count {
    float: right;
    color: #888
}

.woocommerce_category_page.main_woo_category {
    margin-bottom: 25px;
}

.cat-parent:after {
    content: "";
    transition: all linear 0.25s;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 20px;
    min-height: 41px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 7L7 2L2 7' stroke='%23FF0000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 10px
}

.cat-parent.collapsed:after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239F9F9F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
}

.cat-parent .count {
    cursor: pointer
}

.cat-parent[aria-expanded="true"] a {
    color: #767676!important;
    font-weight: 400
}

.current-cat-parent>a,
.bold>a {
    font-weight: 700!important
}


/*SIDEBAR WOO END*/


/* SUBCATEGORIES START */

h1+.category_list {
    margin-top: 20px !important;
}

.category_list {
    display: flex;
    flex-wrap: wrap;
    margin-left: -7px;
    margin-right: -7px;
}

.cat_item img {
    max-width: 70px;
    min-width: 70px;
    height: 70px;
    object-fit: contain;
    padding: 7px 10px;
}

.cat_item_link {
    margin: 0 7px 15px 7px;
    border: 1px solid #e3e3e3;
    text-decoration: none;
    width: calc((100%/2) - 14px);
}

.cat_item {
    display: flex !important;
    align-items: center;
}

.woocommerce-breadcrumb .breadcrumb_inner {
    font-size: 12px;
    color: #919191;
}

.sub_c_title_wrapper {
    padding: 7px 7px 7px 0;
    text-align: center;
    word-break: break-word;
}

@media (min-width:992px) {
    .cat_item_link {
        margin: 0 7px 7px 7px;
        width: calc(33% - 14px);
    }
    .sub_c_title_wrapper {
        padding: 10px;
        text-align: left;
    }
}

@media (min-width:1201px) {
    .cat_item_link {
        width: calc(25% - 14px);
    }
}

.cat_item h3 {
    font-size: 14px;
    margin: 0;
    color: #3F3E43;
    font-weight: 600;
    text-align: left;
}


/* SUBCATEGORIES END */


/*WOOCOMMERCE-ORDERING START*/

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

.woocommerce-ordering select {
    margin-left: 35px;
    border: 1px solid #d7d7d7;
    padding: 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.woocommerce-ordering select:hover {
    background: #f0f0f0;
    border: 1px solid #626262;
}

.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(--wp--preset--color--primary-color);
}

.irs--flat .irs-from,
.irs--flat .irs-single,
.irs--flat .irs-to {
    background-color: var(--wp--preset--color--primary-color);
}

.irs--flat .irs-handle>i:first-child {
    background-color: var(--wp--preset--color--primary-color);
}

.irs--flat .irs-from::before,
.irs--flat .irs-single::before,
.irs--flat .irs-to::before {
    border-top-color: var(--wp--preset--color--primary-color);
}

.irs--flat .irs-handle.state_hover>i:first-child,
.irs--flat .irs-handle:hover>i:first-child {
    background-color: var(--wp--preset--color--light-primary-color);
}


/*PRICE FILTER END*/

@media (max-width:991px) {
    .category_list .cat_item_link {
        display: none;
        /* Initially hide all categories */
        /* Additional styling here */
    }
    /* Show the first 6 categories */
    .category_list .cat_item_link:nth-of-type(-n+6) {
        display: block;
    }
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    border: 0;
    gap: 15px;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
    min-width: 32px;
    min-height: 32px;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
    border: 1px solid #9F9F9F;
    border-radius: 2px;
    color: #9F9F9F;
    background: #fff !important;
    padding: 2px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    color: #FB535A;
    border-color: #FB535A;
}

@media (max-width:767px) {
    .woocommerce nav.woocommerce-pagination ul {
        gap: 8px !important;
    }
}

.term-description h2,
.acf-secondary-description h2 {
    font-size: 20px;
    font-weight: 600;
}

.term-description h3,
.acf-secondary-description h3 {
    font-size: 18px;
    font-weight: 600;
    padding-top: 15px;
    padding-bottom: 10px;
}