.product-list-page .product-list-toolbar {
    position: relative;
    min-height: 75px;
    margin-bottom: 30px;
}

.product-list-page .woocommerce-result-count {
    margin: 0;
}

.product-list-page .woocommerce-ordering {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 2;
}

.product-list-page .products li.product {
    display: flex;
}

.product-list-page .products li.product > .item {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
}

.product-list-page .products li.product .image {
    aspect-ratio: 340 / 227;
    overflow: hidden;
}

.product-list-page .products li.product .image img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

.product-list-page .products li.product .post_content {
    min-height: 42px;
}

.product-list-page .products li.product .price {
    display: block;
    margin-top: auto;
    margin-bottom: 12px;
}

.product-list-page .products li.product .price ins {
    text-decoration: none;
}

.product-list-page .products li.product .button {
    align-self: center;
}

.product-load-more,
.product-loading {
    clear: both;
    padding: 15px;
    text-align: center;
}

.product-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-loading[hidden] {
    display: none;
}

.product-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray);
    border-top-color: var(--main);
    border-radius: 50%;
    animation: product-spin .7s linear infinite;
}

.product-mobile-search {
    display: none;
}

.product-list-page .woocommerce-product-search input.search-field::placeholder,
.product-list-page .widget.widget_product_search .woocommerce-product-search input.search-field::placeholder {
    color: #777 !important;
    opacity: 1 !important;
}

.product-list-page .woocommerce-product-search input.search-field::-webkit-input-placeholder,
.product-list-page .widget.widget_product_search .woocommerce-product-search input.search-field::-webkit-input-placeholder {
    color: #777 !important;
    opacity: 1 !important;
}

.product-price-dropdown > summary {
    position: relative;
    margin-bottom: 15px;
    padding: 10px 38px 10px 14px;
    border: 1px solid #dfe5da;
    border-radius: 2px;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    list-style: none;
}

.product-price-dropdown > summary::-webkit-details-marker {
    display: none;
}

.product-price-dropdown > summary::after {
    position: absolute;
    top: 50%;
    right: 14px;
    font-family: FontAwesome;
    content: "\f107";
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.product-price-dropdown[open] > summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.product-price-content {
    margin-top: -10px;
    margin-bottom: 15px;
    padding: 8px 14px;
    border: 1px solid #dfe5da;
    border-top: 0;
    background: var(--white);
}

.product-price-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.product-price-fields input {
    min-width: 0;
    width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
}

.product-price-fields input::placeholder {
    font-size: 10px;
}

.product-price-options {
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
}

.product-price-options li {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid var(--gray);
}

.product-price-options li::before {
    display: none;
}

.product-price-options a {
    display: block;
    color: var(--black);
}

.product-price-options .active a,
.product-price-options a:hover {
    color: var(--main);
}

.product-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-filter-actions .button {
    margin: 0;
}

.product-filter-actions a {
    font-size: 12px;
}

.product-categories,
.product-categories .children {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-categories .children {
    padding-left: 15px;
}

.product-categories .children.is-collapsed {
    display: none;
}

.product-categories li {
    margin: 0;
    padding: 0;
}

.product-categories li::before {
    display: none;
}

.product-category-row {
    display: flex;
    align-items: center;
    min-height: 38px;
    border-bottom: 1px solid var(--gray);
}

.product-category-row > a {
    flex: 1;
    min-width: 0;
    padding: 7px 0;
    color: var(--black);
}

.product-category-toggle {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--black);
    cursor: pointer;
}

.product-category-toggle i {
    transition: transform .2s ease;
}

.product-category-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.widget_product_categories .current-cat > .product-category-row > a,
.product-category-row > a:hover {
    color: var(--main);
    font-weight: 700;
}

.widget_product_categories li.current-cat > .product-category-row {
    padding-left: 10px;
    border-left: 4px solid var(--main);
    background: var(--white);
}

.widget_product_categories li.current-cat > .product-category-row > a {
    color: var(--main) !important;
    font-weight: 700 !important;
}

.product-clear-filters {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 700;
}

.product-empty {
    clear: both;
    margin-bottom: 40px;
}

@keyframes product-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .product-mobile-search {
        display: block;
        clear: both;
        margin-bottom: 30px;
    }

    .product-mobile-search .woocommerce-product-search {
        position: relative;
        width: 100%;
        margin: 0;
    }

    .product-mobile-search .search-field {
        width: 100%;
        height: 50px;
        padding: 0 65px 0 24px;
        border-radius: 36px;
        background: var(--white);
    }

    .product-mobile-search button {
        position: absolute;
        top: 0;
        right: 0px;
        width: 50px;
        height: 50px;
        min-width: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
        background: transparent;
        color: transparent;
        font-size: 0;
    }

    .product-mobile-search button::after {
        font-family: FontAwesome;
        color: var(--main) !important;
        content: "\f002";
        font-size: 18px;
    }

    .product-sidebar .product-sidebar-search {
        display: none;
    }

    .product-list-page .product-list-toolbar {
        min-height: 0;
    }

    .product-list-page .woocommerce-result-count {
        padding-right: 25px;
    }

    .product-list-page .woocommerce-ordering {
        position: static;
        margin-bottom: 25px;
    }

    .product-list-page .products li.product .post_content {
        min-height: 0;
    }

}
