/* calypso updates */
.calypso-style .nw-woo-filter-controls-container{
    padding:0;
}
.calypso-style .nw-woo-filter-controls-container .filter-by-label{
    margin-right: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
    font: normal normal normal 16px/24px Indivisible;
    letter-spacing: 0px;
    color: #354A51;
    opacity: 0.6;
}
.woocommerce .nw-woo-filter-wrapper.calypso-style .woocommerce-ordering select {
    background-image: url('../images/woocommerce/dropdown_arrow_down.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 12px;
}
.calypso-style .nw-widget-wrapper.list-style button.nw-filter-button{
    padding: 10px 35px 10px 20px;
    background-image: url('../images/woocommerce/dropdown_arrow_down.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 12px;
    border: 1px solid #BCBAB4;
    border-radius: 3px;
    background-color: transparent;
    font: normal normal normal 16px / 16px Indivisible;
    letter-spacing: 0px;
    color: #354A51;
}
.calypso-style .nw-widget-wrapper.list-style button.nw-filter-button:after {
    right: 9px;
}

.woocommerce .calypso-style .nw-widget-wrapper .nw-price-range-button,
.woocommerce .calypso-style .nw-widget-wrapper .nw-filter-clear-button,
.woocommerce .calypso-style .nw-widget-wrapper .nw-filter-show-more-button{
    border-radius: 2px;
    border: none;
    background-color: transparent;
    font-weight: 500;
    font-size: 16px;
    text-decoration: underline;
}
.woocommerce .calypso-style .nw-widget-wrapper .nw-price-range-button:hover,
.woocommerce .calypso-style .nw-widget-wrapper .nw-filter-clear-button:hover,
.woocommerce .calypso-style .nw-widget-wrapper .nw-filter-show-more-button:hover{
    opacity: 0.75;
    border: none;
    background-color: transparent;
}
.woocommerce .calypso-style .nw-woo-filter-wrapper .nw-woo-filter-results-container .woocommerce-result-count{
    margin: 5px 0 5px 20px;
}
.calypso-style .nw-widget-wrapper.list-style button.nw-filter-clear-button.button{
    padding: 9px 10px 8px 10px;
    margin-top: 0.625rem;
}
.calypso-style .nw-widget-wrapper button.nw-filter-clear-button:after {
    display: none;
}
.calypso-style .nw-woo-filter-wrapper button.mobile-filters-button.has-active-filters,
.calypso-style .nw-woo-filter-wrapper .mobile-filters-button{
    text-align: left;
    font-weight: normal;
    text-transform: none;
    font-size: 15px;
    background-color: var(--filter-white);
    color: var(--filter-text);
    border: 1px solid var(--filter-grey);
    border-radius: 2px;
    height: 36px;
    width: 100%;
    margin-right: 5px;
}
.calypso-style .nw-woo-filter-wrapper button.mobile-filters-button.has-active-filters .filter-label:after{
    background-color: var(--filter-light-grey);
}
.calypso-style .nw-woo-filter-controls-container .filter-mobile-header .mobile-filter-title{
    padding:10px 0 10px 0;
}
.calypso-style .nw-woo-filter-controls-container .filter-dropdown-close{
    padding:10px 0 10px 10px;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown-inner .nw-widget-mobile-dropdown-heading .nw-go-back,
.calypso-style .nw-widget-wrapper .nw-widget-dropdown-inner .nw-widget-mobile-dropdown-heading .mobile-filter-title,
.calypso-style .nw-widget-wrapper .nw-widget-dropdown-inner .nw-widget-mobile-dropdown-heading .filter-dropdown-close{
    margin-top:-10px;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown-inner .nw-widget-mobile-dropdown-heading .mobile-filter-title{
    padding-left: 20px;
}
.calypso-style .nw-widget-wrapper.initial-empty.empty-filter:not(.selected) .nw-filter-button{
    display: none;
}
.calypso-style .nw-widget-wrapper.empty-filter.active-container .nw-widget-dropdown-inner{
    display: none;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item.empty-option:not(.checked){
    display: none;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item.checked label span.checkmark {
    background-image: unset;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li label span.checkmark {
    position: absolute;
    height: 18px;
    width: 18px;
    min-height: 18px;
    min-width: 18px;
    background-color: var(--filter-white);
    border-radius: 2px;
    border: 1px solid var(--filter-grey-2);
    transform: translateY(-50%);
    background-size: 18px;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown-item.nw-ajax-filter-select.checked .checkmark:after,
.calypso-style .nw-widget-wrapper label input:checked ~ .checkmark:after,
.calypso-style .nw-widget-wrapper label:hover input ~ .checkmark:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 3px;
    left: 3px;
    border-radius: 2px;
    background-color: var(--filter-grey-2);
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li span.option-qty{
    right:0;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li span.option-label {
    margin-left: 35px;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li label span.checkmark{
    left:0;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item:hover{
    opacity:1;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li.nw-widget-dropdown-item:hover label{
    opacity:0.7;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li .nw-custom-option-heading{
    margin-top:20px;
    margin-bottom:6px;
    display: inline-block;
    width: 100%;
    font-weight: 600;
}
.calypso-style .nw-widget-wrapper .nw-widget-dropdown ul li:first-of-type .nw-custom-option-heading{
    margin-top:0;
}
.tax-product_cat.woocommerce .woocommerce-result-count {
    margin: 0;
    margin-left: 0px !important;
    width: 80%;
    float: unset;
    text-align: right;
}

@media(max-width: 767.98px) {
    .mobile-filters-button,
    .calypso-style .nw-woo-filter-wrapper button.mobile-filters-button.has-active-filters,
    .calypso-style .nw-woo-filter-wrapper .mobile-filters-button {
        /*
        padding: 10px 35px 10px 20px;
        background-image: url('../images/woocommerce/dropdown_arrow_down.svg');
        background-repeat: no-repeat;
        background-position: calc(100% - 16px) center;
        background-size: 12px;
         */
        border: 1px solid #BCBAB4;
        border-radius: 3px;
        background-color: transparent;
        font: normal normal normal 16px / 16px Indivisible;
        letter-spacing: 0px;
        color: #354A51;
    }
}

@media (hover: none) and (pointer: coarse) {
    .calypso-style .nw-widget-wrapper .nw-widget-dropdown-item.nw-ajax-filter-select:not(.checked) .checkmark:after,
    .calypso-style .nw-widget-wrapper label input:not(:checked) ~ .checkmark:after{
        display: none;
    }
}
@media(max-width: 991.98px){
    .tax-product_cat .nw-woo-filter-wrapper {
        display: block !important;
    }
    .tax-product_cat.woocommerce .woocommerce-result-count {
        width: 100%;
        text-align: left;
        margin-top: 15px;
    }
}
@media (max-width: 767px) {
    .calypso-style .nw-woo-filter-controls-container{
        padding:10px 30px;
    }
    .calypso-style .nw-widget-mobile-dropdown-heading .mobile-filter-title,
    .calypso-style .filter-mobile-header .mobile-filter-title{
        font-size: 18px;
        line-height: 26px;
    }
    .calypso-style .nw-widget-wrapper.nw-attribute-filter-group {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .calypso-style .nw-widget-wrapper.list-style button.nw-filter-button{
        font-size: 18px;
        width: 100%;
        margin: 0;
        border: none;
        padding: 14px 0;
        text-align: left;
        background-color: var(--filter-white);
        background-image: url('../images/woocommerce/dropdown_arrow_down.svg');
        background-repeat: no-repeat;
        background-size: 8px;
        background-position: right center;
    }
    .calypso-style .nw-widget-wrapper.list-style.selected button.nw-filter-button{
        background-color: var(--filter-white);
    }
    .calypso-style .nw-woo-filter-controls-container .filter-by-label {
        display: block;
        margin-bottom: 10px;
    }
    .calypso-style .nw-widget-wrapper.list-style.selected button.nw-filter-button:after{
        content: attr(data-qty);
        position: relative;
        display: inline-block;
        top:0;
        right: unset;
        left: 10px;
        text-align: center;
        visibility: visible;
        transform: none;
        background-color: var(--filter-light-grey);
        animation: nwShowSelected 0.4s ease-in forwards;
    }
    .calypso-style .nw-widget-wrapper.list-style.selected button.nw-filter-button[data-qty="0"]:after{
        display: none;
        visibility: hidden;
    }
    .calypso-style .nw-widget-wrapper.nw-attribute-filter-group .nw-ajax-filter-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        width: 100%;
        -webkit-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    .calypso-style .nw-widget-wrapper.nw-attribute-filter-group.active-container .nw-ajax-filter-dropdown {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .calypso-style .nw-widget-wrapper.nw-attribute-filter-group .nw-widget-dropdown-inner{
        width: 100%;
        min-width: unset;
        top:0;
        bottom:0;
        max-height: unset;
        padding:20px 30px;
        background-color: var(--filter-white);
    }
    .calypso-style .nw-woo-filter-controls-container .filter-mobile-header.top-level{
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        border-bottom: 1px solid #BCBAB4;
    }
    .calypso-style .nw-widget-wrapper.nw-attribute-filter-group .nw-widget-dropdown-inner .nw-widget-mobile-dropdown-heading{
        border-bottom: 1px solid #BCBAB4;
        margin-bottom: 20px;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .calypso-style span.nw-go-back {
        display: block;
        width: 15px;
        height: 15px;
        background-image: url('../images/woocommerce/filter_back_arrow.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }
    .calypso-style .nw-widget-dropdown-buttons{
        margin-top:1.25rem
    }
    .calypso-style .nw-widget-wrapper.list-style button.nw-filter-clear-button.button{
        margin-top: 0;
        padding-left:0;
    }
    .calypso-style .nw-woo-filter-controls-container .reset-filter.button{
        padding-left:0;
        margin-left:10px;
    }
    .calypso-style .nw-widget-wrapper .nw-ajax-filter-dropdown-inner .widget-filter-buttons{
        padding:0;
    }
    .calypso-style .nw-widget-wrapper .nw-widget-dropdown-buttons .close-mobile-filters{
        margin-right: 0;
    }
    .tax-product_cat .nw-woo-filter-wrapper a.button.mobile-filters-button {
        margin-left: 0;
    }
}