/************************************
 * Woo Page Product Overview
*************************************/
.woocommerce-products-header {position:relative; z-index:2;}
.term-description {margin-bottom:var(--bb-spacing-default);}
body.list-product .site-content {--bb-container:1280px;
    --bb-gap-side:clamp(var(--bb-gap-container), calc((var(--bb-100vw) - var(--bb-container)) / 2), 50vw);
}
.woo-shop {--aside-width:330px;}

/* Product Overview > Layout columns */
.woo-shop-aside {width:var(--aside-width); padding-right:50px;}
.woocommerce .woo-shop-main {width:calc(100% - var(--aside-width)); margin-bottom:0;}

/* Filter button mobile */
.woo-shop-filter-button button {background:transparent; padding:0;}
.woo-shop-filter-button button span {margin-left:.5em; display:inline-block; transform:translateY(-.1em);}

/* No found */
@media only screen and (min-width:1181px) {
    .no-products-found .woo-shop-main__tools {display:none;}
}

/************************************
 * Shop Main Tools
*************************************/
/* General */
.woo-shop-main__tools-inner {border-radius:20px; border:1px solid #e5eaf2; padding:0 var(--bb-gap-container);}
.woo-shop-main__tools-block {min-height:67px; font-size:var(--bb-size-16);}
.woo-shop-main__tools .reset-count, .woo-shop-main__tools .product-per-page, .woo-shop-main__tools-block.filter-button {
    padding:0 var(--bb-gap-container); border-right:1px solid #e5eaf2;
}
.woo-shop-main__tools-block:first-child {padding-left:0;}

/* Filter button */
.woo-shop-filter-button {min-height:67px;}

/* Result count*/
.woo-shop-main__tools .woocommerce-result-count {margin:0;}
.woo-shop-main__tools .woocommerce-result-count .number {font-weight:700;}
@media only screen and (min-width:1181px) {
    .woo-shop-main__tools .reset-count {padding-left:0;}
}

/* Product per page */
.woo-shop-main__tools .prdctfltr_wc .prdctfltr_filter {
    display:flex; align-items:center; gap:0 20px;
    padding:0;
}
.woo-shop-main__tools .prdctfltr_filter .prdctfltr_regular_title {font-weight:400; padding-bottom:0;}
.woo-shop-main__tools .prdctfltr_wc .prdctfltr_buttons,
.woo-shop-main__tools .prdctfltr_wc .prdctfltr_filter:before,
.woo-shop-main__tools .prdctfltr_wc .prdctfltr_filter:after {display:none;}
.woo-shop-main__tools .prdctfltr_wc .prdctfltr_woocommerce_ordering {margin:0;}

/* Select */
.main_content .woo-shop-main__tools .easy-select {
    --es-height:30px;
    --es-radius:0px;
    font-weight:500;
}
.woo-shop-main__tools .prdctfltr_add_scroll {display:flex;}
.woo-shop-main__tools .es-current .es-option {padding:0 15px 0 0;}
.main_content .woo-shop-main__tools .es-current {
    --es-border:none;
    --es-border-hover:none;
}
.main_content .woo-shop-main__tools .es-current .es-option:after {right:0;}

/* Collector flat */
.woo-shop-main__tools .product-per-page .prdctfltr_collector {display:none;}

/* Bottom content */
.bb-shop__extra-content {
    padding-top:calc(var(--bb-spacing-default) + var(--bb-spacing-20));
}
.bb-shop__extra-content:before, .bb-shop__extra-content:after {
    content:""; display:block;
    position:absolute; left:50%; transform:translateX(-50%);
}
.bb-shop__extra-content:before {
    width:var(--bb-100vw); height:100%; background:var(--bb-color-gray);
    top:0;
}
.bb-shop__extra-content:after {
    width:calc(var(--bb-100vw) - 2 * var(--bb-spacing-padding)); background:#fff; border-radius:20px;
    height:calc(100% - var(--bb-spacing-20) - var(--bb-spacing-35));
    top:var(--bb-spacing-20);
}
.bb-shop__extra-content > * {position:relative; z-index:1;}


/***************************************
 * Woo Page Product Overview - Responsive
****************************************/
@media only screen and (max-width:1280px) {
    .woo-shop-aside {padding-right:30px;}
    .woo-shop-main__tools-inner {--bb-gap-container:20px;}
}
@media only screen and (max-width:1180px) {
    /* General */
    .woo-shop-main__tools {padding-top:35px;}
    .woo-shop-main__tools .reset-count {
        position:absolute; top:0; left:0;
        padding:0; border:none; min-height:auto;
    }
    .woo-shop-main__tools-block, .woo-shop-filter-button {min-height:50px;}

    /* Product Overview > Layout columns */
    .woo-shop-aside {display:none;}
    .woo-shop-aside,
    .woocommerce .woo-shop-main {width:100%; padding:0;}
    .woo-shop-main__tools-col > div:not(:last-child) {margin-right:15px;}

    /* Filter button */
    .woo-shop-main__tools-block.filter-button.hidden {display:block;}

    /* Result count */
    .woo-shop-main__tools-block.result-count {width:100%; order:-1; border-bottom:1px solid #eee; padding-bottom:10px;}

    /* Ordering */
    .woo-ordering__label {display:none;}
    .woo-ordering .es-current {border:none !important;}
    .woo-ordering .es-current .es-option {padding:0; gap:10px;}
    .woo-ordering .es-current .es-option:after {
        content:"\e947"; position:relative;
        transform:none; margin:0; font-size:.9em;
    }

    /* No found */
    body.woocommerce .woo-shop-main .woocommerce-no-products-found {margin-bottom:var(--bb-spacing-default);}
    .no-products-found .woo-shop-main__tools {width:fit-content;}
    .no-products-found .woo-shop-main__tools-block.filter-button.hidden {padding-right:0; border-right:none;}
}
@media only screen and (max-width:900px) {
    .woo-shop-main__tools .prdctfltr_wc.prdctfltr_wc_regular.prdctfltr_woocommerce .prdctfltr_woocommerce_ordering .prdctfltr_single_filter .prdctfltr_filter {
        display:flex !important;
    }
}
@media only screen and (max-width:768px) {
    /* Remove text */
    .woo-ordering .es-current .es-option span,
    .woo-shop-main__tools .prdctfltr_filter .prdctfltr_regular_title {display:none;}

    /* Order */
    .woo-shop-main:not(.no-products-found) .woo-shop-main__tools-block.ordering {padding-left:var(--bb-gap-container); border-left:1px solid #e5eaf2;}
}
@media only screen and (max-width:480px) {
    /* Dropdown */
    .main_content .woo-shop-main__tools .es-dropdown {max-width:unset;}
}