/* FILTER CSS*/
.product-filter {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-filter label {
    color: var(--e-global-color-text) !important;
    font-size: 18px !important;
    line-height: 28px !important;
    margin-bottom: 10px;
}

.product-filter .search-wrap {
    background-color: #FFF;
    border: 1px solid #C9EBEE;
    border-radius: 4px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.product-filter .search-wrap input {
    background-color: transparent;
    border: 0 !important;
    border-radius: 0 !important;
    color: #16191C;
    font-family: "tablet-gothic", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    font-style: normal;
    line-height: 24px;
	padding: 0;
}

.product-filter .search-wrap input::placeholder, .product-filter .search-wrap input::-webkit-input-placeholder {
    color: #1D585D !important;
	opacity: 1 !important;
}

.product-filter .search-wrap .dd-ui-search {
    color: #113641;
    font-size: 20px;
    left: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.product-filter .select-wrap {
	/* background-color: #FFF; */
    position: relative;
    width: 100%;
    z-index: 1;
}

.product-filter .select-wrap .dd-ui-filter_list {
    color: var(--e-global-color-text);
    font-size: 20px;
    left: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.product-filter .select-wrap .dd-ui-keyboard_arrow_down {
    color: #16191C;
    font-size: 20px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.product-filter .select-wrap select {
    background-color: transparent;
    border: 0;
    border-radius: 0 !important;
    color: #16191C;
    font-family: "tablet-gothic", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    font-style: normal;
    line-height: 24px;
    outline: 0;
	padding: 0 20px 0 0;
	text-align: left;
   -o-appearance: none;
   -ms-appearance: none;
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
}

.advanced-filter-counter-wrap {
    display: none;
}
.advanced-filter-counter {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    max-width: 174px;
}

.advanced-filter-counter label {
    color: var(--e-global-color-e474cae) !important;
    font-size: var(--e-global-typography-ba55c27-font-size) !important;
    font-weight: var(--e-global-typography-ba55c27-font-weight) !important;
    line-height: var(--e-global-typography-ba55c27-line-height) !important;
    width: 100%;
}

.advanced-filter-counter .selected-category {
    background-color: var(--e-global-color-979cb3a);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 4px 12px;
    text-decoration: none !important;
    width: 100%;
}

.advanced-filter-counter .selected-category span {
    font-family: var( --e-global-typography-accent-font-family ), !important;
    font-size: var( --e-global-typography-accent-font-size ) !important;
    font-weight: var( --e-global-typography-accent-font-weight ) !important;
    text-transform: var( --e-global-typography-accent-text-transform ) !important;
    line-height: var( --e-global-typography-accent-line-height ) !important;
    letter-spacing: var( --e-global-typography-accent-letter-spacing ) !important;
	color: var(--e-global-color-text) !important;
    text-decoration: none !important;
}

.advanced-filter-counter .clear-selected {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.advanced-filter-counter .clear-selected span {
    color: var(--e-global-color-e474cae) !important;
    font-size: var(--e-global-typography-ba55c27-font-size) !important;
    font-weight: var(--e-global-typography-ba55c27-font-weight) !important;
    line-height: var(--e-global-typography-ba55c27-line-height) !important;
}

.filter-bar {
    display: flex;
    flex-direction: row;
    align-items: center;    
    flex-wrap: wrap;
    gap: 20px;
}
.product-sorting-filter {
    margin-left: auto;
}

#toggle-filter {
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #16191C;
    font-size: 16px;
    line-height: 24px;    
    font-family: tablet-gothic;
    font-weight: 400;
    text-transform: capitalize;
    border: none;
}

.results-count-container {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.results-count-container > div > span {
    font-size: 16px;
    line-height: 24px;
    color: #7C7C7C;
}

.results-count-container .remove-pill {
    padding: 6px 16px;
    background: #E2F2F4;
    border-radius: 4px;
    color: #16191C;
    font-size: 14px;
    line-height: 21px;
    border: none;
    font-family: tablet-gothic ;
    text-transform: capitalize ;
    font-weight: 400;
}
.results-count-container .remove-pill-icon {
    margin-left: 10px;
    font-size: 12px;
}
.results-count-container .clear-filters {
    color: #16191C;
    font-size: 14px;
    line-height: 21px;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .advanced-filter label {
        width: auto;
    }
}
@media (max-width: 1024px) {
    .advanced-filter label {
        font-size: 15px !important;
    }
}
@media (max-width: 767px) {
	.advanced-filter-counter .selected-category {
		width: auto;
	}
	.advanced-filter-counter {
		margin-top: 20px;
		max-width: 100%;
	}
	    .filter-bar {
        gap: 20px 0;
    }
    .product-sorting-filter {
        margin-left: unset;
    }
    .toggle-filter-container {
        padding-right: 10px;
    }
    .product-sorting-filter {
        padding-left: 10px;
    }
    .toggle-filter-container, .product-sorting-filter { 
        width: 50%;
    }
    .results-count-container {
        order: 3;
        width: 100%;
        text-align: center;
    }
    #toggle-filter, .product-sort {
		text-align: center;
        width: 100%;
        border: 1px solid #ECECEC !important;
        padding: 12px 16px !important;
        border-radius: 4px !important;
    }
	.product-sort option span.opt-extra {
		display: none !important;
	}
	.product-sort {
		text-align: center !important;
	}
	.product-sort {
        padding: 12px 36px 12px 16px !important;
	}
	.product-filter .select-wrap .dd-ui-keyboard_arrow_down {
		right: 10px;
	}

    .results-count-container .filter-pills-wrap {
        display: none !important;
    }

    .results-count-container .footer-filter-actions {
        display: none !important;
    }
}
