.bp-sf {
  display: block;
  position: relative;
}

.bp-sf fieldset {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.bp-sf legend {
  width: 100%;
  padding-inline: 0;
}

.bp-sf-list {
  max-height: 223px;
  margin: 0;
  padding: 0 5px 0 0;
  overflow-y: auto;
  list-style: none;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bp-sf-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.bp-sf-facet .wd-scroll {
  position: relative;
}

.bp-sf-scrollbar {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  right: 0;
  width: 4px;
  height: auto;
  border-radius: 4px;
  background: rgba(0, 0, 0, .08);
  pointer-events: none;
}

.bp-sf-scrollbar-thumb {
  display: block;
  width: 100%;
  min-height: 32px;
  border-radius: 4px;
  background: rgba(131, 183, 53, .75);
  transform: translateY(0);
}

.bp-sf-list > li {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  margin: 0;
}

.bp-sf-option {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.bp-sf-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.bp-sf-check {
  display: inline-flex;
  box-sizing: border-box;
  flex: 0 0 14px;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-inline-end: 8px;
  border: 2px solid rgba(0, 0, 0, .106);
  border-radius: 0;
  background: #fff;
}

.bp-sf-option input:checked + .bp-sf-check {
  border-color: var(--wd-primary-color, #83b735);
  background: var(--wd-primary-color, #83b735);
}

.bp-sf-option input:checked + .bp-sf-check::after {
  content: "";
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

.bp-sf-list .count {
  display: inline-block !important;
  flex: 0 0 auto;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 7px 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #aaa !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.bp-sf-actions {
  display: none;
}

.bp-sf-actions button[type="submit"] {
  display: none;
}

.bp-sf-actions .button-link {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  color: #777;
  text-decoration: underline;
}

.bp-sf__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.bp-sf-page-loading .bp-sf::after {
  content: "";
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid rgba(131, 183, 53, .22);
  border-top-color: var(--wd-primary-color, #83b735);
  border-radius: 50%;
  animation: bp-sf-spin .65s linear infinite;
}

@keyframes bp-sf-spin {
  to { transform: rotate(360deg); }
}

.bp-sf.is-loading {
  opacity: .8;
}

.bp-sf-results {
  margin-top: 20px;
}

.bp-sf-test-dock {
  position: relative;
  z-index: 50;
  margin: 24px auto;
  padding: 16px;
  max-width: 1180px;
  border: 2px dashed #2271b1;
  background: #f6fbff;
}

.bp-sf-dock:not(.bp-sf-test-dock) {
  margin: 0;
  padding: 0;
}
