.uauas-facets {
  background: #f4f4f4;
  border-radius: 8px;
  padding: 14px;
  color: #111;
}

body.page-category #left-column ~ #left-column {
  display: none !important;
}

body.page-category.layout-left-column #facets_search_center {
  display: none !important;
}

body#search.page-search #inner-wrapper,
body#search.page-search #content-wrapper,
body#search.page-search #main {
  width: 100%;
  max-width: none;
}

body#search.page-search #inner-wrapper {
  padding-right: 32px;
  padding-left: 32px;
}

@media (min-width: 768px) {
  body#search.page-search.layout-left-column #left-column {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
  }

  body#search.page-search.layout-left-column #content-wrapper {
    flex: 1 1 0;
    width: calc(100% - 320px);
    max-width: calc(100% - 320px);
  }
}

@media (max-width: 767px) {
  body#search.page-search #inner-wrapper {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.uauas-facets__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.uauas-facets__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.uauas-facets__clear,
.uauas-active-filters__clear {
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}

.uauas-facet {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.uauas-facet__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 13px 14px;
  color: #111;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.uauas-facet__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f1f1f1;
  font-weight: 800;
  transition: transform .18s ease;
}

.uauas-facet.is-collapsed .uauas-facet__chevron {
  transform: rotate(-90deg);
}

.uauas-facet__body {
  padding: 0 12px 12px;
}

.uauas-facet.is-collapsed .uauas-facet__body {
  display: none;
}

.uauas-sort-select {
  display: grid;
  gap: 6px;
  margin: 0;
}

.uauas-sort-select > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.uauas-sort-select select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding: 9px 34px 9px 11px;
}

.uauas-options {
  display: grid;
  gap: 8px;
}

.uauas-options.is-searching .uauas-option.is-extra {
  display: grid;
}

.uauas-options:not(.is-expanded) .uauas-option.is-extra {
  display: none;
}

.uauas-option.is-filter-hidden,
.uauas-options.is-searching .uauas-option.is-filter-hidden {
  display: none;
}

.uauas-filter-search {
  display: block;
  margin: 0 0 10px;
}

.uauas-filter-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.uauas-filter-search input {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 12px;
}

.uauas-filter-search input::placeholder {
  color: #777;
  font-weight: 700;
}

.uauas-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}

.uauas-option:hover,
.uauas-option.is-active {
  border-color: #111;
  background: #fafafa;
  color: #111;
  text-decoration: none;
}

.uauas-option__check {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
}

.uauas-option.is-active .uauas-option__check {
  border-color: #111;
  background: #111;
}

.uauas-option.is-active .uauas-option__check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.uauas-option__label {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.uauas-option__count {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.uauas-show-more {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 10px;
  padding: 8px 4px 0;
  text-align: center;
  text-decoration: underline;
}

.uauas-price-range {
  position: relative;
  height: 28px;
  margin: 2px 0 8px;
}

.uauas-price-range::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 13px;
  height: 4px;
  border-radius: 999px;
  background: #e2e2e2;
}

.uauas-price-range__input {
  position: absolute;
  left: 0;
  top: 5px;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.uauas-price-range__input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.uauas-price-range__input::-moz-range-track {
  height: 4px;
  background: transparent;
}

.uauas-price-range__input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
}

.uauas-price-range__input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
}

.uauas-price-form__limits {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.uauas-price-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.uauas-price-form label {
  display: grid;
  gap: 5px;
  margin: 0;
  color: #555;
  font-size: 12px;
  font-weight: 700;
}

.uauas-price-form input {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  padding: 9px 10px;
  color: #111;
  font-size: 14px;
  line-height: 1.2;
}

.uauas-price-form__submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 7px;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 11px 12px;
}

.uauas-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.uauas-active-filters__label {
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.uauas-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.uauas-active-filter,
.uauas-active-filter span,
.uauas-active-filter:hover,
.uauas-active-filter:focus {
  color: #fff !important;
  text-decoration: none;
}

body.uauas-is-loading #js-product-list,
body.uauas-is-loading .uauas-facets {
  opacity: .55;
  pointer-events: none;
  transition: opacity .15s ease;
}

@media (max-width: 767px) {
  .uauas-facets {
    margin-bottom: 18px;
    padding: 12px;
  }
}
