.ais-SearchBox-input {
  box-sizing: border-box !important;
}
.cmtsfwc-InstantSearch .ais-SearchBox-submit {
  right: 0 !important;
  background: transparent !important;
}
.cmtsfwc-Result > ul.wd-products-element {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}
.wc-block-product-search__fields {
  margin: 0;
}
.typesense_search_wrapper {
  color: white;
}
.typesense_search_text {
  display: none;
}
.cmtsfwc-Result .woocommerce-loop-product__title{
  font-size:16px;
}
@media (min-width: 768px) {
  .cmtsfwc-Result > ul.wd-products-element {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wc-block-product-search__fields {
    background: white;
    border-radius: 35px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 30px;
  }
  .typesense_search_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    width: 100%;
    padding: 0 12px;
    color: black;
  }
  .typesense_search_text {
    display: block !important;
  }
}
@media (min-width: 1024px) {
  .cmtsfwc-Result > ul.wd-products-element {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* @media (min-width: 1200px) {
  .cmtsfwc-Result > ul.wd-products-element {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
} */
@media (min-width: 1536px) {
  .cmtsfwc-Result > ul.wd-products-element {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .wc-block-product-search__fields {
    width: 100%;
    height: 30px;
  }
}

@media (min-width: 2000px) {
  /* .cmtsfwc-Result > ul.wd-products-element {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  } */
  .wc-block-product-search__fields {
    width: 100%;
    height: 30px;
  }
}

.cmtsfwc-FilterPanel button.ais-Panel-collapseButton:hover{
  background-color: unset;
}

.cmtsfwc-InstantSearch .ais-SortBy-select, .cmtsfwc-HitsPerPage .ais-HitsPerPage-select{
  padding: 5px 16px;
}

.ais-Pagination-item+.ais-Pagination-item{
  margin-bottom: 10px;
}

.ais-RefinementList-showMore:focus{
  background-color: #F3F3F3;
}

span.ais-CurrentRefinements-category {
    align-items: center;
}

.cmtsfwc-InstantSearch .ais-RefinementList-label {
    display: grid!important;
    grid-template-columns: auto 1fr auto;
}

span.ais-CurrentRefinements-category {
    align-items: center;
}

label.ais-RefinementList-label {
    display: grid!important;
    grid-template-columns: auto 1fr auto;
}

.cmtsfwc-Result .wd-products-element .product {
    height: 100%;
    position: relative;
    padding-bottom: 60px;
}

.cmtsfwc-Result .wd-products-element .product .button {
    position: absolute;
    bottom: 0;
}

.cmtsfwc-Result .wd-products-element .woocommerce-loop-product__link {
    position: relative;
    height: 100%;
    display: block;
}

.cmtsfwc-Result .wd-products-element .hit-price {
    position: absolute;
    bottom: 0;
}

.ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-body{
  display: block!important;
}

.ais-Panel--collapsible .ais-Panel-body{
  display: none!important;
}

.cmtsfwc-Filter-category .ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-body{
  display: none!important
}

.cmtsfwc-Filter-category .ais-Panel--collapsible .ais-Panel-body{
  display: block!important;
}

.single-product .cmtsfwc-Results .onsale-p{
  top: 10px!important;
  font-size: 14px!important;
  z-index: 99999!important;
}