.color-filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  margin: 0 0 22px;
  border: 1px solid rgba(203, 158, 87, .24);
  background: rgba(255, 255, 255, .035);
}

.color-filter-heading {
  display: grid;
  gap: 5px;
  min-width: 245px;
}

.color-filter-heading b {
  color: #f3eee4;
  font-size: 1.02rem;
  font-weight: 600;
}

.color-filter-heading span {
  color: #aaa89f;
  font-size: .78rem;
  line-height: 1.65;
}

.color-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.color-filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .025);
  color: #d6d2c8;
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.color-filters button:hover,
.color-filters button.active {
  border-color: #cda45f;
  background: rgba(205, 164, 95, .12);
  color: #fff;
}

.color-filters .swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.color-filters .swatch.all {
  background: conic-gradient(#d8c9ad, #bb914c, #4e8292, #68805f, #b35b42, #8e688e, #282b28, #d8c9ad);
}

.color-filters .swatch.neutral { background: linear-gradient(135deg, #f0e8d9, #b8a994); }
.color-filters .swatch.gold-brown { background: linear-gradient(135deg, #d9b462, #6d4930); }
.color-filters .swatch.yellow { background: linear-gradient(135deg, #ead56e, #b97823); }
.color-filters .swatch.blue { background: linear-gradient(135deg, #79c6c9, #295e80); }
.color-filters .swatch.green { background: linear-gradient(135deg, #9bad70, #34553f); }
.color-filters .swatch.red { background: linear-gradient(135deg, #d88848, #9a342c); }
.color-filters .swatch.pink { background: linear-gradient(135deg, #d69bad, #76517f); }
.color-filters .swatch.monochrome { background: linear-gradient(135deg, #f4f2eb 49%, #252725 51%); }
.color-filters .swatch.multi { background: conic-gradient(#c14b3e, #dcb15c, #5b9273, #4d7997, #8c5d8d, #c14b3e); }

.color-filter-note {
  margin: -10px 4px 24px;
  color: #aaa89f;
  font-size: clamp(.82rem, .9vw, .94rem);
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .color-filter-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .color-filter-heading {
    min-width: 0;
  }

  .color-filters {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .color-filter-panel {
    padding: 15px 12px;
  }

  .color-filters button {
    flex: 1 1 calc(50% - 8px);
    justify-content: flex-start;
    font-size: .76rem;
  }
}

.color-filters .swatch.burgundy { background: #800020; }
