.archive div#content .col-full {
    max-width: 100%;
}
.archive.tax-kategorija div#content .col-full,
.archive.post-type-archive-stihl-deo div#content .col-full{
    max-width: 1280px;
}
.shop-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.shop-subcategories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 1rem;
	list-style: none;
}

.shop-separator {
    border: none;
    border-top: 2px solid #ddd;
    margin: 1rem 0;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.shop-column-switcher {min-width: 181px;}
.shop-column-switcher button {
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px;
    cursor: pointer;
	border-radius: 10px;
}

.shop-column-switcher button.active {
    background: #18202e;
    color: #fff;
}

.shop-subcategories h2.woocommerce-loop-category__title mark {
    display: none;
}

.shop-subcategories h2.woocommerce-loop-category__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #18202e;
    text-align: center;
}

ul.products.columns-1 li.product { width: 100% !important; }
ul.products.columns-2 li.product { width: calc(50% - 10px) !important; }
ul.products.columns-3 li.product { width: calc(33% - 11px) !important; }
ul.products.columns-4 li.product { width: calc(25% - 15px) !important; }
ul.products.columns-5 li.product { width: calc(20% - 16px) !important; }

.shop-column-switcher button:before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
}

.shop-column-switcher button[data-cols="1"]:before {background-image: url('/wp-content/uploads/2025/09/one.png');}
.shop-column-switcher button[data-cols="2"]:before {background-image: url('/wp-content/uploads/2025/09/two-2.png');}
.shop-column-switcher button[data-cols="3"]:before {background-image: url('/wp-content/uploads/2025/09/three-1.png');}
.shop-column-switcher button[data-cols="4"]:before {background-image: url('/wp-content/uploads/2025/10/four.png');}

.shop-column-switcher button.active::before {
    filter: invert(1);
}

.storefront-full-width-content header.woocommerce-products-header {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: unset;
}

.shop-headers {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
    column-gap: 20px;
}

.woocommerce-page main#main {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

h1.woocommerce-products-header__title.page-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: unset;
}
body .woocommerce-ordering {
	margin-right: unset;
}
.shop-ordering select {
    padding: 0 15px;
    height: 42px;
    border-radius: 35px;
    max-width: 220px;
    color: #18202e;
    font-size: 14px;
}
select.orderby {
    padding: 10px 15px;
    border-radius: 35px;
    font-size: 14px;
}

body .storefront-sorting form.woocommerce-ordering,
body .storefront-sorting p.woocommerce-result-count,
body .storefront-sorting {
    display: none;
}

.storefront-sorting {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

label.prdctfltr_ft_none {
    color: red;
}
.prdctfltr_add_scroll {
    max-height: 300px;
    overflow: auto;
}
.prdctfltr_wc .prdctfltr_woocommerce_ordering {
	margin: unset;
}

.category-separator {
    display: block;
    position: relative;
    width: 100%;
    height: 1px;
    background: #f37a1f;
    margin-top: 5px;
    margin-bottom: 10px;
}
.category-separator ~ .category-separator {
    display: none;
}

span.onsale {
    border-radius: 35px;
    background: #f37a1f;
    color: white;
    border-color: #f37a1f;
    padding: 4px 15px;
}

.storefront-full-width-content header.woocommerce-products-header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: #18202e;
    width: calc(100vw - 60px);
    border-radius: 10px;
    z-index: -1;
}

h1.woocommerce-products-header__title.page-title {
    color: white;
    margin-bottom: 20px;
}

.storefront-full-width-content header.woocommerce-products-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    margin-top: 20px;
    min-height: 400px;
    background-color: #18202e;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    position: relative;
    margin-left: auto;
    color: white;
    text-align: left;
    padding: 20px;
    z-index: 3;
}

