/* =========================================================
   Webarty Filters / Filter Everything Pro
   File: /webarty-css/wpc-filters.css
   ========================================================= */

/* =========================================================
   Variables
   ========================================================= */

.wpc-filters-main-wrap,
.widget_wpc_filters_widget,
.wpc-filters-widget-wrapper,
.wpc-filters-open-button-container,
.widget_wpc_sorting_widget,
.wpc-filter-chips-list{
  --wa-brand: #00a78e;
  --wa-brand-dark: #008f7a;
  --wa-text: #283550;
  --wa-muted: rgba(40, 53, 80, .58);
  --wa-border: rgba(40, 53, 80, .10);
  --wa-border-strong: rgba(40, 53, 80, .18);
  --wa-soft: rgba(0, 167, 142, .08);
  --wa-count-bg: rgba(40, 53, 80, .055);
  --wa-count-text: rgba(40, 53, 80, .38);
  --wa-card-bg: #ffffff;
  --wa-popup-bg: #f7f9fc;
  --wa-shadow-sm: 0 8px 22px rgba(40, 53, 80, .05);
  --wa-shadow-md: 0 12px 28px rgba(40, 53, 80, .07);
  --wa-radius: 16px;
}

/* =========================================================
   General layout
   ========================================================= */

.wpc-filters-scroll-container{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wpc-filters-widget-wrapper{
  width: 100%;
}

.wpc-filters-section{
  background: var(--wa-card-bg);
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius);
  padding: 18px;
  box-shadow: var(--wa-shadow-sm);
  overflow: hidden;
}

@media (hover:hover){
  .wpc-filters-section:hover{
    box-shadow: var(--wa-shadow-md);
  }
}

