/* CPOOL COLLECTION FILTERS V10.4.8 */

.cpool-collection-filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin: 0 0 18px;
  padding: 18px 22px;

  border: 1px solid #dfe5ef;
  border-radius: 16px;

  background: #ffffff;
}

.cpool-collection-filter-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cpool-collection-filter-copy strong {
  color: #111827;
  font-size: 15px;
  font-weight: 700;
}

.cpool-collection-filter-copy span {
  color: #68758c;
  font-size: 13px;
}

.cpool-collection-filter-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cpool-collection-filter-button {
  min-height: 40px;
  padding: 0 16px;

  border: 1px solid #d9e0eb;
  border-radius: 11px;

  background: #ffffff;
  color: #364152;

  cursor: pointer;

  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.cpool-collection-filter-button.is-active,
.cpool-collection-filter-button[aria-pressed="true"] {
  border-color: transparent;

  background:
    linear-gradient(
      100deg,
      #3768f5 0%,
      #6b55f6 100%
    );

  color: #ffffff;

  box-shadow:
    0 8px 18px
    rgba(76, 91, 238, 0.16);
}

.cpool-collection-filter-count {
  margin-left: 5px;
  opacity: 0.9;
}

.cpool-filter-hidden {
  display: none !important;
}

@media (max-width: 780px) {
  .cpool-collection-filter-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .cpool-collection-filter-buttons {
    display: grid;
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    width: 100%;
  }

  .cpool-collection-filter-button {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
  }
}
