﻿.hidden-by-category {
    display: none;
}

.hidden-by-slider {
    display: none;
}

.hidden-by-brand {
    display: none;
}

.filter-bar {
  padding: 0px 0px 28px 0px;
  background-color: var(--grey-50);
  height: calc(100vh - 60px);
  overflow-y: scroll;
  scrollbar-width: none; 
}

    .filter-bar .filter-title {
        height: 49.5px;
        font-size: 14px;
        padding: 0px 19px 0px 19px;
        background-color: var(--pine-green-50);
        font-family: Montserrat;
        font-weight: 600;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.29;
        letter-spacing: normal;
        text-align: left;
        color: var(--grey-800);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .filter-bar .filters {
        padding: 12px 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }


        .filter-bar .filters .divider {
            flex-grow: 0.2;
            align-content: center;
        }

            .filter-bar .filters .divider div {
                height: 1px;
                align-self: stretch;
                flex-grow: 0;
                background-color: #d9d9d9;
            }

.filters h4 {
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.29;
    letter-spacing: normal;
    text-align: left;
    color: var(--grey-800);
}

.filters .filter-header {
    display: flex;
    justify-content: space-between;
}

    .filters .filter-header .product-quantity {
        font-family: Montserrat;
        font-size: 10px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.4;
        letter-spacing: normal;
        text-align: left;
        color: var(--grey-800);
    }

    .filters .filter-header .clear-filter {
        display: none;
        font-family: Montserrat;
        font-size: 10px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.4;
        letter-spacing: normal;
        text-align: left;
        color: var(--color-pacific-blue);
        text-decoration: underline;
    }

.filters .filter-promotion {
    font-family: Montserrat;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.29;
    letter-spacing: normal;
    text-align: left;
    color: var(--grey-800);
}

.filters .filter-features input {
    width: 100%;
}

.filter-bar .filter-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 26px;
    border-radius: 40px;
    font-family: Montserrat;
    background-color: var(--blue-900);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

/* ACCORDION */
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    color: #444;
    cursor: pointer;
    padding: 5px 0px width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    position: relative;
}

    .accordion::after {
        content: url(/Themes/Proquinorte/Content/images/arrows/top.svg);
        font-size: 12px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        transform: translateY(-50%) rotate(180deg);
    }

    .accordion.active::after {
        transform: translateY(0%) rotate(0deg);
    }

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .active, .accordion:hover {
    }

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0px 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .brand-content label {
        font-family: Montserrat;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.29;
        letter-spacing: normal;
        text-align: left;
        color: var(--grey-800);
    }

.category-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .category-content label {
        font-family: Montserrat;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.29;
        letter-spacing: normal;
        text-align: left;
        color: var(--grey-800);
    }

.features-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.slider-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-direction: column;
}


#slider-range {
    margin: 0 0 0 4px;
    width: 96%;
}

.prices {
    display: flex;
    gap: 12px;
}

    .prices div {
        text-align: start;
    }

#min-price, #max-price {
    text-align: start;
    padding: 5px;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.price-input-title {
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: var(--grey-800);
}

#slider-range .ui-widget-header {
    background-color: var(--color-pacific-blue);
}

#slider-range .ui-slider-handle {
    background-color: var(--color-pacific-blue);
    border: solid 3px var(--color-white);
    width: 18px;
    height: 18px;
    border-radius: 10px;
}

#slider-range .ui-corner-all {
}

.hidden-by-limit {
  display: none;
}

.toggle-view-more {
  all: unset;  
  display: block;
  margin-top: 5px;
  cursor: pointer;
  color: var(--pacific-blue-900);
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.75rem;
}

@media all and (min-width: 1001px) {
    .center-2 {
        width: 75%;
    }

    .side-2 {
        width: 25%;
    }
}

/* Tablet & mobile */
@media all and (max-width: 1000px) {
  .filter-bar {
    position: absolute;
    max-width: 356px;
    border-right: 1px solid var(--pacific-blue-100)
  }
}

/*Mobile*/
@media all and (max-width: 744px) {
  .br-filter {
    display: none;
  }

  .filter-bar {
    max-width: 100%;
    height: 100vh!important;
  }
}