.brand-logo-frame {
  align-items: center;
  background: #fff;
  border: 1px solid rgb(224 228 235 / 0.8);
  border-radius: 0.75rem;
  display: flex;
  height: 5rem;
  justify-content: center;
  margin-bottom: 0.75rem;
  overflow: hidden;
  padding: 0.5rem;
}

.brand-logo-image {
  display: block;
  height: 100%;
  max-height: 4rem;
  max-width: 92%;
  object-fit: contain;
  width: 100%;
}

.brand-logo-frame.is-dark { background: #292423; }

.brand-filter-row {
  display: flex;
  gap: 0.5rem;
  margin: 0 -0.25rem 1.25rem;
  overflow-x: auto;
  padding: 0 0.25rem 0.5rem;
  scrollbar-width: none;
}

.brand-filter-row::-webkit-scrollbar { display: none; }

.brand-filter-button {
  background: #fff;
  border: 1px solid #e0e4eb;
  border-radius: 0.65rem;
  color: #1b2232;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
}

.brand-filter-button.is-active {
  background: #17264c;
  border-color: #17264c;
  color: #fff;
}

.brand-listing-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-listing-card {
  background: #fff;
  border: 1px solid rgb(224 228 235 / 0.8);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgb(23 38 76 / 0.06);
  min-width: 0;
  padding: 0.75rem;
}

.brand-card-badges {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.brand-category-badge,
.brand-status-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.36rem 0.48rem;
  white-space: nowrap;
}

.brand-category-badge { background: #f0f2f6; color: #34405a; }
.brand-status-badge { background: #eaf8f1; color: #16835a; }
.brand-status-icon { height: 0.7rem; margin-right: 0.2rem; width: 0.7rem; }

.brand-card-title {
  color: #1b2232;
  display: -webkit-box;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  min-height: 2.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brand-card-location {
  align-items: center;
  color: #6c7484;
  display: flex;
  font-size: 0.72rem;
  gap: 0.2rem;
  margin-bottom: 0.65rem;
}

.brand-location-icon { flex: 0 0 auto; height: 0.8rem; width: 0.8rem; }

.brand-card-price {
  align-items: flex-end;
  border-top: 1px solid #edf0f4;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.6rem;
}

.brand-card-price span { color: #7b8290; font-size: 0.66rem; }
.brand-card-price strong { color: #d39b18; font-size: 0.92rem; white-space: nowrap; }

.brand-pagination {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.brand-page-button,
.brand-contact-button {
  border: 0;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 700;
}

.brand-page-button { min-height: 2.9rem; padding: 0.7rem 1.35rem; }
.brand-page-button.is-previous { background: #fff; border: 1px solid #d8dde6; color: #34405a; }
.brand-page-button.is-more { background: #17264c; color: #fff; min-width: 10rem; }

.brand-contact-cta { margin-top: 2rem; text-align: center; }
.brand-contact-cta h3 { color: #1b2232; font-size: 1.15rem; font-weight: 800; margin: 0 0 0.4rem; }
.brand-contact-cta p { color: #6c7484; font-size: 0.88rem; margin: 0 0 1rem; }
.brand-contact-button { background: #efb52f; color: #2b2a25; min-height: 3rem; padding: 0.75rem 1.4rem; }

@media (min-width: 640px) {
  .brand-filter-row { justify-content: center; overflow: visible; }
  .brand-listing-card { padding: 1.25rem; }
  .brand-logo-frame { height: 6rem; padding: 0.75rem; }
  .brand-logo-image { max-height: 4.5rem; max-width: 88%; }
  .brand-card-title { font-size: 1.05rem; }
  .brand-card-price { align-items: center; flex-direction: row; justify-content: space-between; }
  .brand-card-price strong { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .brand-listing-grid { gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-logo-frame { height: 6.5rem; }
  .brand-logo-image { max-height: 5rem; max-width: 82%; }
}
