/* Footer + newsletter. */

.promptix-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.promptix-newsletter { padding-block: 8px 32px; }
.promptix-newsletter__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 24px;
  padding: 24px 40px;
  border-color: var(--color-primary-light);
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-info-bg) 100%);
  box-shadow: none;
}
.promptix-newsletter__box:hover { box-shadow: none; }
.promptix-newsletter__icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: var(--radius-xl); background: var(--bg-card); color: var(--color-primary); box-shadow: var(--shadow-sm); }
.promptix-newsletter__text { flex: 1; min-width: 240px; }
.promptix-newsletter__title { margin: 0 0 4px; font-size: 22px; }
.promptix-newsletter__text p { margin: 0; color: var(--text-secondary); }
.promptix-newsletter__form { flex: 1; min-width: 280px; max-width: 600px; }
.promptix-newsletter__form form { display: flex; gap: 14px; }
.promptix-newsletter__form .btn { flex: none; white-space: nowrap; padding-inline: 28px; }
.promptix-newsletter__form .alert { margin: 10px 0 0; }

.promptix-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-default);
  color: var(--text-secondary);
}
.promptix-footer__grid {
  display: grid;
  gap: 32px;
  padding-block: 48px 32px;
}
.promptix-footer__grid--3 { grid-template-columns: 1.6fr repeat(2, 1fr); }
.promptix-footer__grid--4 { grid-template-columns: 1.6fr repeat(3, 1fr); }
.promptix-footer__grid--5 { grid-template-columns: 1.6fr repeat(4, 1fr); }

.promptix-footer__about { margin: 14px 0; color: var(--text-secondary); font-size: 14px; }
.promptix-footer .widget__title { margin: 0 0 12px; font-size: 14px; }
.promptix-footer .widget ul { margin: 0; padding: 0; list-style: none; }
.promptix-footer .widget li { margin-bottom: 8px; font-size: 14px; }
.promptix-footer .widget a { color: var(--text-secondary); }
.promptix-footer .widget a:hover { color: var(--color-primary); }