/*TABOVI START*/
.sidebar-tabs-wrapper {
    margin-bottom: 20px;
}
.sidebar-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.sidebar-tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    border: none;
    border-radius: 35px;
    transition: all 0.3s ease;
}
.sidebar-tab.active {
    background: #f37a1f;
    color: #fff;
}
.sidebar-tab:hover:not(.active) {
    background: #e8e8e8;
}
.shop-sidebar .tab-content {
    display: none;
    background: #18202e;
    border-radius: 10px;
}
.shop-sidebar .tab-content.active {
    display: block;
}
div#filteri-tab {
    margin-top: 25px;
}
.product-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-categories-list li {
    border-bottom: 1px solid #333;
}
.product-categories-list li:last-child {
    border-bottom: none;
}
.product-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
}
.product-categories-list a:hover {
    background: #2a2a2a;
}
.product-categories-list .children {
    list-style: none;
    padding-left: 0;
    background: #0f0f0f;
    display: none; /* This was missing! */
}
.product-categories-list .children.open {
    display: block;
}
.product-categories-list .children a {
    margin-left: 15px;
}
.category-toggle {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    font-size: 12px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.category-toggle.open {
    transform: rotate(180deg);
}
.cat-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 15px;
}
.product-categories-list > li > a {
    flex: 1;
    padding: 0; /* Remove padding from link since wrapper has it */
}

.children-wrapper {
    display: none;
    overflow: hidden;
}

.children-wrapper.open {
    display: block;
}

.product-categories-list .children {
    list-style: none;
    padding-left: 0;
    background: #0f0f0f;
    display: block; /* Changed from display: none */
}


/* Indent each level more */
.children-wrapper .children-wrapper .product-categories-list a {
    margin-left: 45px;
}

.children-wrapper .children-wrapper .children-wrapper .product-categories-list a {
    margin-left: 75px;
}

.children-wrapper .children-wrapper .children-wrapper .children-wrapper .product-categories-list a {
    margin-left: 95px;
}

/* Highlight current category */
.cat-link-wrapper.current-cat a {
    background: #2a2a2a;
    font-weight: bold;
}
/*TABOVI END*/

/*Breadcrumbs*/
/* Custom Breadcrumbs */
.custom-breadcrumbs {
    padding: 12px 0;
    flex-grow: 1;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #18202e;
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: #333;
    font-weight: 600;
}

.breadcrumb-separator {
    color: #999;
    font-size: 14px;
    user-select: none;
}

/* Responsive breadcrumbs */
@media (max-width: 768px) {
    .breadcrumb-list {
        font-size: 13px;
    }
}



/*FacetWP*/
main.shop-content .facet-wrap {
    background: #18202e;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

h3.facet-label {
    width: max-content;
    margin-bottom: unset;
    font-size: 1.4em;
    color: white;
}

.facetwp-facet.facetwp-facet-vrsta_marka_model {
    display: flex;
	flex-grow: 1;
    justify-content: space-between;
    gap: 20px;
	margin-bottom: unset;
}

.facetwp-facet.facetwp-facet-vrsta_marka_model select {
    flex: 1;
    min-width: 250px;
    padding: 14px 24px;
    border-radius: 45px;
}

aside.shop-sidebar {
    /*height: 100%;*/
    padding: 30px;
    border-radius: 10px;
    background: #18202e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

aside.shop-sidebar h3.facet-label {
    color: white;
    margin-bottom: 20px;
}

aside.shop-sidebar select.facetwp-hierarchy_select {
    padding: 10px;
    flex: 1;
    min-width: 250px;
    padding: 14px 24px;
    border-radius: 45px;
}

.facetwp-facet.facetwp-facet-lista_delova.facetwp-type-hierarchy_select {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facetwp-facet-brendovi.facetwp-type-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.facetwp-facet-brendovi.facetwp-type-checkboxes .facetwp-checkbox {
    width: calc(50% - 5px);
}

.facetwp-display-value {
    color: white;
}

.shop-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.facetwp-page.active {
    color: #f37a1f;
    border: 1px solid;
    border-radius: 5px;
}

.facetwp-page {
    color: #18202e;
    width: 25px;
    height: 25px;
    text-align: center;
}

.facetwp-hierarchy_select.is-empty {
	display: none;
}

@media only screen and (max-width: 1024px) {
	ul.products.columns-1 li.product { width: 100% !important; }
	ul.products.columns-2 li.product,
	ul.products.columns-3 li.product,
	ul.products.columns-4 li.product,
	ul.products.columns-5 li.product { width: calc(50% - 10px) !important; }
}


@media only screen and (max-width: 767px) {
	ul.products.columns-1 li.product, 
	ul.products.columns-2 li.product,
	ul.products.columns-3 li.product,
	ul.products.columns-4 li.product,
	ul.products.columns-5 li.product { width: 100% !important; }
}