/* Storefront footer signup only. Keep the surrounding footer grid intact. */
#ah-footer-signup { width: 100%; min-width: 0; color: inherit; font-size: 14px; line-height: 1.5; text-align: left !important; }
#ah-footer-signup *, #ah-footer-signup *::before, #ah-footer-signup *::after { box-sizing: border-box; }
#ah-footer-signup p { margin: 0 0 10px; }
#ah-footer-signup #ah-footer-offer { font-size: 16px; font-weight: 400; line-height: 1.5; margin-bottom: 12px; }
#ah-footer-signup .ah-footer-email-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#ah-footer-signup .ah-footer-entry { margin-bottom: 10px; }
#ah-footer-signup .form-control { display: block; min-width: 0; width: 100%; min-height: 44px; border-radius: 4px; font-size: 16px; background: #fff; color: #212529; }
#ah-footer-signup .ah-footer-consent { margin: 0 0 6px; font-size: 12px; line-height: 1.5; font-weight: 400; }
#ah-footer-signup .ah-footer-privacy { font-size: 12px; line-height: 1.5; margin-bottom: 10px; }
#ah-footer-signup a { color: inherit; text-decoration: underline; }
/* Explicit button styling also applies while disabled/pending/accepted. */
#ah-footer-signup button.ah-footer-submit {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 12px 18px;
  border: 1px solid transparent !important;
  outline: none;
  box-shadow: none;
  border-radius: 6px;
  background: var(--accent-color-orange, #ea6d38) !important;
  color: #fff !important;
  font: 600 16px/1.3 Poppins, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}
#ah-footer-signup button.ah-footer-submit:hover:not(:disabled) { background: #f58b5e !important; }
#ah-footer-signup button.ah-footer-submit:active:not(:disabled) { background: #e0622c !important; }
#ah-footer-signup button.ah-footer-submit:disabled { opacity: 1; cursor: default; border-color: transparent; outline: none; box-shadow: none; }
#ah-footer-signup[aria-busy="true"] button.ah-footer-submit { cursor: wait; }
#ah-footer-signup .ah-footer-status { padding: 8px 10px; background: #0f9d8f5c; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; }
#ah-footer-signup .ah-footer-error { background: #852020; color: #fff; }
#ah-footer-signup .ah-footer-status:empty, #ah-footer-signup [hidden] { display: none; }
#ah-footer-signup :is(input, button, a):focus-visible { outline: 3px solid #eda31e; outline-offset: 3px; }
#ah-footer-signup button.ah-footer-submit:focus-visible { outline: 3px solid var(--accent-color-skyblue, #14a3d8); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
#ah-footer-signup :is(input, button, a) { scroll-margin-block: 24px; }

/* Match actual main-footer link sizes; scope alignment to this form only. */
#ah-footer-signup :is(p, label, span, input, a) { text-align: left !important; }
#ah-footer-signup button.ah-footer-submit { text-align: center !important; }
@media (max-width: 1199.98px) {
  #ah-footer-signup #ah-footer-offer { font-size: 14px; }
}

/* Signup copy is white; editable text and the orange CTA retain their own colors. */
#ah-footer-signup :is(p, label, span, a, a:visited) { color: #fff !important; }
#ah-footer-signup .form-control::placeholder { color: #6c757d; opacity: 1; }
@media (max-width: 767.98px) {
  /* Remove nested column/row/form gutters, preserving the main-footer page gutters. */
  .footer-optin:has(#ah-footer-signup) { padding-inline: 0; margin-inline: 0; width: 100%; min-width: 0; }
  .footer-optin > .form-container:has(> #ah-footer-signup) { margin-inline: 0; padding-inline: 0; width: 100%; max-width: 100%; min-width: 0; }
  #ah-footer-signup { margin-inline: 0; padding-inline: 0; max-width: 100%; }
  #ah-footer-signup > :is(p, label, .ah-footer-entry) { margin-inline: 0; padding-inline: 0; max-width: 100%; }
}
