/* Premium footer application and newsletter banner */
.footer-promo {
  position: relative;
  min-height: 176px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 120%, rgb(156 31 44 / 46%), transparent 35%),
    radial-gradient(circle at 86% -30%, rgb(119 29 58 / 32%), transparent 42%),
    linear-gradient(118deg, #111214 0%, #17181b 48%, #0b0c0e 100%);
  box-shadow: 0 20px 48px rgb(31 13 18 / 16%);
}

.footer-promo::before,
.footer-promo::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.footer-promo::before { top: -145px; left: 28%; width: 330px; height: 330px; }
.footer-promo::after { right: -90px; bottom: -190px; width: 390px; height: 390px; }
.footer-promo .app-promo,
.footer-promo .newsletter { position: relative; z-index: 1; }

.footer-promo .app-promo {
  gap: 28px;
  padding: 18px 38px 0 48px;
  border-right: 1px solid rgb(255 255 255 / 12%);
}

.footer-promo .phone-mockup {
  position: relative;
  width: 122px;
  height: 158px;
  flex: 0 0 122px;
  overflow: hidden;
  padding: 7px;
  border: 4px solid #d9dade;
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  background: #fff;
  box-shadow: 0 18px 34px rgb(0 0 0 / 34%);
  transform: rotate(-7deg) translateY(20px);
}

.footer-promo .phone-mockup::before {
  z-index: 3;
  top: 7px;
  width: 34px;
  height: 6px;
  background: #17181b;
}

.phone-screen-preview {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  object-position: center top;
}

