.cptf-theme-browser {
  --cptf-pink: #eb1685;
  margin: 0 0 28px;
  padding: 8px 0 22px;
  width: 100%;
}

.cptf-theme-browser__heading {
  margin-bottom: 14px;
  text-align: center;
}

.cptf-theme-browser__heading h2 {
  color: #171717;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0;
}

.cptf-theme-browser__scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 3px 2px 12px;
  scroll-behavior: smooth;
  scrollbar-color: #e8a8c8 #f8f8f8;
  scrollbar-width: thin;
}

.cptf-theme-card {
  align-items: center;
  background: #fff;
  border: 1px solid #efdae5;
  border-radius: 13px;
  color: #202020;
  display: flex;
  flex: 0 0 132px;
  flex-direction: column;
  min-height: 154px;
  overflow: hidden;
  padding: 9px;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cptf-theme-card:nth-child(4n+1) { background: #f1f8ef; }
.cptf-theme-card:nth-child(4n+2) { background: #eff5ff; }
.cptf-theme-card:nth-child(4n+3) { background: #fff1f6; }
.cptf-theme-card:nth-child(4n+4) { background: #fff8e9; }

.cptf-theme-card:hover,
.cptf-theme-card:focus,
.cptf-theme-card.is-active {
  border-color: var(--cptf-pink);
  box-shadow: 0 8px 22px rgba(235, 22, 133, .12);
  color: #111;
  transform: translateY(-2px);
}

.cptf-theme-card__image {
  align-items: center;
  display: flex;
  height: 102px;
  justify-content: center;
  width: 100%;
}

.cptf-theme-card__image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.cptf-theme-card__image.is-placeholder {
  color: var(--cptf-pink);
  font-size: 30px;
  font-weight: 700;
}

.cptf-theme-card__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 8px;
  text-align: center;
}

.cptf-theme-card--all {
  border-style: dashed;
}

.cptf-sidebar-filters {
  background: #fff;
  border: 1px solid #f1d8e4;
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 18px;
}

.cptf-sidebar-filters h3 {
  color: #191919;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 17px;
}

.cptf-filter-group + .cptf-filter-group {
  border-top: 1px solid #eee;
  margin-top: 17px;
  padding-top: 17px;
}

.cptf-filter-group h4 {
  color: #292929;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}

.cptf-filter-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cptf-filter-group li {
  margin: 0;
  padding: 0;
}

.cptf-filter-group a {
  align-items: center;
  color: #333;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 7px 0;
  text-decoration: none !important;
}

.cptf-filter-group a:hover,
.cptf-filter-group li.is-active a {
  color: var(--cptf-pink);
  font-weight: 700;
}

.cptf-filter-group small {
  color: #777;
  font-size: 12px;
}

@media (max-width: 991px) {
  .cptf-theme-browser {
    margin-bottom: 16px;
  }

  .cptf-theme-card {
    flex-basis: 112px;
    min-height: 138px;
  }

  .cptf-theme-card__image {
    height: 88px;
  }
}

@media (max-width: 575px) {
  .cptf-theme-browser__heading h2 {
    font-size: 15px;
  }

  .cptf-theme-browser__scroller {
    gap: 10px;
  }

  .cptf-theme-card {
    flex-basis: 102px;
    min-height: 128px;
  }

  .cptf-theme-card__image {
    height: 78px;
  }

  .cptf-theme-card__name {
    font-size: 12px;
  }
}

