.wrap {
  position: relative;
  display: inline-block;
  margin: 1rem;
}

.buy {
  padding: 0.75rem 2rem;
  font: inherit;
  color: white;
  background-color: royalblue;
  border: 0;
  border-radius: 0.5rem;
}

.shine {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, transparent 40%, rgb(255 255 255 / 0.4), transparent 60%);
  border-radius: 0.5rem;
  pointer-events: none;
}
