.ws-pcs-shortcode {
  margin: 0 0 32px;
}

.ws-pcs-shortcode .parent_filters.ws-pcs-filters {
  display: grid;
  grid-template-columns: repeat(var(--ws-pcs-filter-cols, 5), minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin: 0 0 24px;
}

.ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button {
  background: white;
  width: 100%;
  display: flex;
  border: 2px solid lightgrey;
  box-sizing: border-box;
  align-items: center;
  height: 54px;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 0 0 10px;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}

.ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button img {
  flex: 0 0 auto;
  max-height: 40px;
}

.ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button .title {
  display: block;
  padding: 5px;
  font-size: 18px;
  color: #333;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button.border-now,
.ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button.is-active {
  border: 2px solid black;
}

.ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button.is-active {
  box-shadow: none;
}

.ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ws-pcs-shortcode.is-loading .ws-pcs-results {
  opacity: 0.6;
  transition: opacity 0.18s ease;
}

.ws-pcs-shortcode .ws-pcs-status {
  margin: 16px 0 24px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #5d5649;
}

.ws-pcs-shortcode .ws-pcs-status.ws-pcs-loading {
  color: #2b5b4d;
}

.ws-pcs-shortcode .ws-pcs-status.ws-pcs-error {
  color: #9b2f2f;
}

.ws-pcs-shortcode .ws-pcs-empty {
  margin: 16px 0;
}

@media (max-width: 1100px) {
  .ws-pcs-shortcode .parent_filters.ws-pcs-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ws-pcs-shortcode .parent_filters.ws-pcs-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-pcs-shortcode .grandkids.item.ws-pcs-filter-button {
    height: 54px;
  }
}

@media (max-width: 460px) {
  .ws-pcs-shortcode .parent_filters.ws-pcs-filters {
    grid-template-columns: 1fr;
  }
}
