/**
    * Product Category Pages Styles
    * 
*/
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.archive.tax-product_cat main#primary {
    width: 1200px;
    max-width: 100%;
    margin: 50px auto;
}

/* Category page layout with sidebar on left and products on right */
.woocommerce-category-container {
    display: flex;
    gap: 30px;
    width: 1200px;
    max-width: 100%;
    margin: 50px auto 40px;
    padding: 0 15px;
}

/* Category sidebar styles */
.woocommerce-category-container .category-widget-area {
    flex: 0 0 250px;
    min-width: 250px;
}
.woocommerce-category-container .woocommerce-products-wrapper {
    flex: 1;
    min-width: 0;
}
form.woocommerce-ordering select {
    height: 40px;
    padding: 0px 15px;
    margin-bottom: 25px;
}
.woocommerce-products-header__title.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 55px;
    line-height: 50px;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0px;
    order: 1;
}
nav.woocommerce-breadcrumb {
    font-family: 'Alibaba Sans', sans-serif;
    font-size: 12px;
    line-height: 15px;
    color: #000000;
    width: 1200px;
	text-transform: uppercase;
    max-width: 100%;
	display: flex;
    flex-wrap: wrap;
    margin: 40px auto 10px;
    padding: 0 20px 0px 295px;
}
nav.woocommerce-breadcrumb a{
    color: #000000;
}
h2.wp-block-heading {
    line-height: 50px;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Bebas Neue';
    text-transform: uppercase;
    font-weight: 500;
}
.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background: none;
}
/* Category page loader styles */
.woocommerce-category-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}
.woocommerce-category-loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.woocommerce-category-loader .loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.woocommerce-category-container ul.products li.product {
    width: calc(33.33% - 14px);
    min-width: calc(33.33% - 14px);
}
.woocommerce-category-container ul.products {
    flex-wrap: wrap;
}
.wc-block-product-filters__overlay-wrapper {
    background-color: #ffffff;
    box-shadow: 0px 0px 10px #cccccc;
}
.wp-block-woocommerce-product-filter-attribute {
    padding: 0px 20px;
}
.wp-block-woocommerce-product-filter-taxonomy {
    padding: 0px 20px 20px;
}
aside#secondary .widget.widget_block {
    background-color: #ffffff;
}
.wp-block-woocommerce-product-filter-removable-chips {
    padding: 0px 20px;
}
.wp-block-woocommerce-product-filter-removable-chips .wc-block-product-filter-removable-chips__items .wc-block-product-filter-removable-chips__item {
    border: none;
    background-color: #000000;
    color: #ffffff;
    font-size: 12px;
    line-height: 16px;
    border-radius: 50px;
}
.wc-block-product-filter-removable-chips__items .wc-block-product-filter-removable-chips__item svg{
    width: 18px;
    height: 18px;
}
button.wp-block-button__link.has-text-align-center.wp-element-button {
    background-color: #000000;
    font-size: 12px;
    line-height: 20px;
    max-width: 100px;
    margin: 0 auto;
    display: block;
}
.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background: none;
    margin-top: 20px;
}
.wp-block-woocommerce-product-filter-price {
    padding: 0px 20px;
}
.wc-block-product-filters__overlay-content .wc-block-product-filter-price-slider .text input[type=text] {
    padding: 0px;
    border: none;
    font-size: 12px;
    height: auto;
}
.wc-block-product-filter-price-slider__right.text input {
    text-align: right;
}

/* Filters */
.widget.widget-woof .widget-title {
    background-color: #000000;
    color: #ffffff;
    padding: 14px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: 'Bebas Neue';
    font-weight: 400;
    font-size: 30px;
}
.woof_redraw_zone h4 {
    margin: 30px 0px 10px;
    font-family: 'Bebas Neue';
    font-weight: 400;
    font-size: 25px;
    line-height: 20px;
}
.woof_redraw_zone .woof_container_inner {
    padding: 0px 15px;
}
.widget.widget-woof {
    background: #ffffff;
}
.woof_submit_search_form_container {
    text-align: center;
    display: flex;
    justify-content: center;
}
.woof_submit_search_form_container button.button.woof_reset_search_form {
    margin-bottom: 20px;
}
.woocommerce-category-container ul.products {
    justify-content: flex-start;
}
.woof_submit_search_form_container button.button.woof_submit_search_form {
    margin-bottom: 20px;
}
a.woof_radio_term_reset{
    display: none !important;
}

/* Responsive: stack sidebar on top for mobile */
@media (max-width: 1024px){
    .woocommerce-category-container ul.products li.product {
        width: calc(50% - 14px);
        min-width: calc(50% - 14px);
    }
}

@media (max-width: 768px) {
    .woocommerce-category-container {
        flex-direction: column;
        gap: 40px;
    }
	.woof_redraw_zone .woof_container_inner:nth-child(2) {
		padding-top: 1px !important;
	}
	.woocommerce-category-container{
		margin: 0;
	}
	.widget.widget-woof .widget-title{
		display: none;
	}
    
    .woocommerce-category-container .category-widget-area {
        flex: 1;
        width: 100%;
    }
    nav.woocommerce-breadcrumb{
        padding: 0px 15px;
    }
	.woof_show_mobile_filter {
		margin-top: 20px;
	}
    
}

@media (max-width: 600px) {
    .wc-block-product-filters__overlay{
        opacity: 0;
        visibility: hidden;
    }
    .wp-block-woocommerce-product-filters.is-overlay-opened .wc-block-product-filters__overlay{
        opacity: 1;
        visibility: visible;
    }
    aside#secondary .widget.widget_block{
        background-color: transparent;
    }
    button.wc-block-product-filters__apply.wp-element-button {
        display: block;
        background-color: #000000;
        color: #ffffff;
        text-align: center;
        padding: 10px 0px;
        text-transform: uppercase;
        font-family: 'Barlow Condensed';
        font-size: 16px;
        border: none;
    }
    button.wc-block-product-filters__apply.wp-element-button:hover {
        background-color: #ecbc4c;
        color: #000000;
    }
}

@media (max-width: 400px){
	.woocommerce-category-container ul.products li.product{
        width: 100%;
        min-width: 100%;
    }
}
