.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
}
.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block; 
  user-select: none;
  -webkit-user-select: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  display: block;
  padding-left: 8px;
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select2-results__option--highlighted {
    color: #278b4d;
}
.select2-container .select2-selection--single .select2-selection__clear {
  background-color: transparent;
  border: none;
  font-size: 1em;
}
.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
  padding-right: 8px;
  padding-left: 20px;
}
.select2-container .select2-selection--multiple {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  min-height: 32px;
  user-select: none;
  -webkit-user-select: none;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: inline;
  list-style: none;
  padding: 0;
}
.select2-container .select2-selection--multiple .select2-selection__clear {
  background-color: transparent;
  border: none;
  font-size: 1em;
}
.select2-container .select2-search--inline .select2-search__field {
  box-sizing: border-box;
  border: none;
  font-size: 100%;
  margin-top: 5px;
  margin-left: 5px;
  padding: 0;
  max-width: 100%;
  resize: none;
  height: 20px;
  vertical-align: bottom;
  font-family: sans-serif;
  overflow: hidden;
  word-break: keep-all;
}
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.select2-container .select2-search--inline .select2-search__field::placeholder {
  line-height: normal;
}

.select2-dropdown {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051;
}

.select2-results {
  display: block;
}

.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.select2-results__option {
  padding: 6px 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.select2-results__option--selectable {
  cursor: pointer;
}

.select2-container--open .select2-dropdown {
  left: 0;
}

.select2-container--open .select2-dropdown--above {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.select2-container--open .select2-dropdown--below {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.select2-search--dropdown {
  display: block;
  padding: 4px;
}

[data-block-name="woocommerce/product-filter-active"] {
    display: none !important;
}

.select2-search--dropdown .select2-search__field {
  padding: 4px 8px;
  width: 100%;
  height: 40px;
  box-sizing: border-box;
}

.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.select2-search--dropdown.select2-search--hide {
  display: none;
}

.select2-close-mask {
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  min-height: 100%;
  min-width: 100%;
  height: auto;
  width: auto;
  opacity: 0;
  z-index: 99;
  background-color: #fff;
  filter: alpha(opacity=0);
}

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}


.bcf-group {
    display: block;
}

.bcf-checkboxes input:checked:before {
    content: '';
    width: 1rem;
    height: 1rem;
    position: absolute;
    left: 0;
	transition: all .2s ease;
    right: 0;
    top: 0;
    bottom: 0;
    margin: -1px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8'><path fill='none' d='M9.25 1.19922L3.75 6.69922L1 3.94922' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'></path></svg>") no-repeat 50% 50%;
}

.bcf-remove-group { 
    display: block;
    width: 1.5rem;
    background: rgba(0, 0, 0, .1);
    border-radius: 2px; 
    height: 1.5rem;
    text-align: center;
    line-height: 1.4rem;
	transition: background .2s ease;
    flex-shrink: 0;
    font-size: 1rem;
}

.bcf-checkbox {
    cursor: pointer;
    font-size: 1rem;
    padding: .1em 0;
}

.bcf-checkboxes input {
    
    appearance: none;
    background: var(--wc-product-filter-checkbox-list-option-element, transparent);
    position: relative;
    border: 1px solid var(--wc-product-filter-checkbox-list-option-element-border, transparent);
    border-radius: 2px;
    color: inherit;
    cursor: pointer;
    display: block;
    flex-shrink: 0;
    font-size: inherit;
    height: 1em;
    margin: 0;
    width: 1em;
	transition: all .2s ease;
    background: rgba(0, 0, 0, .1);
    border-radius: 2px; 
}
.wc-block-product-filter-checkbox-list__input-wrapper:before {
    background: rgba(0, 0, 0, .1) !important;
	transition: all .2s ease;
    opacity: 1 !important;
}
.wc-block-product-filter-checkbox-list__item .wc-block-product-filter-checkbox-list__label:hover  .wc-block-product-filter-checkbox-list__input-wrapper:before,
.bcf-checkboxes .bcf-checkbox:hover input,
.bcf-group .bcf-remove-group:hover {
 
    opacity: 1;
    background-color: rgba(0, 0, 0, .2) !important;
}

.bcf-group {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.bcf-clear-all {
    margin-top: .5rem;
    font-size: .9rem;
}

.bcf-group {
    padding: 1rem 0;
}

.bcf-group .legend {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0; 
    align-items: center;
    width: 100%;
    line-height: 1.2;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.bcf-checkbox {
    display: flex;
    align-items: center;
    gap: .625em;
}

.wc-block-product-filter-checkbox-list__count,
.bcf-checkboxes small {
    opacity: .5;
    font-size: .8em;
}

.wc-block-product-filter-checkbox-list fieldset,
.bcf-checkboxes {
    display: block !important;
    overflow: auto;
    max-height: 250px;
}

body> .select2-container {
    z-index: 99999;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  cursor: pointer;
  float: right;
  font-weight: bold;
  height: 26px;
  margin-right: 20px;
  padding-right: 0px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  position: absolute;
  top: 0;
  right: 5px;
  width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}

.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear {
  float: left;
}

.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
  left: 1px;
  right: auto;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #eee;
  cursor: default;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
  display: none;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px;
}


.select2-container--default .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto;
}

.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 1em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
  padding-left: 0;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -1em;
  padding-left: 2em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -2em;
  padding-left: 3em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -3em;
  padding-left: 4em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -4em;
  padding-left: 5em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  margin-left: -5em;
  padding-left: 6em;
}

#catalog-loop:has(.loading) .col-md-3 .bcf-wrap,
#catalog-loop:has(.loading) .col-md-3 aside { 

    opacity: .4;
    pointer-events: none;
}

.bcf-actions  {
    display: flex; 
    bottom: 0; 
    flex-direction: column;
    justify-content: center;
}
.bcf-actions button[disabled].bcf-apply-filters {
    background: #eee;
    color: #999;
}

.bcf-actions button[disabled] {
    cursor: not-allowed;
}

.select2-container--default .select2-results__option--group {
  padding: 0;
}

.select2-container--default .select2-results__option--disabled {
  color: #999;
}

.select2-container--default .select2-results__option--selected {
  background-color: #ddd;
}
@media screen and (min-width:767px){
.wc-block-product-filters__overlay-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.bcf-filters-panel .bcf-actions {
    display: none;
}
.wc-block-product-filters__overlay-footer .bcf-actions {
    display: flex !important;
}
.wc-block-product-filters__overlay-footer {
    display: block !important;
    box-shadow: none !important;
    position: sticky;
    z-index: 20;
    bottom: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #fff;
}
}
@media screen and (max-width:767px){

    
.bcf-actions  {
    flex-direction: column-reverse;
}
.bcf-clear-all {
    margin: 0 0 .5rem;
}
    .bcf-filters-panel .bcf-actions {
        display: none;
    }
}

.wc-block-product-filters__overlay-footer .bcf-actions {
    margin: 0;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #5897fb;
  color: white;
}

.select2-container--default .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px;
}