.footer-promo .phone-mockup em {
  position: absolute;
  z-index: 4;
  top: 52px;
  right: -10px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 3px solid #18191c;
  border-radius: 50%;
  background: #ef0024;
  box-shadow: 0 8px 18px rgb(237 0 35 / 32%);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.footer-promo-kicker {
  margin-bottom: 7px;
  color: #ff6678;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-promo .promo-copy > strong,
.footer-promo .newsletter-content > strong {
  color: #fff;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.footer-promo .promo-copy > span,
.footer-promo .newsletter-content > span {
  max-width: 430px;
  margin: 7px 0 14px;
  color: #aeb0b5;
  font-size: 10px;
  line-height: 1.5;
}

.footer-promo .store-buttons { gap: 9px; }
.footer-promo .store-buttons a {
  display: flex;
  min-width: 138px;
  min-height: 43px;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 10px;
  background: rgb(255 255 255 / 6%);
  color: #fff;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.footer-promo .store-buttons a:hover,
.footer-promo .store-buttons a:focus-visible {
  border-color: rgb(255 255 255 / 38%);
  background: rgb(255 255 255 / 11%);
  outline: none;
  transform: translateY(-2px);
}

.footer-promo .store-buttons img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.footer-promo .store-buttons a > span { display: flex; flex-direction: column; }
.footer-promo .store-buttons small { color: #bfc1c5; font-size: 7px; line-height: 1; text-transform: none; }
.footer-promo .store-buttons b { margin-top: 3px; font-size: 10px; line-height: 1; }

.footer-promo .newsletter { gap: 20px; padding: 25px 40px; }
.footer-promo .newsletter-icon {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border-color: rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 6%);
  box-shadow: inset 0 0 0 5px rgb(255 255 255 / 2%);
}
.footer-promo .newsletter-icon img { width: 25px; }
.footer-promo .newsletter form {
  height: 48px;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 12px;
  background: rgb(255 255 255 / 8%);
}
.footer-promo .newsletter input {
  padding: 0 13px;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 11px;
}
.footer-promo .newsletter input::placeholder { color: #85878d; }
.footer-promo .newsletter button {
  min-width: 126px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ef0024, #c80c28);
  box-shadow: 0 8px 20px rgb(218 0 34 / 24%);
  font-size: 10px;
  font-weight: 800;
  transition: filter .18s ease, transform .18s ease;
}
.footer-promo .newsletter button:hover,
.footer-promo .newsletter button:focus-visible { filter: brightness(1.12); outline: none; transform: translateY(-1px); }

@media (max-width: 991.98px) {
  .footer-promo { grid-template-columns: 1fr; }
  .footer-promo .app-promo { min-height: 178px; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 12%); }
  .footer-promo .newsletter { min-height: 160px; }
}

@media (max-width: 575.98px) {
  .footer-promo { border-radius: 16px; }
  .footer-promo .app-promo { gap: 15px; min-height: 210px; padding: 20px 16px 0; }
  .footer-promo .phone-mockup { width: 92px; height: 164px; flex-basis: 92px; transform: rotate(-5deg) translateY(27px); }
  .footer-promo .promo-copy > strong,
  .footer-promo .newsletter-content > strong { font-size: 19px; }
  .footer-promo .store-buttons { flex-direction: column; }
  .footer-promo .store-buttons a { min-width: 152px; }
  .footer-promo .newsletter { align-items: flex-start; min-height: 225px; padding: 24px 18px; }
  .footer-promo .newsletter-icon { display: none; }
  .footer-promo .newsletter form { height: auto; padding: 5px; }
  .footer-promo .newsletter input,
  .footer-promo .newsletter button { width: 100%; min-height: 43px; border-radius: 8px; }
}

/* Shared mobile footer layout used by every page with the global footer. */
@media (max-width: 767.98px) {
  .footer-promo { width: 100%; max-width: 100%; overflow: hidden; border-radius: 17px; }
  .footer-promo .app-promo {
    display: grid;
    min-height: 190px;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 18px 14px 0;
  }

  .footer-promo .phone-mockup {
    display: block;
    width: 82px;
    height: 150px;
    flex-basis: 82px;
    align-self: end;
    padding: 6px;
    transform: rotate(-4deg) translateY(20px);
  }

  .footer-promo .phone-mockup em { top: 48px; right: -8px; width: 34px; height: 34px; font-size: 8px; }
  .footer-promo .promo-copy { width: 100%; min-width: 0; padding-bottom: 14px; }
  .footer-promo .promo-copy > strong,
  .footer-promo .newsletter-content > strong { font-size: 17px; }
  .footer-promo .promo-copy > span,
  .footer-promo .newsletter-content > span { margin: 6px 0 11px; font-size: 9px; line-height: 1.45; }
  .footer-promo-kicker { margin-bottom: 5px; font-size: 8px; }

  .footer-promo .store-buttons {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .footer-promo .store-buttons a {
    width: 100%;
    min-width: 0;
    min-height: 39px;
    gap: 6px;
    padding: 6px 7px;
  }

  .footer-promo .store-buttons img { width: 18px; height: 18px; }
  .footer-promo .store-buttons small { font-size: 5.5px; }
  .footer-promo .store-buttons b { font-size: 8px; }

  .footer-promo .newsletter {
    display: block;
    min-height: 0;
    padding: 20px 16px 22px;
  }

  .footer-promo .newsletter-content { width: 100%; }
  .footer-promo .newsletter form {
    display: grid;
    height: 46px;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 5px;
    padding: 4px;
  }

  .footer-promo .newsletter input,
  .footer-promo .newsletter button {
    width: auto;
    min-width: 0;
    min-height: 36px;
    border-radius: 8px;
  }

  .footer-main { width: 100%; max-width: 100%; }
  .footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 20px 14px;
  }

  .footer-brand-column,
  .seller-card { grid-column: 1 / -1; }

  .footer-brand-column {
    padding: 0 2px 18px;
    border-bottom: 1px solid #e9e9e9;
  }

  .footer-link-column {
    min-width: 0;
    gap: 8px;
    padding: 18px 2px;
    border-right: 0;
    border-bottom: 1px solid #e9e9e9;
  }

  .footer-link-column:nth-of-type(even) { padding-right: 10px; border-right: 1px solid #ededed; }
  .footer-link-column h3 { margin-bottom: 3px; font-size: 12px; }
  .footer-link-column a { font-size: 9px; line-height: 1.35; }
  .seller-card { margin-top: 18px; }
}

@media (max-width: 359.98px) {
  .footer-promo .app-promo { display: block; min-height: 0; padding: 20px 16px; }
  .footer-promo .phone-mockup { display: none; }
  .footer-promo .promo-copy { padding-bottom: 0; }
  .footer-promo .newsletter form { height: auto; grid-template-columns: 1fr; }
}
