.shm-products {
  background: var(--shm-background);
}

.shm-products__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.shm-products__item {
  min-width: 0;
}

.shm-products__archive-item.is-hidden-by-category {
  display: none;
}

.shm-products__categories {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x proximity;
  white-space: nowrap;
}

.shm-products__categories button {
  background: var(--shm-white);
  border: 1px solid var(--shm-border);
  border-radius: 0;
  color: var(--shm-navy);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  scroll-snap-align: start;
}

.shm-products__categories button.is-active,
.shm-products__categories button[aria-pressed="true"],
.shm-products__categories button:hover {
  background: var(--shm-navy);
  border-color: var(--shm-navy);
  color: var(--shm-white);
}

.shm-products__categories button.is-active::after,
.shm-products__categories button[aria-pressed="true"]::after {
  background: var(--shm-orange);
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.45rem;
  width: 100%;
}

.shm-products.is-enhanced:not(.is-expanded) .shm-products__item.is-extra-product {
  display: none;
}

.shm-product-card {
  background: var(--shm-white);
  border: 1px solid var(--shm-border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.shm-product-card__media {
  background: var(--shm-blue-light);
  display: block;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.shm-product-card__image {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
  width: 100%;
}

.shm-product-card:hover .shm-product-card__image {
  transform: none;
}

.shm-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.shm-product-card__brand {
  color: var(--shm-blue);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.shm-product-card h3 {
  font-size: 1.15rem;
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.shm-product-card h3 a {
  text-decoration: none;
}

.shm-product-card__description {
  color: var(--shm-text-light);
  font-size: 0.95rem;
  line-height: 1.55;
}

.shm-product-card__highlights {
  display: grid;
  gap: 0.4rem;
  list-style: none;
  margin: 0.9rem 0 1rem;
  padding: 0;
}

.shm-product-card__highlights li {
  align-items: baseline;
  color: var(--shm-text);
  display: grid;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.5rem;
  grid-template-columns: auto 1fr;
  line-height: 1.35;
}

.shm-product-card__highlights li::before {
  background: var(--shm-orange);
  content: "";
  height: 0.45rem;
  transform: translateY(-0.05rem);
  width: 0.45rem;
}

.shm-product-card__link {
  color: var(--shm-blue);
  display: inline-flex;
  font-weight: 850;
  margin-top: auto;
  text-decoration: none;
}

.shm-product-card__link::after {
  content: "→";
  margin-left: 0.45rem;
}

.shm-products__controls {
  align-items: center;
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

.shm-products.is-enhanced .shm-products__controls {
  display: flex;
}

.shm-products__toggle {
  min-width: 13rem;
}

.shm-products__archive-link {
  color: var(--shm-blue);
  font-weight: 850;
  text-decoration: none;
}

@media (min-width: 700px) {
  .shm-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .shm-products__categories {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }

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