.mfr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.mfr-filter {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 100px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mfr-filter:hover { border-color: var(--accent); }
.mfr-filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.brand-group { margin-bottom: 40px; scroll-margin-top: 120px; }
.brand-group .section-title { margin-bottom: 16px; }

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

.brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 74, 138, 0.1);
}

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  position: relative;
  z-index: 1;
}
.brand-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 4px;
}
.brand-country {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.brand-sec {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.brand-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.brand-ext,
.brand-cat {
  font-size: 13px;
  font-weight: 600;
}
.brand-ext { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.brand-ext:hover { color: var(--accent); }
.brand-ext.is-off {
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
}
.brand-cat { color: var(--accent); }
.brand-cat:hover { text-decoration: underline; }

.home-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 28px 0 24px;
}
.home-brand {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-height: 110px;
  transition: border-color 0.2s, transform 0.2s;
}
.home-brand:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.home-brand .brand-logo {
  width: 56px;
  height: 56px;
  margin: 0;
}
.home-brand span {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}
.home-brands-actions { text-align: center; }
