/*
 * Category code goes here.
 * 
 */

.h1.page-title {
    font-size: 2rem !important;
    font-weight: 500 !important;
    line-height: 2.7rem;
}

/*PRODUCTS TOP*/
.select-title .select-title-name {
    display: inline;
}


/*SUBCATEGORIES*/
.product-list-subcategories {
    text-align: inherit;
    position: relative;
    height: 100%;
    width: 100%;
}
.product-list-subcategories .subcategories-item {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
    border-radius: 6px;
    background-color: #f9ecf1;
    border: 1px solid var(--color-corp);
    user-select: none;
    height: -webkit-fill-available;
}
.product-list-subcategories .subcategories-item .subcategories-item-link {
    color: var(--color-corp) !important;
    font-size: 18px;
    font-weight: 700 !important;
    display: block;
    padding: 0.6rem;
    width: 100%;
    height: 100%;
}
.product-list-subcategories .subcategories-item .subcategory-image img {
    width: 40px;
    height: 40px;
    border-radius: 32px !important;
    border: 2px solid var(--color-corp);
}
.product-list-subcategories .subcategories-items { 
    padding: 1rem 0;
    align-items: center;
    flex-flow: nowrap;
}
.subcategories-item--spacer {
    width: calc(0.7* 1rem) !important;
}
.swiper-horizontal > .swiper-scrollbar, 
.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: absolute;
    left: 1%;
    bottom: 3px;
    z-index: 50;
    height: 5px;
    width: 98%;
}
.swiper-scrollbar {
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
}
.swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background: rgba(243, 125, 137, 0.5);
    border-radius: 10px;
    left: 0;
    top: 0;
}

/*FILTERS*/
#facets_search_center {
    background: #fff;
    border: 1px solid var(--color-corp);
    border-radius: 6px;
}
.facet-type-checkbox:not(.facet_color) .facet-label:hover, 
.facet-type-radio:not(.facet_color) .facet-label:hover,
.facet-type-checkbox:not(.facet_color) .facet-label.active, 
.facet-type-radio:not(.facet_color) .facet-label.active {
    background: #efe3e3;
}
#active-search-filters .filter-block {
    .js-search-link {
        gap: 10px;
        padding: 5px 7px;
        border-radius: 18px;
        border: 1px solid #ffa8b2;
        background: #f9ecf1;
        color: #f37d89;
        font-weight: 700;
    }

    &.filter-block-all .js-search-link {
        background: #f37d89;
        color: #ffffff;
        .fa-inverse {
            color: #f37d89;
        }
    }
}

/*SORT ORDER*/
.products-sort-order .dropdown-products-sort-content .js-search-link {
    border: 2px solid #f37d89;
    border-radius: var(--border-radius);
    color: #000000;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
}
.products-sort-order .dropdown-products-sort-content .js-search-link.current {
    background-color: #f37d89;
}


/*DESCRIPTION*/
.category-description h2 {
    font-size: 1.5rem;
}
.category-description h3 {
    font-size: 1.125rem;
}
.category-description .rte-content a,
.category-description-bottom .rte-content a {
    color: #f37d89 !important;
}



/*SCROLLBAR*/
/* scroll width */
[id^="facet_"]::-webkit-scrollbar {
    width: 7px;
}
/* scroll track */
[id^="facet_"]::-webkit-scrollbar-track {
    background-color: #fff !important;
    box-shadow: inset 0 0 2px #999;
    border-radius: 30px;
}
[id^="facet_"]::-webkit-scrollbar-thumb {
    background-color: #efe3e3 !important;
    border-radius: 30px;
}


/*PAGINATION*/
.listing-progress-bar {
    max-width: 600px;
}
.listing-progress-bar .progress {
    background-color: #e9ecef;
    max-width: 300px;
}
.pagination .js-search-link i.fa {
    pointer-events: none;
    vertical-align: middle;
}

/*BLOCK CATEGORIES*/
.block-categories .category-sub-menu li .btn-link {
    border-radius: 6px;
    border: 1px solid var(--color-corp);
    color: var(--color-corp) !important;
    font-size: 18px;
    font-weight: 700 !important;
    display: block;
    padding: 0.6rem;
    width: 100%;
    max-width: fit-content;
    height: 100%;
    height: -webkit-fill-available;
    user-select: none;
}



