.pbw-product-links {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  background: #fafafa;
}

.pbw-product-links__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.pbw-product-links__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.pbw-product-links__subtitle,
.pbw-product-links__extra {
  margin: 0;
  color: inherit;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pbw-product-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pbw-product-links__item {
  margin: 0;
}

.pbw-product-links__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pbw-product-links__link:hover,
.pbw-product-links__link:focus {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.pbw-product-links__cta {
  align-self: flex-start;
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pbw-product-links__cta:hover,
.pbw-product-links__cta:focus {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

@media (min-width: 768px) {
  .pbw-product-links__item {
    flex: 0 0 calc(50% - 0.25rem);
  }

  .pbw-product-links__link {
    width: 100%;
  }
}
