/* Staff: mobile footer refinements — 2026-11-15.
   Desktop >=1024 is intentionally unchanged. */
@media (max-width: 1023px) {
  /* Heading stays at left; authentic STELLA-only wordmark sits to its right. */
  .stella-store .store-footer .footer-layout > .stay-in-touch {
    padding-top: clamp(29px, 4.8vw, 42px) !important;
  }
  .stella-store .store-footer .stay-in-touch-copy h2 {
    display: flex !important;
    align-items: center !important;
    min-height: clamp(32px, 5vw, 42px) !important;
    padding-right: clamp(110px, 31vw, 172px) !important;
    margin: 0 0 clamp(20px, 2.7vw, 28px) !important;
  }
  .stella-store .store-footer .footer-main > .footer-wordmark {
    top: clamp(31px, 4.8vw, 45px) !important;
    left: auto !important;
    right: clamp(22px, 5.5vw, 56px) !important;
    width: clamp(104px, 24vw, 154px) !important;
    height: auto !important;
    max-width: 42% !important;
    transform: none !important;
    aspect-ratio: 1663 / 380 !important;
    overflow: hidden !important;
  }
  .stella-store .store-footer .footer-main > .footer-wordmark > img {
    width: 100% !important;
    height: auto !important;
  }
  /* One row: Nome | Cognome. Second row: Email | centered arrow. */
  .stella-store .store-footer .stay-in-touch-form {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: 56px 56px !important;
    column-gap: 8px !important;
    row-gap: 10px !important;
    align-items: stretch !important;
  }
  .stella-store .store-footer .stay-in-touch-form > label:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .stella-store .store-footer .stay-in-touch-form > label:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .stella-store .store-footer .stay-in-touch-form > label:nth-child(3) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: calc(100% - 64px) !important;
  }
  .stella-store .store-footer .stay-in-touch-form > button {
    position: relative !important;
    display: block !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: stretch !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 0 !important;
    font-size: 0 !important;
  }
  .stella-store .store-footer .stay-in-touch-form > button > svg {
    position: absolute !important;
    display: block !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    width: 23px !important;
    height: 23px !important;
  }
  .stella-store .store-footer .stella-mobile-footer-social {
    flex-wrap: wrap;
    gap: 12px !important;
  }
}
@media (max-width: 350px) {
  .stella-store .store-footer .footer-main > .footer-wordmark {
    right: 16px !important;
    width: 103px !important;
  }
  .stella-store .store-footer .stay-in-touch-copy h2 {
    padding-right: 110px !important;
  }
  .stella-store .store-footer .stay-in-touch-form > label:nth-child(3) {
    width: calc(100% - 56px) !important;
  }
  .stella-store .store-footer .stay-in-touch-form > button {
    width: 48px !important;
    min-width: 48px !important;
  }
}
