.pfpb-brand-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.pfpb-brand-hero,
.pfpb-brand-filters,
.pfpb-brand-content {
  background: #fff;
  border: 1px solid #eee1cf;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.pfpb-brand-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  margin-bottom: 28px;
  padding: 28px;
}

.pfpb-brand-logo-wrap {
  display: flex;
}

.pfpb-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  width: 100%;
  background: #f8fafc;
  border-radius: 16px;
  min-height: 180px;
}

.pfpb-brand-logo img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pfpb-brand-eyebrow {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 10px;
}

.pfpb-brand-title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: #102a56;
}

.pfpb-brand-short {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.6;
  color: #334155;
  max-width: 860px;
}

.pfpb-brand-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.pfpb-brand-stat-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.pfpb-brand-stat-card--available {
  background: #effcf4;
  border-color: #bbf7d0;
}

.pfpb-brand-stat-card--pfand {
  background: #eef8ff;
  border-color: #bfdbfe;
}

.pfpb-brand-stat-card-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: #102a56;
  margin-bottom: 6px;
}

.pfpb-brand-stat-card-label {
  display: block;
  font-size: 13px;
  color: #475569;
}

.pfpb-brand-meta,
.pfpb-brand-actions,
.pfpb-brand-filter-actions,
.pfpb-brand-products-grid,
.pfpb-brand-product-stats,
.pfpb-brand-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pfpb-brand-pill,
.pfpb-brand-action,
.pfpb-brand-reset,
.pfpb-brand-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.pfpb-brand-action {
  background: #102a56;
  border-color: #102a56;
  color: #fff;
}

.pfpb-brand-filters {
  padding: 24px;
  margin-bottom: 28px;
}

.pfpb-brand-filters-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.pfpb-brand-filters-head h2,
.pfpb-brand-content h2,
.pfpb-brand-products h2 {
  margin: 0 0 8px;
  color: #102a56;
}

.pfpb-brand-filters-head p {
  margin: 0;
  color: #475569;
}

.pfpb-brand-filter-form {
  display: grid;
  gap: 16px;
}

.pfpb-brand-filter-grid {
  display: grid;
  gap: 14px;
}

.pfpb-brand-filter-grid--top {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pfpb-brand-filter-grid--bottom {
  grid-template-columns: 1fr 1fr 2fr;
}

.pfpb-brand-field,
.pfpb-brand-check {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pfpb-brand-field span,
.pfpb-brand-check span {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.pfpb-brand-check {
  justify-content: flex-end;
  min-height: 84px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.pfpb-brand-check input {
  margin-right: 8px;
}

.pfpb-brand-field select,
.pfpb-brand-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #102a56;
}

.pfpb-brand-submit {
  border: 0;
  border-radius: 14px;
  background: #f97316;
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
}

.pfpb-brand-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pfpb-brand-product-card {
  background: #fff;
  border: 1px solid #eee1cf;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.pfpb-brand-product-card a {
  text-decoration: none;
}

.pfpb-brand-product-kicker {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 10px;
}

.pfpb-brand-product-title {
  font-size: 24px;
  line-height: 1.2;
  color: #102a56;
  margin: 0 0 16px;
}

.pfpb-brand-product-image {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pfpb-brand-product-image img {
  max-width: 100%;
  max-height: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pfpb-brand-mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  background: #eff6ff;
}

.pfpb-brand-mini-badge--offer {
  border-color: #bbf7d0;
  color: #166534;
  background: #effcf4;
}

.pfpb-brand-product-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 12px;
}

.pfpb-brand-stat {
  background: #eff6ff;
  border-radius: 14px;
  padding: 10px 12px;
  text-align: center;
}

.pfpb-brand-stat--pfand {
  background: #ecfdf5;
}

.pfpb-brand-stat-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}

.pfpb-brand-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #102a56;
}

.pfpb-brand-product-meta-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.pfpb-brand-meta-line {
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.pfpb-brand-product-link {
  display: inline-block;
  font-weight: 800;
  color: #f97316;
}

.pfpb-brand-content {
  padding: 24px;
  margin-top: 28px;
}

.pfpb-brand-content p {
  color: #334155;
  line-height: 1.7;
}

.pfpb-brand-no-results {
  background: #fff;
  border: 1px solid #eee1cf;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}

.pfpb-brand-pagination-box {
  margin-top: 28px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #eee1cf;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.pfpb-brand-pagination-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 12px;
}

.pfpb-brand-pagination {
  margin-top: 0;
}

.pfpb-brand-pagination-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pfpb-brand-pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #102a56;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 35, 67, 0.04);
}

.pfpb-brand-pagination-nav .page-numbers.current {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
}

.pfpb-brand-pagination-nav .page-numbers:hover {
  border-color: #102a56;
  color: #102a56;
}

.pfpb-brand-pagination-nav .page-numbers.current:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .pfpb-brand-stats-grid,
  .pfpb-brand-filter-grid--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pfpb-brand-filter-grid--bottom,
  .pfpb-brand-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pfpb-brand-hero,
  .pfpb-brand-filters-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .pfpb-brand-filters-head {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .pfpb-brand-page {
    padding: 24px 14px 40px;
  }

  .pfpb-brand-title {
    font-size: 30px;
  }

  .pfpb-brand-stats-grid,
  .pfpb-brand-filter-grid--top,
  .pfpb-brand-filter-grid--bottom,
  .pfpb-brand-products-grid {
    grid-template-columns: 1fr;
  }
}
