.horizontal-category-filter.container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    /*padding: 1.6rem 1.6rem 2.4rem 1.6rem;*/
    padding: 1.6rem 0 2.4rem 1.6rem;
    /*gap: 1.0rem;*/
    border: 0.1rem solid #747477;
    border-radius: 1.6rem;
}

@media (max-width: 767px) {
    .horizontal-category-filter.container {
        border: none;
        padding: 0 1.6rem 2.4rem 0;
        border-radius: 0;
    }
}
@media (max-width: 767px) {
    .horizontal-category-filter::-webkit-scrollbar {
        height: 0.4rem;
        background: transparent;
    }

    .horizontal-category-filter::-webkit-scrollbar-thumb {
        background: linear-gradient(89.97deg, #30BCEF 0.01%, #9ACB68 22.93%, #FAC434 70.32%, #F27D08 99.97%);
        border-radius: 0.4rem;
    }

    .horizontal-category-filter::-webkit-scrollbar-track {
        background: transparent;
    }

    @-moz-document url-prefix() {
        .horizontal-category-filter {
            scrollbar-width: thin;
            scrollbar-color: #30BCEF transparent;
        }
    }
}

.category-filter-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    text-decoration: none;
    width: 14.2rem;
    height: 4.8rem;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.7rem;
    gap: 0.8rem;
    background: #F0F0F1;
    border-radius: 0.8rem;
    padding: 0.8rem 0.8rem 0.8rem 1.6rem;
}

.category-icon {
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
}

.category-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.category-title {
    font-size: 1.2rem;
    color: #070A0A;
}

.horizontal-filter-sidebar-container .widget {
    margin-bottom: 0;
}

.product-grid {
    margin-bottom: 4.8rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: 1.6rem;
}

.product-item {
    height: 35.0rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 20.8rem;
    border: 0.1rem solid #747477;
    border-radius: 1.6rem;
    transition: width 0.3s ease-in-out;
}

.product-item:hover {
    transition: width 0.3s ease-in-out;
    /*width: 26.0rem;*/
    box-shadow: 0 2.9rem 1.1rem rgba(136, 136, 145, 0.03), 0 1.6rem 1.0rem rgba(136, 136, 145, 0.1), 0 0.7rem 0.7rem rgba(136, 136, 145, 0.17), 0 0.2rem 0.4rem rgba(136, 136, 145, 0.2);
    /*filter: drop-shadow(0 2.9rem 1.1rem rgba(136, 136, 145, 0.03)) drop-shadow(0 1.6rem 1.0rem rgba(136, 136, 145, 0.1)) drop-shadow(0 0.7rem 0.7rem rgba(136, 136, 145, 0.17)) drop-shadow(0 0.2rem 0.4rem rgba(136, 136, 145, 0.2));*/
}

.product-item img {
    width: 100%;
    min-height: 18.2rem;
    max-height: 18.2rem;
    /*object-fit: cover;*/
    object-fit: contain;
    transition: min-height 0.3s ease-in-out;
}
.product-item > a {
    width: 100%;
    height: 100%;
}

.product-item:hover img {
    /*min-height: 20.2rem;*/
    transition: min-height 0.3s ease-in-out;
}

.product-info {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    padding: 1.6rem;
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 140%;
    color: #F27D08;
    margin: 0;
}

.product-name {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 140%;
    color: #070A0A;
    margin: 0.8rem 0 0;
}

.product-brand {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 140%;
    color: #747477;
    margin: 0.8rem 0 0;
}
.product-brand span {
    text-transform: lowercase;
}
.product-colors {
    margin: 0.8rem 0 0;
    display: flex;
    grid-gap: 0.8rem;
}

.product-colors .color-swatch {
    width: 3.0rem;
    height: 3.0rem;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
}

.product-sizes {
    margin: 0.8rem 0 0;
}

.product-sizes p {
    margin: 0.8rem 0 0;
}

