/* M5-T15 Brands page scoped CSS derived from approved brands.html source stylesheet. */
.brands-hub {
  --brands-green: #2E7D32;
  --brands-accent: #4CAF50;
  --brands-dark: #03190B;
  --brands-soft: #F8FCF8;
  --brands-border: #DFECE2;
  --brands-muted: #5E6E62;
  overflow-x: hidden;
  background: #FFFFFF;
  color: var(--brands-dark);
  font-family: "Poppins", var(--pg-font-body);
}

.brands-hub *,
.brands-hub *::before,
.brands-hub *::after {
  box-sizing: border-box;
}

.brands-hero {
  padding: 76px 0 42px;
  background:
    radial-gradient(circle at 8% 8%, rgba(76, 175, 80, 0.13), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FCF8 100%);
}

.brands-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 52px;
}

.brands-kicker {
  margin: 0 0 12px;
  color: var(--brands-green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brands-hero-copy h1,
.brands-section-head h2,
.brands-profile-copy h2,
.brands-finder-panel h2,
.brands-final-panel h2 {
  margin: 0;
  color: var(--brands-dark);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.brands-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 68px);
}

.brands-hero-copy p:not(.brands-kicker),
.brands-section-head p:not(.brands-kicker),
.brands-profile-copy p,
.brands-finder-panel p,
.brands-final-panel p {
  margin: 18px 0 0;
  color: var(--brands-muted);
  font-size: 16px;
  line-height: 1.65;
}

.brands-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.brands-actions .btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
}

.brands-image-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-radius: 26px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FCF8 100%);
  box-shadow: 0 18px 52px rgba(3, 25, 11, 0.08);
}

.brands-hero-media {
  aspect-ratio: 14 / 9;
  border-radius: 30px;
}

.brands-image-shell img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  display: block;
  object-fit: contain;
}

.brands-image-shell.is-missing img {
  display: none;
}

.brands-image-shell.is-missing {
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
}

.brands-image-shell.is-missing::before {
  content: "";
  width: 48px;
  height: 48px;
  border: 1px solid rgba(46, 125, 50, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(46, 125, 50, 0.34) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(46, 125, 50, 0.34) 47% 53%, transparent 53%),
    #F8FCF8;
}

.brands-image-shell.is-missing::after {
  content: attr(data-placeholder);
  max-width: min(78%, 420px);
  color: #4F6354;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.brands-trust {
  padding: 0 0 44px;
  background: #F8FCF8;
}

.brands-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.brands-trust-grid article,
.brands-card,
.brands-profile-grid,
.brands-recommend-grid article,
.brands-why-grid article,
.brands-finder-panel,
.brands-comparison-cards article {
  border: 1px solid rgba(46, 125, 50, 0.11);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 42px rgba(3, 25, 11, 0.055);
}

.brands-trust-grid article {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  padding: 16px;
}

.brands-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #EDF8EF;
  color: var(--brands-green);
}

.brands-icon svg {
  width: 19px;
  height: 19px;
}

.brands-trust-grid strong,
.brands-why-grid strong {
  color: #172018;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.brands-section {
  padding: 64px 0;
  scroll-margin-top: 110px;
}

.brands-section-head {
  max-width: 790px;
  margin-bottom: 28px;
}

.brands-section-head h2,
.brands-profile-copy h2,
.brands-finder-panel h2,
.brands-final-panel h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

.brands-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.brands-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  border-radius: 24px;
  padding: 14px;
  color: var(--brands-dark);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.brands-card:hover,
.brands-card:focus-visible {
  border-color: rgba(46, 125, 50, 0.32);
  box-shadow: 0 24px 58px rgba(3, 25, 11, 0.1), 0 0 0 5px rgba(76, 175, 80, 0.08);
  transform: translateY(-4px);
}

.brands-card .brands-image-shell {
  border-radius: 20px;
  box-shadow: none;
}

.brands-card span {
  color: var(--brands-dark);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
}

.brands-card small {
  color: var(--brands-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.brands-comparison-section,
.brands-why,
.brands-finder-section {
  background: #F8FCF8;
}

.brands-comparison-table-wrap {
  overflow-x: auto;
}

.brands-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--brands-border);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 18px 52px rgba(3, 25, 11, 0.07);
}

.brands-comparison-table th,
.brands-comparison-table td {
  padding: 15px;
  border-bottom: 1px solid #E8F1EA;
  border-right: 1px solid #E8F1EA;
  color: #26332A;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.brands-comparison-table th {
  color: var(--brands-dark);
  font-weight: 600;
}

