/* CATEGORY PAGE */

/* body#category #left-column > #left-content > div:nth-child(3), 
body#category #left-column > #left-content > div:nth-child(4),
body#category #left-column > #left-content > div:nth-child(5) {
    display: none;
}

*/

body#category #left-column.expanded {
    flex: 1;
    max-width: 386px;
}

body#category #left-content.is_stuck {
    top: 130px !important;
}

body#category #content-wrapper.sidebar-open {
    flex: 1;
}

body#category div#_desktop_facets_search {
    max-height: 70vh;
    overflow: auto;
    overflow-x: hidden;
    margin-top: -8px;
    /* padding-top: 21px; */
    padding-top: 8px;
    padding-right: 11px;
    border-bottom: unset;
}

body#category div#mobile_facets_search > #search_filters_wrapper {
    padding: 13px;
}

body#category div#search_filters {
    display: flex;
    flex-direction: column;    
}

body#category #close-sidebar {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    line-height: 19.5px;
    letter-spacing: 0%;
    width: calc(100% - 15px);
    justify-content: flex-start;
    margin-bottom: 0px;
    border-bottom: 1px solid #D9D9D9;   
    background-color: white; 
}

/* ACORDEON */

body#category #search_filters .widget-facet-search {
    height: auto;
    transition: all 1.5s ease-in-out;
}

body#category #search_filters .widget-facet-search.collapsed {
    height: 36px;
    overflow: hidden;
    transition: all 1.5s ease-in-out;
}

body#category #search_filters .widget-title {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

/* TITULOS */

body#category #search_filters .widget-title.h3{
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 17.07px;
    letter-spacing: 0%;
}

body#category #canvas-facets-search .title-canvas-widget {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    line-height: 19.5px;
    letter-spacing: 0%;
    color: #242424;
}

body#category #canvas-facets-search > .canvas-widget-top > .title-canvas-widget.poz-canvas-title {
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
    padding-bottom: 10px;
    font-family: Montserrat;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 19.5px !important;
    letter-spacing: 0%;
    color: #242424 !important;
    border-bottom: 1px solid #D9D9D9 !important;
    margin-bottom: 0px;
}

body#category #canvas-facets-search > .canvas-widget-top > .title-canvas-widget.poz-canvas-title::after {
    top: 30px;
    right: 20px;
    font-size: 15px !important;
    width: 10px !important;
    line-height: 10px !important;
}

body#category #search_filters .widget-facet-search.poz-facet-position-0 {
    order: 0;
}

body#category #search_filters .widget-facet-search.poz-facet-position-last {
    order: 1;
}

.active_filters{
    position: absolute;
    left: 105px;
    top: 2px;
}

.list-group-category{
    margin: 2em 0;
    column-count: 4;
}

body#category #search_filters .widget-title.h3{
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 17.07px;
    letter-spacing: 0%;
}


body#category #search_filters .widget-facet-search.poz-facets-position-0,
body#category #search_filters .widget-facet-search.poz-facets-position-1,
body#category #search_filters .widget-facet-search.poz-facets-position-2,
body#category #search_filters .widget-facet-search.poz-facets-position-last {
    margin-bottom: 15px;
    padding-bottom: 30px;
    border-bottom: 1px solid #D9D9D9;
}

body#category #search_filters .widget-facet-search.poz-facets-position-0 {
    order: 0;
}

body#category #search_filters .widget-facet-search.poz-facets-position-1 {
    order: 1;
}

body#category #search_filters .widget-facet-search.poz-facets-position-2 {
    order: 2;
}

body#category #search_filters .widget-facet-search.poz-facets-position-last {
    order: 3;
}

.active_filters{
    position: absolute;
    left: 105px;
    top: 2px;
}

body#category #search_filters .widget-title.h3 span.poz-facet-title {
    text-transform: capitalize;
}

/* FACET : PRICE */

body#category #search_filters .ui-slider {
    margin-left: 3px;
    margin-right: 6px;
}

body#category #search_filters .ui-slider .ui-slider-handle::after {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid #777777;
    background-color: white !important;
}

/* FACET : PRECIO */
body#category #search_filters .widget-facet-search .faceted-slider > p {
    display: flex;
    justify-content: center;
    margin-bottom: 7px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12px;
    line-height: 14.63px;
    letter-spacing: 0%;
    text-align: center;
    color: #474747;
}

body#category #search_filters .widget-facet-search .faceted-slider > p span {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12px;
    line-height: 14.63px;
    letter-spacing: 0%;
    text-align: center;
    color: #474747;
}


body#category #search_filters .widget-facet-search .faceted-slider > p > span:first-child:before {
    content: "Desde ";
}

body#category #search_filters .widget-facet-search .faceted-slider > p > span:last-child:before {
    content: " hasta ";
}

/* FACET : MARCA */

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_marcas {
    max-width: 364px;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_marcas li {
    flex: 1 1 16.666%;
    max-width: 56px;
    min-height: 57px;
    padding: 2px 1.5px;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_marcas li label {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 57px;
    padding: unset;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_marcas li label span.custom-checkbox {
    width: 100%;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_marcas li label span.custom-checkbox span.ps-shown-by-js {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border: unset !important;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_marcas li label span.custom-checkbox span.ps-shown-by-js > img {
    width: 60%;  
    object-fit: cover;
    margin: auto;
    margin-right: unset !important;
}


body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_marcas li label span.text {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 8px;
    line-height: 9.75px;
    letter-spacing: 0%;
    text-align: center;
}

/* FACET : TALLAS */

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_tallas {
    max-width: 364px;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_tallas li {
    flex: 1 1 33.333%;    
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_tallas li label.has-magnitude {
    display: flex;
    gap: 0px;
    padding: unset !important;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_tallas li label span.text {
    display: flex;
    gap: 9px;
    align-items: center;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12px;
    line-height: 14.63px;
    letter-spacing: 0%;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_tallas li label span.text > span.poz-magnitude {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 10px;
    line-height: 12.19px;
    letter-spacing: 0%;
    color: #474747;
}

/* FACET : COLOR */

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_color {
    display: flex;
    gap: 5px;
    max-width: 364px;        
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_color li {
    flex: auto;  
    width: 23px;
    height: 23px;  
    max-width: 23px;
}

body#category #search_filters .widget-facet-search .wrapper-scroll-content > ul.facet-type-checkbox.facet_color li label span.custom-checkbox span.ps-shown-by-js {
    width: 23px;
    height: 23px;  
    max-width: 23px;
    border-radius: 50%;    
    background-repeat: no-repeat;
    background-size: cover;
}


/* CUSTOM SCROLLBAR */

/* Tamaño del scroll */
body#category div#_desktop_facets_search::-webkit-scrollbar {
    width: 4px;
}

/* Estilos barra (thumb) de scroll */
body#category div#_desktop_facets_search::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 12px;
}

body#category div#_desktop_facets_search::-webkit-scrollbar-thumb:active {
    background-color: #424242;
}

body#category div#_desktop_facets_search::-webkit-scrollbar-thumb:hover {
    background: #424242;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Estilos track de scroll */
body#category div#_desktop_facets_search::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 12px;
}

body#category div#_desktop_facets_search::-webkit-scrollbar-track:hover, 
body#category div#_desktop_facets_search::-webkit-scrollbar-track:active {
    background: #d4d4d4;
}