.csa-product-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
  width: 100%;
}

.csa-product-links > .button {
  width: 100%;
  min-width: 0;
}

.product-card .selfcheck-sites {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.product-card .selfcheck-sites__label {
  margin-top: auto;
}

.product-card > .button {
  width: 100%;
  margin-top: auto;
}

.csa-product-links .selfcheck-link,
.product-card > .selfcheck-link {
  border-color: #1b2a8c;
  background: #1b2a8c;
  color: #fff;
}

.product-card .selfcheck-sites .selfcheck-link {
  border-color: #1b2a8c;
  background: #1b2a8c;
  color: #fff;
}

.csa-product-links .selfcheck-link:hover,
.product-card > .selfcheck-link:hover {
  border-color: #26399f;
  background: #26399f;
  color: #fff;
}

.product-card .selfcheck-sites .selfcheck-link:hover {
  border-color: #26399f;
  background: #26399f;
  color: #fff;
}

.csa-product-links .selfcheck-link:focus-visible,
.product-card > .selfcheck-link:focus-visible,
.csa-product-links__medical:focus-visible {
  outline: 3px solid #173e5e;
  outline-offset: 3px;
}

.csa-product-links__medical {
  border-color: #0874ac;
  background: #0874ac;
  color: #fff;
}

.csa-product-links__medical:hover {
  border-color: #075f8d;
  background: #075f8d;
  color: #fff;
}

.product-card .csa-product-links > .button,
.product-card .selfcheck-sites > .button {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .product-card .csa-product-links > .button,
  .product-card .selfcheck-sites > .button {
    white-space: normal;
  }
}