.wpc-filter-header .wpc-filter-title{
  margin: 0 0 12px;
  color: var(--wa-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.wpc-filters-ul-list{
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.wpc-filters-ul-list > li{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.wpc-term-item-content-wrapper{
  position: relative;
}

/* =========================================================
   Selected chips
   ========================================================= */

.wpc-filters-widget-top-container{
  margin: 0 0 14px;
  padding: 0;
}

.wpc-inner-widget-chips-wrapper{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wpc-inner-widget-chips-wrapper::-webkit-scrollbar{
  display: none;
}

.wpc-filter-chips-list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpc-filter-chips-list:empty,
.wpc-empty-chips-container{
  display: none !important;
}

.wpc-filter-chips-list > li{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.wpc-filter-chips-list a,
.wpc-filter-chips-list .wpc-filter-chip a,
.wpc-filter-chips-list .wpc-chip-reset-all a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 32px !important;
  padding: 0 11px !important;

  border: 1px solid rgba(0, 167, 142, .28) !important;
  border-radius: 999px !important;

  background: #fff !important;
  color: var(--wa-text) !important;

  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  box-shadow: 0 5px 14px rgba(40, 53, 80, .04) !important;
}

.wpc-filter-chips-list a:hover{
  color: var(--wa-brand) !important;
  border-color: rgba(0, 167, 142, .55) !important;
}

.wpc-filter-chips-list .wpc-chip-reset-all a,
.wpc-filter-chips-list a[href*="reset"]{
  border-color: rgba(220, 38, 38, .25) !important;
  color: #7b3340 !important;
}

/* =========================================================
   Checkbox filters
   ========================================================= */

.wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper input[type="checkbox"]{
  position: absolute !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper label{
  position: relative;

  display: flex;
  align-items: center;
  gap: 8px;

  min-height: 38px !important;
  padding: 7px 8px 7px 34px !important;

  border-radius: 10px;
  cursor: pointer;
  user-select: none;

  transition: background-color .18s ease, box-shadow .18s ease;
}

.wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper label:hover{
  background: rgba(0, 167, 142, .045);
}

.wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper label::before{
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;

  width: 18px;
  height: 18px;

  border: 1px solid rgba(40, 53, 80, .16);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(40, 53, 80, .06);

  transform: translateY(-50%);
  box-sizing: border-box;

  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper input[type="checkbox"]:checked + label::before{
  background: var(--wa-brand);
  border-color: var(--wa-brand);
  box-shadow: 0 6px 14px rgba(0, 167, 142, .20);
}

.wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper input[type="checkbox"]:checked + label::after{
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;

  width: 5px;
  height: 9px;

  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;

  transform: translateY(-60%) rotate(45deg);
}

.wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper input[type="checkbox"]:focus-visible + label::before{
  box-shadow: 0 0 0 4px rgba(0, 167, 142, .14);
}

.wpc-filter-layout-checkboxes .wpc-term-selected label{
  background: rgba(0, 167, 142, .10) !important;
}

/* =========================================================
   Links and counters
   ========================================================= */

.wpc-filter-link{
  color: var(--wa-brand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  text-transform: none !important;
  transition: color .18s ease;
}

.wpc-term-item-content-wrapper label:hover .wpc-filter-link{
  color: var(--wa-brand-dark);
}

.wpc-term-count{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 auto;
  min-width: 18px;
  height: 18px !important;

  margin-left: auto !important;
  padding: 0 6px !important;

  border-radius: 999px;
  background: var(--wa-count-bg);
  color: var(--wa-count-text);

  font-size: 10px !important;
  font-weight: 700;
  line-height: 18px !important;

  box-sizing: border-box;
}

.wpc-term-count,
.wpc-term-count *{
  line-height: 18px !important;
}

.wpc-term-count-brackets-open,
.wpc-term-count-brackets-close{
  display: none !important;
}

/* =========================================================
   Color filter dots
   ========================================================= */

.wpc-filter-pa_color .wpc-filter-link{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.wpc-filter-pa_color .wpc-filter-link::before{
  content: "" !important;
  display: inline-block !important;

  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  flex: 0 0 10px !important;

  border-radius: 50% !important;
  background: #d9e1ea !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;

  box-shadow: inset 0 0 0 1px rgba(40, 53, 80, .14) !important;
}

.wpc-filter-pa_color .wpc-filter-link[href*="black"]::before,
.wpc-filter-pa_color .wpc-filter-link[title*="Black"]::before,
.wpc-filter-pa_color .wpc-filter-link[aria-label*="Black"]::before,
.wpc-filter-pa_color li[class*="black"] .wpc-filter-link::before{
  background: #111827 !important;
  box-shadow: none !important;
}

.wpc-filter-pa_color .wpc-filter-link[href*="orange"]::before,
.wpc-filter-pa_color .wpc-filter-link[title*="Orange"]::before,
.wpc-filter-pa_color .wpc-filter-link[aria-label*="Orange"]::before,
.wpc-filter-pa_color li[class*="orange"] .wpc-filter-link::before{
  background: #f97316 !important;
  box-shadow: none !important;
}

.wpc-filter-pa_color .wpc-filter-link[href*="white"]::before,
.wpc-filter-pa_color .wpc-filter-link[title*="White"]::before,
.wpc-filter-pa_color .wpc-filter-link[aria-label*="White"]::before,
.wpc-filter-pa_color li[class*="white"] .wpc-filter-link::before{
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(40, 53, 80, .28) !important;
}

.wpc-filter-pa_color .wpc-term-selected .wpc-filter-link::before{
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* =========================================================
   Price range
   ========================================================= */

.wpc-filter-layout-range .wpc-filters-range-wrapper{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px !important;
  width: 100%;
}

.wpc-filter-layout-range .wpc-filters-range-column{
  position: relative;
  min-width: 0;
  max-width: none !important;
}

.wpc-filter-layout-range input.wpc-filters-range-min,
.wpc-filter-layout-range input.wpc-filters-range-max{
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;

  padding: 0 14px !important;

  border: 1px solid rgba(40, 53, 80, .16);
  border-radius: 12px;

  background: #fff;
  color: var(--wa-text);

  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 44px !important;
  text-align: center !important;

  outline: none;
  box-sizing: border-box !important;

  transition: border-color .18s ease, box-shadow .18s ease;
}

.wpc-filter-layout-range input[type="number"]::-webkit-outer-spin-button,
.wpc-filter-layout-range input[type="number"]::-webkit-inner-spin-button{
  margin: 0;
  -webkit-appearance: none;
}

.wpc-filter-layout-range input[type="number"]{
  -moz-appearance: textfield;
}

.wpc-filter-layout-range input.wpc-filters-range-min:focus,
.wpc-filter-layout-range input.wpc-filters-range-max:focus{
  border-color: rgba(0, 167, 142, .55);
  box-shadow: 0 0 0 4px rgba(0, 167, 142, .12);
}

.wpc-filter-layout-range .wpc-range-clear{
  position: absolute;
  right: 8px;
  top: 50%;

  width: 24px;
  height: 24px;
  padding: 0;

  border: 0;
  background: transparent;
  color: rgba(40, 53, 80, .45);

  transform: translateY(-50%);
  cursor: pointer;
}

.wpc-filter-layout-range .wpc-filters-range-slider-wrapper{
  padding-top: 10px;
}

.wpc-filter-layout-range .wpc-filters-range-slider-control.ui-slider{
  height: 5px;
  margin-top: 14px;

  border: 0 !important;
  border-radius: 999px;

  background: rgba(40, 53, 80, .12) !important;
}

.wpc-filter-layout-range .wpc-filters-range-slider-control .ui-slider-range,
.wpc-filter-layout-range .wpc-filters-range-slider-control .ui-widget-header{
  background: var(--wa-brand) !important;
  border-radius: 999px;
}

.wpc-filter-layout-range .wpc-filters-range-slider-control .ui-slider-handle{
  top: -8px;

  width: 21px;
  height: 21px;

  border: 2px solid var(--wa-brand) !important;
  border-radius: 50%;

  background: #fff !important;
  box-shadow: 0 8px 18px rgba(40, 53, 80, .16);

  outline: none;
  cursor: pointer;
  box-sizing: border-box;
}

.wpc-filter-layout-range .wpc-filters-range-slider-control .ui-slider-handle:hover,
.wpc-filter-layout-range .wpc-filters-range-slider-control .ui-slider-handle:focus{
  box-shadow: 0 0 0 5px rgba(0, 167, 142, .14), 0 8px 18px rgba(40, 53, 80, .16);
}

/* =========================================================
   Toggle
   ========================================================= */

.wpc-toggle-a{
  display: inline-flex;
  align-items: center;

  margin-top: 8px;

  color: var(--wa-brand);

  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.wpc-toggle-a:hover{
  color: var(--wa-brand-dark);
}

/* =========================================================
   Sorting select
   ========================================================= */

.widget_wpc_sorting_widget,
.wpc-sorting-form{
  width: 100%;
  margin: 0 !important;
}

.wpc-orderby-select{
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;

  padding: 0 42px 0 16px !important;

  border: 1px solid rgba(40, 53, 80, .12) !important;
  border-radius: 14px !important;

  background: #fff !important;
  color: var(--wa-text) !important;

  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 48px !important;

  outline: none !important;
  box-shadow: 0 10px 22px rgba(40, 53, 80, .05) !important;

  cursor: pointer;
  box-sizing: border-box !important;
}

.wpc-orderby-select:focus{
  border-color: rgba(0, 167, 142, .45) !important;
  box-shadow: 0 0 0 4px rgba(0, 167, 142, .10) !important;
}

/* =========================================================
   Rating filter
   ========================================================= */

.wpc-filter-layout-rating .wpc-term-item-content-wrapper label{
  padding-left: 0 !important;
  gap: 0 !important;
}

.wpc-filter-layout-rating .wpc-term-item-content-wrapper label::before,
.wpc-filter-layout-rating .wpc-term-item-content-wrapper label::after{
  content: none !important;
  display: none !important;
}

.wpc-filter-layout-rating .flrt-star-input{
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.wpc-filter-layout-rating .flrt-stars-wpc-filter-content,
.wpc-filter-layout-rating .wpc-filter-content{
  overflow: visible !important;
}

.wpc-filter-layout-rating .flrt-stars-filter{
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;

  overflow: visible !important;
  overflow-x: hidden !important;

  white-space: normal !important;
  list-style: none !important;

  margin: 0 !important;
  padding: 6px 0 !important;

  scrollbar-width: none !important;
}

.wpc-filter-layout-rating .flrt-stars-filter::-webkit-scrollbar{
  height: 0 !important;
}

.wpc-filter-layout-rating .flrt-stars-filter > li{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.wpc-filter-layout-rating .flrt-star-label a{
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.wpc-filter-layout-rating .flrt-star-label svg{
  display: block !important;
  width: 22px !important;
  height: 22px !important;
}

.wpc-filter-layout-rating .flrt-star-label polygon{
  fill: transparent !important;
  stroke: rgba(40, 53, 80, .22) !important;
  stroke-width: 1.6 !important;
  transition: fill .18s ease, stroke .18s ease;
}

.wpc-filter-layout-rating .flrt-star-label:hover polygon{
  fill: rgba(0, 167, 142, .10) !important;
  stroke: var(--wa-brand) !important;
}

.wpc-filter-layout-rating .flrt-star-input:checked + .flrt-star-label polygon{
  fill: var(--wa-brand) !important;
  stroke: var(--wa-brand) !important;
}

.wpc-filter-layout-rating .wpc-term-count:empty,
#flrt-wpc-term-count:empty{
  display: none !important;
}

/* =========================================================
   CusRev
   ========================================================= */

.cr-reviews-rating .cr-review-link{
  display: none !important;
}

/* =========================================================
   Mobile
   Elementor structure:
   2ac1971 = catalog wrapper
   040db8a = filters column
   ebf13b6 = sorting + products column
   4d17a27 = sorting widget
   6544b7e = product loop grid
   ========================================================= */

@media (max-width: 767px){

  /* Catalog toolbar */

  .elementor-element-2ac1971{
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 22px 16px 0 !important;

    box-sizing: border-box !important;
  }

  .elementor-element-040db8a{
    grid-column: 1 !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .elementor-element-ebf13b6{
    display: contents !important;
  }

  .elementor-element-4d17a27{
    grid-column: 2 !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-element-6544b7e{
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 18px !important;
  }

  .elementor-element-5f96baf,
  .elementor-element-5f96baf .elementor-widget-container,
  .elementor-element-5f96baf .elementor-shortcode,
  .widget_wpc_filters_widget,
  .wpc-filters-main-wrap{
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-shortcode > .wpc-filters-open-button-container{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-shortcode:has(> .wpc-filters-open-button-container)
  .widget_wpc_filters_widget .wpc-filters-main-wrap > .wpc-filters-open-button-container{
    display: none !important;
  }

  .elementor-shortcode:not(:has(> .wpc-filters-open-button-container))
  .widget_wpc_filters_widget .wpc-filters-main-wrap > .wpc-filters-open-button-container{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* Filters button */

  body .wpc-filters-open-button-container{
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    box-sizing: border-box !important;
  }

  body a.wpc-open-close-filters-button,
  body .wpc-open-close-filters-button,
  body .wpc-filters-open-button-container a,
  body .wpc-filters-open-button-container .wpc-open-close-filters-button{
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid rgba(40, 53, 80, .12) !important;
    border-radius: 14px !important;

    background: #ffffff !important;
    color: #283550 !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 48px !important;
    text-decoration: none !important;

    box-shadow: 0 10px 22px rgba(40, 53, 80, .05) !important;

    outline: none !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body a.wpc-open-close-filters-button:hover,
  body a.wpc-open-close-filters-button:focus{
    border-color: rgba(0, 167, 142, .35) !important;
    background: #ffffff !important;
    color: #283550 !important;
    box-shadow: 0 0 0 4px rgba(0, 167, 142, .08), 0 10px 22px rgba(40, 53, 80, .05) !important;
  }

  body .wpc-filters-open-button-container .wpc-button-inner{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 8px !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #283550 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }

  body .wpc-filters-open-button-container .wpc-icon-html-wrapper,
  body .wpc-filters-open-button-container .wpc-icon-html-wrapper span,
  body .wpc-filters-open-button-container .wpc-icon-line-1,
  body .wpc-filters-open-button-container .wpc-icon-line-2,
  body .wpc-filters-open-button-container .wpc-icon-line-3{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body .wpc-filters-open-button-container .wpc-button-inner::before{
    content: "";
    display: inline-block !important;

    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;

    background: #283550 !important;

    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10M8 5v4M16 15v4' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10M8 5v4M16 15v4' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  body .wpc-filters-open-button-container .wpc-filters-button-text{
    display: inline-flex !important;
    align-items: center !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body .wpc-filters-open-button-container .wpc-filters-button-text::before{
    content: "Filters";

    color: #283550 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  body .wpc-orderby-select{
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    padding: 0 38px 0 16px !important;

    border: 1px solid rgba(40, 53, 80, .12) !important;
    border-radius: 14px !important;

    background-color: #ffffff !important;
    color: #283550 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 48px !important;

    box-shadow: 0 10px 22px rgba(40, 53, 80, .05) !important;
    box-sizing: border-box !important;
  }

  /* Popup content */

  body .wpc-filters-widget-content{
    background: var(--wa-popup-bg) !important;
    color: #283550 !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body .wpc-widget-close-container{
    position: relative !important;
    top: auto !important;
    z-index: 30 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 58px !important;
    padding: 14px 18px !important;

    background: #ffffff !important;
    border-bottom: 1px solid rgba(40, 53, 80, .08) !important;

    box-sizing: border-box !important;
  }

  body .wpc-widget-popup-title{
    color: #283550 !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0;
  }

  body .wpc-widget-close-icon{
    position: absolute !important;
    right: 14px !important;
    top: 11px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 36px !important;
    height: 36px !important;

    border-radius: 50% !important;
    background: rgba(40, 53, 80, .06) !important;
    color: #283550 !important;

    text-decoration: none !important;
  }

  body .wpc-widget-close-icon .wpc-icon-html-wrapper{
    display: none !important;
  }

  body .wpc-widget-close-icon::before{
    content: "×";

    color: #283550 !important;

    font-size: 26px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  /* Popup body:
     Height is reduced so the fixed footer does not cover the last filters.
     Footer is placed lower than before: bottom 56px.
  */
  body .wpc-filters-widget-containers-wrapper{
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;

    height: calc(100svh - 194px) !important;
    max-height: calc(100svh - 194px) !important;
    min-height: 0 !important;

    padding: 12px !important;
    padding-bottom: 0 !important;

    background: var(--wa-popup-bg) !important;
    overflow: hidden !important;

    box-sizing: border-box !important;
  }

  body .wpc-filters-widget-top-container{
    flex: 0 0 auto !important;

    position: static !important;
    inset: auto !important;
    z-index: auto !important;

    display: block !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    overflow: visible !important;
  }

  body .wpc-widget-top-inside,
  body .wpc-inner-widget-chips-wrapper{
    position: static !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body .wpc-inner-widget-chips-wrapper::-webkit-scrollbar{
    display: none !important;
  }

  body .wpc-filters-widget-top-container .wpc-filter-chips-list{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;

    width: max-content !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 2px 0 0 !important;

    list-style: none !important;
  }

  body .wpc-filters-widget-top-container .wpc-filter-chips-list:empty,
  body .wpc-filters-widget-top-container .wpc-empty-chips-container{
    display: none !important;
  }

  body .wpc-filters-widget-top-container .wpc-filter-chips-list > li{
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .wpc-filters-widget-top-container .wpc-filter-chips-list a{
    min-height: 32px !important;
    padding: 0 11px !important;

    font-size: 13px !important;
    font-weight: 600 !important;
  }

  body .wpc-filters-scroll-container{
    flex: 1 1 auto !important;
    min-height: 0 !important;

    position: static !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;

    margin: 0 !important;
    padding: 0 0 12px 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }

  body .wpc-filters-scroll-container::after{
    display: none !important;
    content: none !important;
  }

  body .wpc-filters-widget-wrapper{
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  body .wpc-filters-section{
    padding: 16px !important;
    border-radius: 16px !important;

    background: #ffffff !important;
    border: 1px solid rgba(40, 53, 80, .08) !important;
    box-shadow: 0 8px 20px rgba(40, 53, 80, .05) !important;
  }

  body .wpc-filter-header .wpc-filter-title{
    margin: 0 0 10px !important;

    color: #283550 !important;

    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
  }

  body .wpc-filter-layout-range{
    display: none !important;
  }

  body .wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper label{
    min-height: 38px !important;
    padding: 7px 8px 7px 34px !important;
    gap: 8px !important;
    border-radius: 10px !important;
  }

  body .wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper label::before{
    left: 9px !important;

    width: 18px !important;
    height: 18px !important;

    border-radius: 5px !important;
  }

  body .wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper input[type="checkbox"]:checked + label::after{
    left: 15px !important;
  }

  body .wpc-filter-link{
    color: #00a78e !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }

  body .wpc-term-count{
    min-width: 18px !important;
    height: 18px !important;

    margin-left: auto !important;
    padding: 0 6px !important;

    background: rgba(40, 53, 80, .045) !important;
    color: rgba(40, 53, 80, .32) !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
  }

  body .wpc-term-count,
  body .wpc-term-count *{
    line-height: 18px !important;
  }

  /* Fixed footer:
     Lower than before: bottom 56px.
     Buttons: exactly 50% / 50%.
  */
  body .wpc-filters-widget-controls-container{
    position: fixed !important;

    left: 16px !important;
    right: 16px !important;
    bottom: 56px !important;

    z-index: 2147483647 !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 10px !important;

    background: #ffffff !important;
    border: 1px solid rgba(40, 53, 80, .10) !important;
    border-radius: 16px !important;
    box-shadow: 0 -10px 30px rgba(40, 53, 80, .16) !important;

    transform: none !important;
    box-sizing: border-box !important;
  }

  body .wpc-filters-widget-controls-wrapper{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    transform: none !important;
    box-sizing: border-box !important;
  }

  body .wpc-filters-widget-controls-wrapper > *,
  body .wpc-filters-widget-controls-item{
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    box-sizing: border-box !important;
  }

  body .wpc-filters-apply-button,
  body .wpc-filters-close-button{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    padding: 0 12px !important;

    border-radius: 12px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    box-sizing: border-box !important;
  }

  body .wpc-filters-apply-button{
    background: #00a78e !important;
    color: #ffffff !important;
    border: 1px solid #00a78e !important;
    box-shadow: 0 8px 18px rgba(0, 167, 142, .16) !important;
  }

  body .wpc-filters-close-button{
    background: #ffffff !important;
    color: #283550 !important;
    border: 1px solid rgba(40, 53, 80, .12) !important;
  }
}

/* =========================================================
   Very small screens
   ========================================================= */

@media (max-width: 390px){

  .elementor-element-2ac1971{
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body .wpc-filters-open-button-container .wpc-filters-button-text::before{
    font-size: 14px !important;
  }

  body .wpc-orderby-select{
    font-size: 14px !important;
    padding-left: 12px !important;
  }

  body .wpc-filters-widget-containers-wrapper{
    height: calc(100svh - 188px) !important;
    max-height: calc(100svh - 188px) !important;

    gap: 10px !important;
    padding: 10px !important;
    padding-bottom: 0 !important;
  }

  body .wpc-filters-scroll-container,
  body .wpc-filters-widget-wrapper{
    gap: 10px !important;
  }

  body .wpc-filters-section{
    padding: 14px !important;
  }

  body .wpc-filter-layout-checkboxes .wpc-term-item-content-wrapper label{
    min-height: 36px !important;
    padding: 6px 8px 6px 33px !important;
  }

  body .wpc-filters-widget-controls-container{
    left: 12px !important;
    right: 12px !important;
    bottom: 56px !important;
    padding: 8px !important;
  }

  body .wpc-filters-widget-controls-wrapper{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body .wpc-filters-apply-button,
  body .wpc-filters-close-button{
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 13px !important;
  }
}