.brands-comparison-table thead th {
  background: #EDF8EF;
  color: var(--brands-green);
}

.brands-comparison-table tr:last-child th,
.brands-comparison-table tr:last-child td {
  border-bottom: 0;
}

.brands-comparison-table th:last-child,
.brands-comparison-table td:last-child {
  border-right: 0;
}

.brands-comparison-cards {
  display: none;
}

.brands-profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  padding: 22px;
}

.brands-profile-media {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  box-shadow: none;
}

.brands-profile-details {
  display: grid;
  gap: 10px;
}

.brands-profile-details div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--brands-border);
  border-radius: 18px;
  background: #F8FCF8;
  padding: 14px;
}

.brands-profile-details span,
.brands-recommend-grid span,
.brands-finder-result span {
  color: var(--brands-green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brands-profile-details strong,
.brands-recommend-grid strong,
.brands-finder-result strong {
  color: var(--brands-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.brands-recommend-grid,
.brands-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.brands-recommend-grid article,
.brands-why-grid article {
  display: grid;
  gap: 10px;
  border-radius: 22px;
  padding: 20px;
}

.brands-recommend-grid p {
  margin: 0;
  color: var(--brands-muted);
  font-size: 14px;
  line-height: 1.55;
}

.brands-why-grid article {
  min-height: 130px;
  align-content: start;
}

.brands-finder-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: center;
  border-radius: 28px;
  padding: 28px;
}

.brands-finder-form {
  display: grid;
  gap: 12px;
}

.brands-finder-form label {
  display: grid;
  gap: 7px;
}

.brands-finder-form label span {
  color: var(--brands-dark);
  font-size: 13px;
  font-weight: 600;
}

.brands-finder-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--brands-border);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--brands-dark);
  padding: 0 14px;
  font-family: inherit;
}

.brands-finder-result {
  display: grid;
  gap: 10px;
  border-radius: 22px;
  background: #03190B;
  padding: 22px;
  color: #FFFFFF;
}

.brands-finder-result strong,
.brands-finder-result span {
  color: #FFFFFF;
}

.brands-finder-result p {
  margin: 0;
  color: #CFE5D3;
  font-size: 14px;
  line-height: 1.55;
}

.brands-finder-result .btn {
  width: 100%;
}

.brands-final-cta {
  padding: 64px 0 76px;
}

.brands-final-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 30px;
  padding: 34px;
  background:
    radial-gradient(circle at 88% 18%, rgba(76, 175, 80, 0.24), transparent 30%),
    linear-gradient(135deg, #03190B 0%, #0B2B14 100%);
  color: #FFFFFF;
  box-shadow: 0 26px 70px rgba(3, 25, 11, 0.18);
}

.brands-final-panel h2,
.brands-final-panel .brands-kicker {
  color: #FFFFFF;
}

.brands-final-panel p {
  color: #CFE5D3;
}

.brands-final-panel .btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1180px) {
  .brands-hero-grid,
  .brands-finder-panel,
  .brands-final-panel {
    grid-template-columns: 1fr;
  }

  .brands-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brands-profile-grid {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  }

  .brands-profile-details {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-trust-grid,
  .brands-recommend-grid,
  .brands-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .brands-hero {
    padding: 44px 0 34px;
  }

  .brands-hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .brands-section,
  .brands-final-cta {
    padding: 42px 0;
  }

  .brands-actions,
  .brands-actions .btn {
    width: 100%;
  }

  .brands-card-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    margin-inline: -14px;
    padding: 0 14px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .brands-card-grid::-webkit-scrollbar {
    display: none;
  }

  .brands-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  .brands-trust-grid,
  .brands-recommend-grid,
  .brands-why-grid,
  .brands-profile-grid,
  .brands-profile-details {
    grid-template-columns: 1fr;
  }

  .brands-comparison-table {
    display: none;
  }

  .brands-comparison-cards {
    display: grid;
    gap: 12px;
  }

  .brands-comparison-cards article {
    display: grid;
    gap: 8px;
    border-radius: 20px;
    padding: 18px;
  }

  .brands-comparison-cards span {
    color: var(--brands-green);
    font-weight: 700;
  }

  .brands-comparison-cards p {
    margin: 0;
    color: var(--brands-muted);
    font-size: 14px;
    line-height: 1.55;
  }

  .brands-profile-grid,
  .brands-finder-panel,
  .brands-final-panel {
    padding: 18px;