@media (max-width: 767px) {
    .product-grid {
        grid-gap: 0.8rem;
        max-width: 42.8rem;
        margin: 0 0 4.0rem;
        padding: 0 1.6rem;
    }

    .product-item a {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    .product-item {
        width: 100%;
        height: auto;
    }

    .product-item:hover {
        transition: none;
        width: auto;
        filter: none;
    }

    .product-item img {
        width: 19.8rem;
        min-height: 12.4rem;
        object-fit: cover;
        transition: none;
    }

    .product-item:hover img {
        min-height: 12.4rem;
        transition: none;
    }

    .product-info {
        width: 19.8rem;
        padding: 1.6rem 0.8rem;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .product-name, .product-brand {
        font-size: 1.2rem;
    }

    .product-colors .color-swatch {
        width: 1.6rem;
        height: 1.6rem;
    }
}

.blank-product-spinner, .blank-product-overlay {
    display: none;
}

.custom-product-grid-wrap.loading .blank-product-spinner,
.custom-product-grid-wrap.loading .blank-product-overlay {
    display: block;
}

.blank-product-spinner {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-product-grid-wrap {
    position: relative;
}

.blank-product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
}

.blank-product-spinner:before {
    content: "";
    display: inline-block !important;
    border: 0.2rem solid transparent;
    border-top-color: #30bcef;
    width: 4.0rem;
    height: 4.0rem;
    animation: spin 0.75s infinite linear;
    border-image: none;
    border-radius: 50%;
    vertical-align: middle;
    position: absolute;
    margin: auto;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.header-content-top{
    font-family: 'Open Sauce One', sans-serif;
    font-size: 3.4rem;
    line-height: 4.2rem;
    font-weight: 700;
    text-align: center;
    margin: 8.0rem 0 6.4rem 0;
    color: #070A0A;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .header-content-top{
        letter-spacing: -0.01rem;
        line-height: 2.9rem;
        font-size: 2.4rem;
        margin: 4rem 0;
    }
}

.category-name{
    font-size: 3.2rem;
    line-height: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 4.0rem 0;
    color: #070A0A;
    padding-left: 25.4rem;
}

.content-expandable .category-item:has(ul) > label {
    display: flex;
    justify-content: space-between;

}
.content-expandable .category-item:has(ul) > label:after {
    content: '+';
}
.content-expandable .category-item:has(ul.expanded) > label:after {
    content: '-';
}

.category-filter-list ul {
    overflow: hidden;
    max-height: 0;
    /*padding: 1rem 0 0 1.4rem !important;*/
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.category-filter-list ul.expanded {
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 1rem 0 0 1.4rem !important;
}

@media (max-width: 767px) {
    .category-name{
        font-size: 2rem;
        line-height: 2.8rem;
        margin: 4.0rem 0 2.4rem 0;
        padding: 0;
    }
}

.shopping-by-type{
    font-size: 1.6rem;
    line-height: 2.2rem;
    font-weight: 700;
    color: #070A0A;
    margin: 0.8rem 0 3.6rem 0;
    text-transform: uppercase;
}

.sort-by-select {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.6rem;
    gap: 0.8rem;
    width: 19.6rem;
    height: 3.6rem;
    background-color: rgba(222, 237, 208, 0.4);
    border: 0.1rem solid #747477;
    border-radius: 0.8rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/wp-content/themes/porto-child1/images/icons/select-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 0.7rem;
}
.sort-by-select option {
    background: #FBFCFC;
}
.sort-by-select option[selected] {
    background: #EFF6EA;
}

.sort-by-select:focus {
    outline: none;
}

.sort-by{
    padding-right: 4.4rem;
}

.horizontal-category-filter .types{
    justify-content: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    padding: 0;
    gap: 1.6rem;
}

@media (max-width: 767px) {
    .horizontal-category-filter .types{
        flex-wrap: nowrap;
        gap: 0.8rem;
    }
}

.mobile-filter-sort{
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    width: 100%;
    max-width: 39.5rem;
    margin-top: 2.4rem;
}

@media (min-width: 992px) {
    .mobile-filter-sort{
        display: none;
    }
}

.custom-sidebar-toggle {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /*padding: 0.8rem 1.6rem;*/
    gap: 0.8rem;
    margin: 0 auto;
    width: 19rem;
    height: 3.6rem;
    border: 0.1rem solid #747477;
    border-radius: 0.8rem;

    /*font-family: 'Poppins';*/
    font-style: normal;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 140%;
    cursor: pointer;
    padding: 0.8rem 1.6rem 0.8rem 4.2rem;
    color: #070A0A;

    background: rgba(48, 188, 239, 0.4) url("/wp-content/themes/porto-child1/images/icons/arrow-right.svg") no-repeat right 1.2rem center;
    background-size: 0.4rem;
}

.custom-sidebar-toggle:before {
    content: "";
    position: absolute;
    width: 2rem;
    height: 2rem;
    background-image: url("/wp-content/themes/porto-child1/images/icons/marketeq_filter.svg");
    background-repeat: no-repeat;
    background-size: contain;
    top: 0.8rem;
    left: 1.6rem;
}

.mobile-filter-sort .sort-by-select{
    font-style: normal;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 140%;
    cursor: pointer;
    padding: 0.8rem 1.6rem;
    color: #070A0A;
}

.mobile-filter-sort .sort-by-select option[selected]{
    background: #DEEDD066;
}

.mobile-filter-sort .sort-by-select option:hover {
    background: #DEEDD066;
}

.mobile-filter-sort .sort-by-select option:checked {
    background: #DEEDD066;
}

@media (max-width: 991px) {
    .mobile-container, .row.mobile-container {
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
    }
}

@media (max-width: 991px) {
    .mobile-container.no-paddings, .row.mobile-container.no-paddings {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    .blank-products-category .container {
        /*max-width: 96rem;*/
        max-width: 112rem;
    }
}
@media (min-width: 1340px) {
    .blank-products-category .container {
        max-width: 136rem;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: none;
    }
    .sort-by{
        padding: 0;
    }
    .sort-by label {
        margin: 0 0 1.6rem;
        font-family: 'Open Sauce One', sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 1.3rem;
        line-height: 140%;
        letter-spacing: 0.06em;
    }
    .horizontal-category-filter.container {
        flex-direction: column;
    }
    .sort-by select {
        display: none;
    }
    .sidebar-toggle:not(.custom-sidebar-toggle){
        display: none !important;
    }
}

.widget.widget_block p:empty {
    display: none;
}

#custom-filter-form {
    /*max-width: 23.1rem;*/
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1.6rem 4.8rem 1.6rem;
    gap: 1.6rem;
    border: 0.1rem solid #747477;
    border-radius: 1.6rem;
}
.filter-brand .brands-filter-list,
.filter-categories ul {
    display: flex;
    flex-direction: column;
    grid-gap: 0.8rem;
}
.filter-color ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.filter-categories-container {
    width: 100%;
}
.filter-expandable {
    width: 100%;
    cursor: pointer;
}

.content-expandable {
    margin-bottom: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.filter-expandable h4 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 2.4rem;
    width: 100%;
    position: relative;
    font-family: 'Open Sauce One';
    font-style: normal;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 140%;
    text-transform: uppercase;
    color: #070A0A;
}

.filter-expandable h4:not(.expanded) .expand-minus,
.filter-expandable h4:not(.collapsed) .expand-plus {
    display: none;
}

.filter-expandable:nth-child(3n+1) h4.expanded {
    background-color: rgba(48, 188, 239, 0.1);
}

.filter-expandable:nth-child(3n+2) h4.expanded {
    background-color: rgba(154, 203, 104, 0.1);
}

.filter-expandable:nth-child(3n) h4.expanded {
    background-color: rgba(242, 125, 8, 0.1);
}

.filter-expandable:nth-child(3n+1) h4 svg {
    color: rgba(48, 188, 239, 1);
}

.filter-expandable:nth-child(3n+2) h4 svg {
    color: rgba(154, 203, 104, 1);
}

.filter-expandable:nth-child(3n) h4 svg {
    color: rgba(242, 125, 8, 1);
}
.porto-woo-category-sidebar.left-sidebar .pin-wrapper {
    height: auto !important;
}

@media (min-width: 992px) {
    .porto-woo-category-sidebar.left-sidebar.mobile-sidebar,
    .fake-sidebar{
        width: 23.1rem;
        padding-left: 0;
        padding-right: 0;
        margin-right: 2.4rem;
        padding-bottom: 0;
    }
}

@media (min-width: 992px) {
    .main-content{
        /*width: 110.5rem !important;*/
        width: 88.5rem !important;
        margin-left: 0 !important;
        padding-bottom: 0 !important;
    }
}

.content-expandable label{
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 160%;
    display: flex;
    align-items: center;
    color: #747477;
    cursor: pointer;
}

.content-expandable input {
    position: absolute;
    width: 1px;
    height: 1px;
    left: -99999rem;
}

.content-expandable input:checked + label {
    color: #30BCEF;
}

.content-expandable.sizes-filter-list input:checked + label {
    border-color: #30BCEF;
}

.content-expandable .color-swatch {
    width: 3.0rem;
    height: 3.0rem;
    border: 1px solid #747477;
    margin-right: 1rem;
    margin-bottom: 0.4rem;
}

.sizes-filter-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    /*padding: 0;*/
    gap: 0.8rem;
    padding: 1px 0 0;
}

.sizes-filter-list label{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    gap: 1rem;
    /*width: 4.1rem;*/
    min-width: 4.1rem;
    height: 3.3rem;
    border: 0.1rem solid #747477;
    border-radius: 0.4rem;
}

.blank-pagination {
    margin-top: 4.8rem;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 0.8rem;
    list-style: none;
}

.blank-pagination .page-numbers {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 160%;
    color: #070A0A;
    padding: 0.8rem 1.2rem;
    border-radius: 0.8rem;
}
.blank-pagination .page-numbers:hover{
    background: #F5F5F5;
}

.blank-pagination .pagination-item.disabled a{
    color: #747477;
}

.blank-pagination .page-numbers.current{
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #070A0A;
    border-radius: 0.8rem;
}
.blank-pagination .page-numbers.current:hover{
    background: #1E1E1E;
}


@media (max-width: 767px) {
    .mobile-container, .row.mobile-container {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }
    .custom-product-grid-wrap + .elementor {
        margin: 0 -1.6rem;
    }
}

.hidden {
    display: none;
}
.hidden-category-sidebar .sidebar-overlay,
.hidden-category-sidebar .sidebar {
    display: none;
}
.hidden-category-sidebar.custom-products-page .container .main-content {
    width: 100% !important;
}
.hidden-category-sidebar.custom-products-page ul.products:not(.owl-carousel) {
    grid-template: auto / repeat(5, 1fr);
}
/*FOR products page not categories needed*/
.hidden-category-sidebar.custom-products-page .category-name {
    padding: 0;
    margin-top: 4rem;
}
.custom-products-page .page-header-6 .container {
    padding: 0;
}
.custom-products-page .page-header-6 {
    padding: 0;
    margin-top: 8rem;
}
.custom-products-page .page-header-6 ul li:first-child {
    display: none !important;
}
.custom-products-page .page-header-6 ul li {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 160%;
    color: #070A0A !important;
    text-transform: capitalize;
    display: flex;
    align-items: center;
}

.custom-products-page .page-header-6 ul li:last-child {
    color: #30BCEF !important;
}
.custom-products-page .page-header-6 ul li i {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.8rem !important;
    height: 2rem;
    width: auto; !important;
}
.custom-products-page .page-header-6 ul li i:before {
    content: '' !important;
    background-image: url("../images/icons/arrow-right.svg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    right: auto !important;
}

.custom-products-page .filter-expandable {
    border-bottom: 1px solid #747477;
}
.custom-products-page .filter-expandable .collapsed {
    margin-bottom: 0;
}
.custom-products-page .filter-categories-container {
    display: flex;
    flex-direction: column;
    grid-gap: 1.6rem;
}
.custom-products-page .filter-expandable .expanded + .content-expandable {
    margin-bottom: 1rem;
}
.custom-products-page:has(.product-item) .horizontal-category-filter.custom-products-filter .sort-by-select {
    width: 23.1rem;
}
.custom-products-page:has(.product-item) .horizontal-category-filter.custom-products-filter .sort-by {
    position: relative;
    z-index: 1;
    padding: 0;
}
.custom-products-page:has(.product-item) .category-name {
    padding: 0 0 0 25.5rem;
    margin-top: -4rem;
}
.custom-products-page .horizontal-category-filter.custom-products-filter {
    margin-top: 4.4rem;
    padding: 0;
    border: none;
    border-radius: 0;
}
.custom-products-page .horizontal-category-filter.custom-products-filter label {
    display: none;
}
.custom-products-page .filter-expandable .color-item input:checked + label .color-swatch {
    border-color: #30bcef;
}
@media(max-width: 767px) {
    .custom-products-page:has(.product-item) .category-name {
        padding: 0;
        margin-top: 4.8rem;
    }
    .custom-products-page .mobile-filter-sort.custom-products-filter .sidebar-toggle.custom-sidebar-toggle:after {
        content: '';
        position: absolute;
        right: 1.2rem;
        top: 50%;
        transform: translateY(-50%);
        background-image: url("../images/icons/arrow-filled.svg");
        background-size: cover;
        display: block;
        width: 0.4rem;
        height: 0.8rem;
    }
    .custom-products-page .horizontal-category-filter.custom-products-filter {
        margin-top: 0;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    .custom-products-page .horizontal-category-filter.custom-products-filter label {
        display: none;
    }

    .custom-products-page .page-header-6 {
        margin-top: 4.8rem;
        padding: 0 1.6rem;
    }
    .hidden-category-sidebar.custom-products-page ul.products:not(.owl-carousel) {
        grid-template: auto / repeat(2, 1fr);
    }
}
