/* ─── Brand products grid ─────────────────────────────────────────────────── */

.pf-brand-products__header {
  margin-bottom: 56px;
}

.pf-brand-products__header h2 {
  margin-top: 8px;
}

.pf-brand-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.pf-brand-product-card {
  display: block;
  background: var(--wp--preset--color--cream);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.pf-brand-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(39, 36, 29, 0.12);
}

.pf-brand-product-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wp--preset--color--green, #35521c);
  font-family: var(--wp--preset--font-family--eyebrow, inherit);
  letter-spacing: 0.04em;
}
.pf-brand-product-card__link::after {
  content: " →";
  transition: margin-left 0.2s ease;
}
.pf-brand-product-card:hover .pf-brand-product-card__link::after {
  margin-left: 4px;
}

.pf-brand-product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wp--preset--color--cream-dark, #e8dfd4);
}

.pf-brand-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-brand-product-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--wp--preset--color--cream-dark, #e8dfd4) 0%, var(--wp--preset--color--cream) 100%);
}

.pf-brand-product-card__stock {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wp--preset--color--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  font-family: var(--wp--preset--font-family--eyebrow);
}

.pf-brand-product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--wp--preset--color--dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  font-family: var(--wp--preset--font-family--eyebrow);
}

.pf-brand-product-card__body {
  padding: 20px 24px 24px;
}

.pf-brand-product-card__title {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--wp--preset--color--dark);
  line-height: 1.3;
}

.pf-brand-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
}

.pf-brand-product-card__price-label {
  font-size: 12px;
  color: var(--wp--preset--color--text-muted);
  font-family: var(--wp--preset--font-family--eyebrow);
}

.pf-brand-product-card__price-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--wp--preset--color--dark);
  font-family: var(--wp--preset--font-family--heading);
  font-style: italic;
  line-height: 1;
}

.pf-brand-product-card__price-unit {
  font-size: 14px;
  color: var(--wp--preset--color--text-muted);
}

@media (max-width: 700px) {
  .pf-brand-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pf-brand-products-grid {
    grid-template-columns: 1fr;
  }
  .pf-brand-product-card__body {
    padding: 16px;
  }
}

/* ─── Filter-chips (bezoekersfilter) ──────────────────────────────────────── */
.pf-bp-filters {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--wp--preset--color--cream-dark, #e8dfd4);
  display: grid;
  gap: 16px;
}

.pf-bp-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pf-bp-chips__label {
  font-family: var(--wp--preset--font-family--eyebrow, inherit);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--text-muted, #8a8578);
  margin-right: 4px;
  min-width: 74px;
}

.pf-bp-chip {
  padding: 10px 20px;
  border: 1px solid var(--wp--preset--color--cream-dark, #e8dfd4);
  background: var(--wp--preset--color--cream, #f5f1ea);
  color: var(--wp--preset--color--dark, #27241d);
  font-family: var(--wp--preset--font-family--body, inherit);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pf-bp-chip:hover {
  border-color: var(--wp--preset--color--green, #35521c);
  color: var(--wp--preset--color--green, #35521c);
  background: #fff;
}

.pf-bp-chip.is-active {
  background: var(--wp--preset--color--green, #35521c);
  border-color: var(--wp--preset--color--green, #35521c);
  color: #fff;
  cursor: default;
  box-shadow: 0 4px 14px rgba(53, 82, 28, 0.22);
}

.pf-bp-chip:focus-visible {
  outline: 2px solid var(--wp--preset--color--green, #35521c);
  outline-offset: 2px;
}

/* ─── AJAX-paginering ─────────────────────────────────────────────────────── */
.pf-brand-products__wrap {
  position: relative;
}

.pf-brand-products__wrap.is-loading .pf-brand-products-grid {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.pf-bp-pager-wrap {
  margin-top: 52px;
}

.pf-bp-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pf-bp-pager__btn {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wp--preset--color--cream-dark, #e8dfd4);
  background: var(--wp--preset--color--cream, #f5f1ea);
  color: var(--wp--preset--color--dark, #27241d);
  font-family: var(--wp--preset--font-family--body, inherit);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pf-bp-pager__btn:hover {
  border-color: var(--wp--preset--color--green, #35521c);
  color: var(--wp--preset--color--green, #35521c);
  background: #fff;
}

.pf-bp-pager__btn.is-current {
  background: var(--wp--preset--color--green, #35521c);
  border-color: var(--wp--preset--color--green, #35521c);
  color: #fff;
  cursor: default;
  box-shadow: 0 4px 14px rgba(53, 82, 28, 0.22);
}

.pf-bp-pager__btn.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.pf-bp-pager__dots {
  padding: 0 2px;
  color: var(--wp--preset--color--text-muted, #8a8578);
  align-self: flex-end;
}

@media (max-width: 480px) {
  .pf-bp-chip {
    padding: 8px 15px;
    font-size: 13px;
  }
  .pf-bp-pager__btn {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 14px;
  }
}
