.pfc-wrapper {
  width: 100%;
}

.pfc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.pfc-filter {
  appearance: none;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #1f1f1f;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pfc-filter:hover,
.pfc-filter.is-active {
  background: #0d5fb6;
  border-color: #0d5fb6;
  color: #ffffff;
}

.pfc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pfc-card {
  background: #ffffff;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

.pfc-card.is-hiding,
.pfc-card.is-entering {
  opacity: 0;
  transform: translateY(10px);
}

.pfc-card.is-hidden {
  display: none;
}

.pfc-card__media {
  width: 100%;
  display: block;
  line-height: 0;
  overflow: hidden;
}

.pfc-card__image {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.pfc-card__placeholder {
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  color: #666666;
  font-size: 15px;
}

.pfc-card__footer {
  background: #d9d9d9;
  padding: 10px;
  text-align: center;
}

.pfc-card__button,
.pfc-card__button:visited {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(90deg, #1f7bd8 0%, #58d4d6 100%);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  margin: 0 auto;
}

.pfc-card__button:hover,
.pfc-card__button:focus {
  background: linear-gradient(90deg, #58d4d6 0%, #1f7bd8 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.pfc-card__button--disabled,
.pfc-card__button--disabled:hover,
.pfc-card__button--disabled:focus {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.pfc-card__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pfc-card__button-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.pfc-card__button-text {
  display: inline-block;
}

.pfc-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.pfc-load-more-wrap.is-hidden {
  display: none;
}

.pfc-load-more-button {
  appearance: none;
  border: 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f7bd8 0%, #58d4d6 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pfc-load-more-button:hover,
.pfc-load-more-button:focus {
  background: linear-gradient(90deg, #58d4d6 0%, #1f7bd8 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
  .pfc-grid {
    grid-template-columns: 1fr;
  }
}
