.cafw-widget-shell {
  position: relative;
}

.cafw-widget-shell.is-loading,
.site-main-content.is-loading,
.site-main-content-wrapper.is-loading {
  opacity: .65;
  pointer-events: none;
}

.cafw-widget .widget-title {
  margin-bottom: 16px;
}

.cafw-form,
.cafw-groups {
  display: block;
}

.cafw-active-filters {
  margin: 0 0 16px;
}

.cafw-active-filters.is-empty {
  display: none;
}

.cafw-active-filters-head {
  margin: 0 0 8px;
  font-size: 13px;
}

.cafw-active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cafw-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.2;
}

.cafw-groups {
  display: grid;
  gap: 12px;
}

.cafw-group {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.cafw-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.cafw-group.is-collapsed .cafw-group-body {
  display: none;
}

.cafw-group.is-collapsed .cafw-toggle-icon {
  transform: rotate(45deg);
}

.cafw-toggle-icon {
  transition: transform .2s ease;
  font-size: 18px;
  line-height: 1;
}

.cafw-group-body {
  padding: 0 16px 14px;
}

.cafw-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.cafw-option,
.cafw-option label {
  margin: 0;
}

.cafw-option label {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}

.cafw-option input {
  margin: 0;
}

.cafw-option-count {
  color: rgba(0,0,0,.55);
  font-size: 12px;
}

.cafw-actions {
  margin-top: 14px;
}

.cafw-reset-button {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.cafw-reset-button:hover,
.cafw-chip:hover,
.cafw-group-toggle:hover {
  background: rgba(0,0,0,.03);
}

@media (max-width: 767px) {
  .cafw-group-toggle {
    padding: 12px 14px;
  }

  .cafw-group-body {
    padding: 0 14px 12px;
  }
}
