.rewards-footer-signup,
.footer-subscribe {
  max-width: 480px;
}

.rewards-footer-signup h3,
.footer-subscribe h3 {
  margin: 0 0 12px;
}

.rewards-footer-signup p,
.footer-subscribe p {
  margin: 0;
}

.rewards-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.rewards-form input[type="email"] {
  box-sizing: border-box;
  min-width: 0;
  flex: 0 1 auto;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #bec3c8;
  border-radius: 3px;
  color: #1e1c1c;
  background: #fff;
  font: 14px/1.2 Helvetica, Arial, sans-serif;
}

.rewards-form button {
  height: auto;
  min-height: 44px;
  width: auto;
  max-width: 100%;
  padding: 12px 23px;
  justify-self: start;
  align-self: flex-start;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #d9252a;
  font: 500 14px/1.2 Helvetica, Arial, sans-serif;
  white-space: normal;
  text-align: center;
}

.rewards-form button:hover,
.rewards-form button:focus-visible {
  background: #b82126;
}

.footer-grid > .rewards-footer-signup {
  grid-column: 1 / -1;
  width: min(100%, 520px);
}

.category-footer .rewards-footer-signup {
  width: min(100%, 480px);
}

@media (max-width: 520px) {
  .rewards-form {
    flex-direction: column;
    align-items: stretch;
  }

  .rewards-form input[type="email"] {
    width: 100%;
  }
}

/* Keep the existing grid-footer field aligned with its compact button. */
.figma-footer .rewards-form input[type="email"] {
  justify-self: start;
}

.rewards-form button::before {
  content: "\2192";
  flex: 0 0 auto;
}
