.filter-actions,.toolbox,
.toolbox-item,
.toolbox-left,
.toolbox-right {
    display: flex;
    flex-wrap: wrap;
}

.filter-actions,
.toolbox {
    justify-content: space-between;
}

.toolbox-top {
    position: relative;
    justify-content: initial;
    flex-direction: row;
}

.toolbox-top .show-info {
    margin-bottom: 1rem;
}

.toolbox-full {
    width: 100%;
}

.toolbox-left {
    flex: 1;
    white-space: nowrap;
}

.sidebar-fixed ~ .main-content .sticky-toolbox.fixed {
    padding-top: 1rem;
}

.toolbox {
    font-size: 1.3rem;
    line-height: 1.5;
    padding-bottom: 1rem;
    transition: padding 0.4s;
    color: #333;
}

.toolbox .toolbox-left > *,
.toolbox .toolbox-right > * {
    margin-right: 2rem;
    flex-direction: column;
}

.toolbox .toolbox-left .toolbox-item,
.toolbox .toolbox-right .toolbox-item {
    flex-direction: column;
}

.toolbox .toolbox-right {
    margin-right: -2rem;
}

.toolbox .toolbox-label {
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.toolbox select {
    cursor: pointer;
    padding: 0.2rem 2.7rem 0.2rem 1.4rem;
    border-radius: 3px;
    background-position: calc(100% - 4px)
}

.toolbox .select-box:before {
    font-size: 1rem;
    right: 1rem
}

.toolbox .toolbox-toggle {
    border-radius: 3px;
    padding: 1rem 1.3rem;
}

.toolbox .toolbox-toggle i {
    font-size: 1.4rem;
    line-height: inherit
}

.toolbox .orderby {
    max-width: 18.4rem;
    max-width: none
}

.toolbox .item-found span {
    color: var(--dark-color, #333);
    margin-right: 0.5rem
}

.toolbox .toolbox-item {
    flex-wrap: nowrap;
    margin-bottom: 1rem;
}

.toolbox .toolbox-layout {
    justify-content: center;
}

.sticky-toolbox.fixed {
    padding: 1rem 2rem 0
}

@media screen and (max-width: 479px) {
    .sticky-toolbox.fixed {
        padding-left:1.5rem;
        padding-right: 1.5rem
    }
}

@media screen and (max-width: 359px) {
    .toolbox .orderby {
        width:13rem
    }
}

.toolbox-layout {
    font-size: 19px
}

.btn-showtype {
    line-height: 1;
    color: #dadada
}

.btn-showtype:last-child {
    padding-right: 0
}

.btn-showtype.active,.btn-showtype:hover {
    color: var(--dark-color, #333)
}

.btn-showtype+.btn-showtype {
    margin-left: 10px
}

.toolbox-horizontal {
    display: flex;
    color: var(--dark-color, #333);
    z-index: 2
}

.toolbox-horizontal>.sticky-content-wrapper,.toolbox-horizontal>.toolbox {
    flex: 1
}

.toolbox-horizontal .select-box:before {
    font-size: 1.2rem;
    right: 1.2rem;
    margin-top: 1px
}

.toolbox-horizontal select {
    max-width: 15.7rem;
    padding: 0.65em 2.55em 0.58em 1.2em;
    font-size: 1.2rem
}

.toolbox-horizontal .toolbox-toggle {
    padding: 0.85rem 1.3rem;
}

.toolbox-horizontal .show-info {
    margin-bottom: 1.2rem;
    color: #999;
    font-size: inherit;
}

.toolbox-horizontal .toolbox-show-count label {
    display: none;
}

.toolbox-horizontal .shop-sidebar {
    margin-right: 0;
}

.toolbox-horizontal.fixed .sidebar-content,
.toolbox-horizontal.fixed .sidebar-overlay {
    min-height: 100vh;
}

.select-item {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    padding: 5px 2.4rem 5px 1rem;
    border-radius: 3px;
    color: var(--dark-color, #333);
    background: #eee;
}

.select-item i {
    position: absolute;
    font-size: 13px;
    top: 0;
    bottom: 0;
    right: 5px;
    line-height: 29px;
}

.select-items {
    display: none;
    margin-bottom: 1.5rem;
}

.toolbox+.select-items {
    font-size: 1.2rem;
    margin: 2px 0 1.8rem;
}

.select-items>* {
    margin: 0 0.8rem 0.5rem 0;
}

.select-items .filter-clean {
    margin-left: 1.2rem;
}

.filter-actions .filter-clean {
    line-height: 3.7rem;
}

.woocommerce-widget-layered-nav-dropdown {
    margin-top: 1rem;
}

.woocommerce-widget-layered-nav-dropdown button {
    background-color: var(--primary-color, #2879fe);
    border: none;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    color: #fff;
    border-radius: 4px;
}

.woocommerce-widget-layered-nav-dropdown button:hover {
    background-color: var(--primary-hover-color, #2879fe);
}

.sidebar .wp-block-woocommerce-rating-filter li {
    padding: 0;
}

.toolbox-pagination {
    position: relative;
    border-top: 1px solid #f4f4f4;
}

.btn-load+.toolbox-pagination,.toolbox-pagination.no-pagination {
    padding: 0;
    border-top: none;
}

.toolbox-pagination .pagination:first-child {
    width: 100%;
    text-align: center;
}

.product-archive + .toolbox-pagination {
    padding-top: 3rem;
}

.no-product {
    max-width: 100%;
    flex: 100%;
}

.product-archive > .w-loading > i {
    top: 14rem;
}

.product-archive .products > p {
    margin: 0 10px;
}

@media screen and (max-width: 575px) {
    .toolbox-pagination {
        flex-direction: column;
    }

    .toolbox-pagination>:not(:last-child) {
        margin-bottom: 1rem;
        margin-right: 0;
    }

    .toolbox .toolbox-toggle {
        padding: 1rem;
    }
}

@media screen and (min-width: 576px) {
    .toolbox-horizontal .toolbox-left {
        margin-right: auto;
    }
}

@media screen and (max-width: 991px) {
    .toolbox-horizontal .sidebar-fixed {
        margin-right: 0;
    }

    .toolbox-horizontal .sidebar-content {
        display: block;
    }

    .toolbox-wrap .shop-sidebar .widget-title {
        border-top: 3px solid #eee;
    }

    .toolbox-left,.toolbox-right {
        flex-wrap: nowrap;
    }

    .sidebar-content.toolbox-left > * {
        margin-right: 0;
    }
}

@media screen and (min-width: 992px) {
    .toolbox .sidebar-content {
        max-width: none;
    }

    .toolbox-horizontal {
        font-size: 1.2rem;
    }

    .toolbox-horizontal .shop-sidebar .sidebar-content {
        padding-bottom: 0;
    }

    .toolbox-horizontal .widget {
        position: relative;
        margin-bottom: 1rem;
        margin-right: 1rem;
        color: var(--dark-color, #333);
    }

    .toolbox-horizontal .widget .widget-title {
        position: relative;
        border: 1px solid var(--light-color, #ccc);
        padding: 0.65em 4.3em 0.58em 1.2em;
        background: #fff url(../../images/select-bg.svg) 98% 45%/26px 60px no-repeat;
        margin-bottom: 0;
        font-size: 1.2rem;
        line-height: 1.5;
        font-weight: 400;
        letter-spacing: 0;
        text-transform: capitalize;
        border-radius: 3px;
        background-color: #fff;
    }

    .toolbox-horizontal .widget .widget-title+* {
        position: absolute;
        top: 100%;
        z-index: 100;
        min-width: 23rem;
        margin-top: 0.5rem;
        padding: 1rem 2rem 1rem;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
    }

    .toolbox-horizontal .widget.opened h3 {
        border-color: var(--primary-color, #2879fe);
    }

    .toolbox-horizontal .widget.opened .widget-title+* {
        opacity: 1;
        visibility: visible;
    }

    .toolbox-horizontal .sidebar .widget ul {
        white-space: normal;
        padding-bottom: 2rem;
    }

    .toolbox-horizontal .sidebar .widget li {
        border-radius: 3px;
        background-color: #f5f5f5;
        margin: 1rem 0.5rem 0 0;
        padding: 0;
    }

    .toolbox-horizontal .sidebar .widget li a {
        padding: 0.5em 1em;
    }

    .toolbox-horizontal .sidebar .widget li a:before {
        content: none;
    }

    .toolbox-horizontal .sidebar .widget li.chosen,.toolbox-horizontal .sidebar .widget li.current-cat {
        background-color: var(--primary-color, #2879fe);
    }

    .toolbox-horizontal .sidebar .widget li.chosen a,.toolbox-horizontal .sidebar .widget li.current-cat a {
        color: #fff;
    }

    .toolbox-horizontal .sidebar .widget li.chosen a:before,.toolbox-horizontal .sidebar .widget li.current-cat a:before {
        content: none;
    }

    .toolbox-horizontal .sidebar .widget .count {
        display: none;
    }

    .toolbox-horizontal .sidebar .cat-item i {
        display: none;
    }

    .toolbox-horizontal .sidebar .price-range {
        margin: -2rem 0 1rem;
    }

    .toolbox-horizontal .sidebar.shop-sidebar .widget li {
        display: inline-flex;
    }

    .toolbox-horizontal .toolbox-left .toolbox-item:not(:last-child) {
        margin-right: 2rem;
    }

    .toolbox-horizontal .filter-clean {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .toolbox label {
        display: block;
    }

    .toolbox-top .show-info {
        display: none;
    }

    .submit-button-group {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 575px) {
    .toolbox .toolbox-layout {
        display: none;
    }
}

@media screen and (max-width: 479px) {
    .toolbox-left > *,
    .toolbox-right > * {
        margin-right: 1rem;
    }

    .toolbox .toolbox-right {
        margin-right: -1rem;
    }
}

.related.products .products {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .related.products .products {
        flex-direction: column;
    }

    .related.products .products > li.product-wrap {
        width: 100%;
    }

    .related.products .products > li.product-wrap .product .product-details,
    .related.products .products > li.product-wrap .product .product-hide-details {
        justify-content: center;
    }
}

.products.list-type-products > li.product-wrap {
    width: 100%;
}

.products.list-type-products > li.product-wrap .product {
    display: flex;
    flex-direction: row;
    align-items: start;
}

.products.list-type-products > li.product-wrap .product .product-media {
    width: 28rem;
}

.products.list-type-products > li.product-wrap .product .product-details,
.products.list-type-products > li.product-wrap .product .product-hide-details {
    justify-content: center;
    width: calc(100% - 28rem);
}

.products.list-type-products > li.product-wrap .product .product-hide-details {
    position: relative;
}

@media screen and (min-width: 768px) {
    [name=category].form-control {
        min-width: 180px;
    }
}


/*
@media screen and (min-width: 1650px) {
    .container-fluid .main-content:first-child .list-type-products > *,
    .container-fluid .sidebar-offcanvas + .main-content .list-type-products > * {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 1240px) {
    aside:not(.sidebar-fixed) ~ .main-content .list-type-products > .product-wrap {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .sidebar-fixed + .main-content .list-type-products .product-media {
        max-width: 9rem;
    }

    .sidebar-fixed + .main-content .list-type-products .product-details {
        max-width: calc(100% - 11rem);
    }
}
*/

/* add to wishlist button */
.product-action .woosw-btn {
    display: inline-block;
    margin-left: 10px;
    font-size: 24px;
}

/* disable woo labels */
.woocommerce span.onsale {
    display: none;
}

.woosw-btn-icon:before {
    font-size: 24px;
}

.product_meta {
    margin-top: 18px;
}

.awl-align-right-top .awl-label-text .awl-inner-text {
    visibility: hidden;
}

.awl-align-right-top .awl-label-text .awl-inner-text:after {
    content: "Hot 🔥";
    visibility: visible;
    display: block;
    position: absolute;
    padding: 5px;
    top: 0;
}

#main.site-main .product,
#main.site-main .woocommerce-breadcrumb {
    max-width: 1024px;
    margin: 0 auto;
}

#main.site-main .woocommerce-breadcrumb {
    padding-bottom: 40px;
}
