.brand-shell {
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}
.brand-heading {
  max-width: 64ch;
  margin-bottom: 0;
  padding-block: 1.25rem 0;
}
.brand-directory-jump {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.35rem;
}
.brand-section {
  margin-block: clamp(2rem, 5vw, 3.5rem);
}
.brand-section h2 {
  margin-block: 0 1rem;
}
.brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 1rem;
}
.brand-hero-copy {
  align-content: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: #f0f4ef;
  border: 1px solid #d6e0d7;
  border-radius: 12px;
}
.brand-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.07;
  overflow-wrap: anywhere;
}
.brand-hero-copy > p {
  max-width: 55ch;
  margin-block: 1rem 1.3rem;
  font-size: 1.16rem;
}
.brand-hero-actions, .brand-product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.brand-hero-actions .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.brand-hero-actions .button-outline {
  color: #184936;
  background: #fff;
  border: 1px solid #8ba598;
}
.brand-hero-actions .button-outline:hover {
  background: #e2eee5;
}
.brand-hero-photo, .brand-feature-card {
  display: grid;
  text-decoration: none;
  color: #1b3327;
  background: #fff;
  border: 1px solid #d6dfd7;
  border-radius: 10px;
  overflow: hidden;
}
.brand-hero-photo {
  grid-template-rows: minmax(12rem, 1fr) auto;
}
.brand-hero-photo img, .brand-feature-photo img, .brand-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}
.brand-hero-photo img {
  min-height: 0;
  max-height: 15rem;
}
.brand-hero-photo > span, .brand-feature-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: #f4f6f2;
  border-top: 1px solid #d6dfd7;
  font-weight: 700;
}
.brand-shell svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.brand-hero-photo:hover, .brand-feature-card:hover, .brand-directory a:hover {
  color: #184936;
  border-color: #597866;
}
.brand-hero-photo:hover > span, .brand-feature-card:hover .brand-feature-info {
  background: #e8f0e9;
}
.brand-feature-grid, .brand-pick-grid, .brand-products, .brand-letter ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.brand-feature-grid, .brand-pick-grid, .brand-directory {
  display: grid;
  gap: 1rem;
}
.brand-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.brand-feature-photo {
  height: 8.5rem;
}
.brand-feature-info {
  min-height: 4.4rem;
}
.brand-feature-info span {
  display: block;
  color: #4b6054;
  font-size: 0.95rem;
  font-weight: 400;
}
.brand-alphabet, .brand-category-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 0 1.25rem;
}
.brand-alphabet a, .brand-category-jumps a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding-inline: 0.65rem;
  border: 1px solid #c4d2c7;
  border-radius: 6px;
  background: #f6f8f5;
  color: #214e3b;
  font-weight: 700;
  text-decoration: none;
}
.brand-alphabet a {
  min-width: 44px;
  justify-content: center;
}
.brand-alphabet a:hover, .brand-category-jumps a:hover {
  background: #e4eee5;
  text-decoration: underline;
}
.brand-category-jumps span {
  color: #51665a;
  font-weight: 500;
}
.brand-directory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.brand-letter {
  padding: 0.85rem 1rem 0.35rem;
  border: 1px solid #d6dfd7;
  border-radius: 10px;
}
.brand-letter h3 {
  margin: 0 0 0.35rem;
  color: #285440;
}
.brand-letter a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding-block: 0.5rem;
  border-top: 1px solid #e5ebe5;
  color: #1d4232;
  text-decoration: none;
}
.brand-letter a:hover strong {
  text-decoration: underline;
}
.brand-letter a strong {
  overflow-wrap: anywhere;
}
.brand-letter a span, .brand-ranking-note {
  color: #526358;
}
.brand-letter a span {
  font-size: 0.91rem;
}
.brand-pick-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.brand-pick-grid li {
  padding: 1rem 1.2rem;
  background: #f7f8f5;
  border: 1px solid #d6dfd7;
  border-radius: 10px;
}
.brand-pick-grid h3 {
  margin: 0;
  font-size: 1.24rem;
}
.brand-pick-grid p {
  margin-block: 0.5rem 0.7rem;
}
.brand-pick-grid a {
  display: inline;
}
.brand-product-group {
  margin-top: 1.65rem;
}
.brand-product-group > h3 {
  margin: 0;
  font-size: 1.45rem;
}
.brand-all-category {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand-products {
  border-top: 1px solid #d6dfd7;
}
.brand-product {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #d6dfd7;
}
.brand-product-image {
  height: 6.25rem;
  border: 1px solid #e3e9e3;
  border-radius: 8px;
  background: #fff;
}
.brand-product h4 {
  margin: 0;
  font-size: 1.18rem;
}
.brand-product p {
  margin-block: 0.25rem 0.5rem;
}
.brand-product-actions .text-link, .brand-product-actions .amazon-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.35rem;
}
.brand-product-actions .compare-add {
  min-height: 44px;
}
.brand-sales-rank {
  font-size: 0.96rem;
  color: #325945;
  font-weight: 700;
}
.brand-sales-rank span {
  color: #536459;
  font-weight: 500;
}
.brand-product .amazon-link {
  width: auto;
  margin: 0;
}
.brand-back {
  margin-top: 2rem;
}
.brand-shell [id] {
  scroll-margin-top: 6rem;
}
@media (max-width: 54rem) {
  .brand-feature-grid, .brand-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 40rem) {
  .brand-hero, .brand-directory {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand-hero-photo img {
    max-height: 12rem;
  }
  .brand-feature-photo {
    height: 7rem;
  }
  .brand-feature-info {
    padding-inline: 0.7rem;
  }
  .brand-product {
    gap: 0.75rem;
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }
  .brand-product-image {
    height: 4.5rem;
  }
  .brand-product-image img {
    padding: 0.35rem;
  }
}