.promptix-socials { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.promptix-socials .promptix-iconbtn { background: var(--bg-card); border-color: var(--border-default); }

.promptix-footer__bottom { border-top: 1px solid var(--border-default); }
.promptix-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 16px;
  font-size: 13px;
}
.promptix-footer__copy { margin: 0; color: var(--text-secondary); }
.promptix-footer__links { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.promptix-footer__links a { color: var(--text-secondary); }
.promptix-footer__links a:hover { color: var(--color-primary); }

@media (max-width: 991px) {
  .promptix-footer__grid--3,
  .promptix-footer__grid--4,
  .promptix-footer__grid--5 { grid-template-columns: repeat(2, 1fr); }
  .promptix-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .promptix-footer__grid--3,
  .promptix-footer__grid--4,
  .promptix-footer__grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .promptix-footer__aside { grid-column: 1 / -1; }
  .promptix-footer__brands { flex-wrap: wrap; }
  .promptix-footer__brands + .promptix-footer__status { margin-top: 16px; }
  .promptix-newsletter__form form { flex-direction: column; }
  .promptix-newsletter__box { padding: 20px; }
}

.promptix-footer__logo { display: inline-block; font-size: 22px; font-weight: 800; color: var(--text-heading); text-decoration: none; }
.promptix-footer__logo:hover { color: var(--color-primary); }

/* Brand column: logo, about, socials, copyright (Home 1 design). */
.promptix-footer__logo .promptix-logo { display: block; height: 32px; width: auto; }
.promptix-footer__about { max-width: 300px; margin: 12px 0 16px; font-size: 13px; line-height: 1.55; }
.promptix-footer__brand .promptix-socials { gap: 8px; }
.promptix-footer__brand .promptix-iconbtn { width: 36px; height: 36px; min-width: 36px; border-radius: 10px; }
.promptix-footer__brand .promptix-footer__copy { margin-top: 18px; font-size: 13px; }
.promptix-footer .widget__title { margin-bottom: 10px; font-weight: 700; color: var(--text-heading); }
.promptix-footer .widget li { margin-bottom: 6px; font-size: 13px; }

/* Payments + status (Theme Options → Footer). */
.promptix-footer__aside { display: flex; flex-direction: column; align-items: flex-start; }
.promptix-footer__brands { display: flex; flex-wrap: nowrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.promptix-footer__brands li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--bg-card);
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  white-space: nowrap;
}
.promptix-footer__brands .is-visa { color: #1a1f71; letter-spacing: .02em; }
.promptix-footer__brands .is-paypal { color: #009cde; }
.promptix-footer__brands .is-paypal b { color: #003087; }
.promptix-footer__brands .is-stripe { color: #635bff; font-style: normal; letter-spacing: -.01em; }
.promptix-footer__brands .is-mc i { width: 20px; height: 20px; border-radius: 50%; background: #eb001b; }
.promptix-footer__brands .is-mc i + i { margin-left: -8px; background: #f79e1b; mix-blend-mode: multiply; }
.promptix-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 4px 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  font-size: 12px;
  color: var(--text-secondary);
}
.promptix-footer__brands + .promptix-footer__status { margin-top: 48px; }
.promptix-footer__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-success, #16a34a); box-shadow: 0 0 0 3px rgb(22 163 74 / .18); }

/* Grid: brand 1.8fr, menu columns, payments last. */
.promptix-footer__grid { gap: 24px 28px; padding-block: 40px; }
@media (min-width: 992px) {
  .promptix-footer__grid--3.has-aside { grid-template-columns: 1.8fr repeat(2, 1fr) auto; }
  .promptix-footer__grid--4.has-aside { grid-template-columns: 1.8fr repeat(3, 1fr) auto; }
  .promptix-footer__grid--5.has-aside { grid-template-columns: 1.8fr repeat(4, 1fr) auto; }
}
@media (max-width: 991px) {
  .promptix-footer__aside { grid-column: 1 / -1; }
  .promptix-footer__brands { flex-wrap: wrap; }
  .promptix-footer__brands + .promptix-footer__status { margin-top: 16px; }
}

/* Hub footer (Home 3 design): app badges above the payments, copyright · links · status in the bottom bar. */
.promptix-footer--hub .promptix-footer__about { max-width: 320px; }
.promptix-footer--hub .promptix-footer__aside .widget__title + .promptix-footer__brands { margin-bottom: 0; }
.promptix-footer__apptext { margin: -6px 0 12px; color: var(--text-muted); font-size: 12.5px; }
.promptix-footer__apps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.promptix-appbadge { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 14px 4px 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg-card); color: var(--text-heading); font-size: 15px; font-weight: 700; line-height: 1.05; }
.promptix-appbadge:hover { border-color: var(--color-primary); color: var(--text-heading); }
.promptix-appbadge span { display: flex; flex-direction: column; }
.promptix-appbadge small { color: var(--text-secondary); font-size: 9.5px; font-weight: 500; }
.promptix-appbadge .promptix-icon--apple { fill: currentColor; stroke-width: 0; }
.promptix-appbadge .promptix-icon--play { color: #34A853; fill: #34A853; stroke: #4285F4; stroke-width: 1.5; }
.promptix-footer--hub .promptix-footer__bottom-inner { flex-wrap: wrap; }
.promptix-footer--hub .promptix-footer__copy { margin: 0 auto 0 0; font-size: 13px; }
.promptix-footer--hub .promptix-footer__bottom .promptix-footer__status { margin: 0 0 0 24px; }
@media (min-width: 992px) {
  .promptix-footer--hub .promptix-footer__grid--4.has-aside { grid-template-columns: 1.6fr repeat(3, 1fr) 1.35fr; }
}
@media (max-width: 600px) {
  .promptix-footer--hub .promptix-footer__bottom-inner { justify-content: center; text-align: center; }
  .promptix-footer--hub .promptix-footer__copy { margin: 0; width: 100%; }
  .promptix-footer--hub .promptix-footer__bottom .promptix-footer__status { margin: 0; }
}
