.post-type-archive-product,
.page-template-page-application  {

    #wrapper {

        #main {
            padding-top:0;
            padding-left:0;
            padding-right:0;

            .fusion-row {
                display: block;
                max-width:100%;
            }

        }

    }

    .container {
        max-width:1170px;
        width: 100%;
    }

    .profile_loader {
        height: 100%;
    }

    .profile_loader--show {
        position: fixed;
        z-index:99999;
    }

}

.product_header {
    position: relative;
    padding-block: 3rem;

    .container {
        position: relative;
        z-index: 2;

        > div {
            padding:2em;
            position: relative;
            color: #f2e9db;

            h1 {
                color: #f2e9db;
                margin:0 0 1rem 0;
            }

            p {
                color: #f2e9db;
                font-size:1.1rem;
                line-height:1.8rem;
            }

            &::after {
                background-color: #3e3a31;
                opacity: 0.9;
                content:"";
                height: 100%;
                position: absolute;
                inset:0;
                width: 100%;
                z-indeX:-1;
            }
        }

    }

    img {
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset:0;
        width: 100%;
        z-index:1;
    }

}

@media(min-width:992px) {

    .product_header {

        padding-block: 8rem;

        .container > div  {
           max-width:50%;
        }
    
    }

}

.product_filters {
    background-color: #f2e9db;
    border-bottom: 1px solid #3e3a31;
    border-top: 1px solid #3e3a31;
    margin-bottom: 3rem;
}

.product_filters_container {
    font-family: var(--body_typography-font-family);
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: space-evenly;
    max-width:var(--site_width);
}


@media(min-width:992px) {
.product_filters_container {
        flex-wrap: nowrap;
    }

}

@media(min-width:1225px) {
    .product_filters_container {
            border-right:1px solid #3e3a31;
            border-left:1px solid #3e3a31;
        }
    
    }

.product_filters .container {
    overflow: visible;
}

@media(max-width:991.9px) {
    .product_filters .container {
        padding:0;
    }
}
    
.product_filter {
    border-bottom:1px solid #3e3a31;
    position: relative;
    width: 100%;
}


.product_filter:hover .product_filter__options {
        visibility: visible;
        opacity: 1;
        transition: 0.3s all ease-in-out;
}


@media(min-width:992px) {
    .product_filter {
        border-bottom: 0;
        border-right:1px solid #3e3a31;
    }   
}

.product_filter:last-child {
    border-right: 0;
}

.product_filter button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    align-items: center;
    background-color: transparent;
    color: #3e3a31;
    font-family: var(--body_typography-font-family);
    border:0;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding:1rem;
    font-size:1.1rem;
    width: 100%;
    text-align: left;

    &:hover {
        background-color: #fff;
    }

    .toggle--close {
        display: none;
    }

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

}

.product_filter__options {
    background-color: #fff;
    display: none;
    border-top: 0;
    padding:1rem;
    width: 100%;
    transition: 0.3s all ease-in-out;
}

@media(max-width:991.9px) {

    .product_filter--show button {
        background-color: #fff;
    }

    .product_filter--show .product_filter__options {
        display: block;
    }

    .product_filter--show .toggle--open {
        display: none;
    }

    .product_filter--show .toggle--close {
        display: block!important;
    }
}

@media(min-width:992px) {

    .product_filter__options {
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
        display: block;
        padding:1.5rem 1rem;
        position: absolute;
        opacity: 0;
        left:0;
        top:53px;
        z-index:9999;
        visibility: hidden;
        width: 100%;
    }

}

.product_filter__options > div {
    display: flex;
    flex-direction: column;
    gap:0.5rem;
}

.product_filter__options  .facetwp-facet {
    margin-bottom:0;
}

.product_filter__options .facetwp-checkbox {
    background:none;
    font-weight: 600;
    margin:0;
    padding-left:0;
}

.product_filter__options .facetwp-checkbox.checked {
    background:none;
    opacity: 0.8;
}

.product_filter__options .facetwp-checkbox.disabled {
 text-decoration: line-through;
}


/* 
.product_filter__options > div input {
    /* position: absolute;
    opacity: 0; 
}

.product_filter__options p {
    margin:0;
}

.product_filter__options p,
.product_filter__options > div label {
    font-weight: 600;
}

.product_filter__options > div label:hover {
    cursor: pointer;
}

.product_filter__options p.inactive,
.product_filter__options > div label.inactive {
    cursor:default;
    text-decoration: line-through;
     opacity: 0.4;

  }

.product_filter__options p:not(.inactive), 
.product_filter__options--active, 
.product_filter__options > div label:hover,
.product_filter__options > div input:checked + label {
     opacity: 0.8; 
  }


  .product_filter__options .product_filter__options--application label:hover {
    cursor: default;
  } */

.product_grid {
    display: grid;
    gap:3rem 1.5rem;
    grid-template-columns:100%;
}

@media (min-width:500px) {
    .product_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:768px) {
    .product_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width:992px) {
    .product_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product_tile {
    position: relative;
}

.product_tile:hover img {
    scale: 1.1;
    transition: 0.3s all ease-in-out;
}

.product_tile__img {
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
}

.product_tile__img img.wp-post-image {
    height: 100%;
    inset:0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    scale: 1;
    transition: 0.3s all ease-in-out;
}


.product_tile a.product_tile__link {
    height: 100%;
    inset:0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index:8;
}

.product_tile .yith-ywraq-add-to-quote {
    background-color: rgba(47,48,42, 0.6)!important;
    opacity: 0;
    color:#fff;
    bottom:0;
    font-size: 0.9em!important;
    position: absolute;
    z-index:9;
    width: 100%;
    text-align: center;

    a.add-request-quote-button {
        border:0!important;
        color:#fff;
        margin:0;
        padding:1em!important;
        position: relative;
        width: 100%;
    }

}

.product_tile:hover .yith-ywraq-add-to-quote {
    opacity: 1;
}

.product_tile  .yith_ywraq_add_item_product_message {
    color:#fff!important;
}

/* .product_tile .yith_ywraq_add_item_response_message.show
.product_tile .yith_ywraq_add_item_browse_messages,
.product_tile  .yith_ywraq_add_item_browse_message  {
    display: none!important;
} */

.product_tile  .yith_ywraq_add_item_response_message {
padding-top:1em;
line-height: 20px;
}

.product_tile  .yith_ywraq_add_item_browse_message  a {
    color:#fff;
    display: block;
    margin-top:8px;
    padding-bottom:1em;
}


.product_tile .yith_ywraq_add_item_product_message {
    color:#fff;
    padding:1em 0;
}


.facetwp-selections {

    margin-bottom: 2em;

    ul {
        padding: 0;

    .facetwp-selection-value {
        background-position: left center;
        padding-left:1.25em;
    }

    .facetwp-selection-label  {
        display: none;
    }

    }

}

/* .results_bar_filtered, 
.results_bar {
    display: flex;
    gap:1em;
    margin-bottom: 3em;
}

.results_bar_filtered {
    margin-bottom: 0;
}

.results_bar > div {
    position: relative;
}

.results_bar label {
    align-items: center;
    color:#000;
    display: flex;
    gap:0.25rem;
    font-weight: 400;
}

.results_bar label:hover {
    cursor: pointer;
    font-weight: 600;
}

.results_bar  input {
    /* position: absolute;
    opacity: 0;
    z-index:-1; 
}

.selected_specie button {
    border:0;
    color:#000;
    background-color: transparent;
    align-items: center;
    display: flex;
    font-size:1em;
    gap:0.25rem;

    &:hover {
        cursor: pointer;
        font-weight: 600;
    }

} */

