.affiliate-product-card > div:last-child {
  margin-top: auto;
  justify-content: center;
}

.affiliate-product-card > div:last-child > .grid {
  width: fit-content;
  max-width: 100%;
  justify-items: center;
}

.affiliate-product-card > div:last-child > .grid > button {
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 639px) {
  .affiliate-product-card .grid.grid-cols-1.gap-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
