/* One footer for the storefront and account areas. */
.market-footer.market-footer-red {
  --footer-red: #920b23;
  position: relative;
  isolation: isolate;
  box-sizing: border-box !important;
  width: 100%;
  max-width: none;
  margin: 48px 0 0;
  padding: 48px 0 28px;
  color: #fff;
  background: linear-gradient(120deg, #65091c, #980e28);
  border-top: 4px solid #e6ad46;
  box-shadow: none;
  overflow: hidden;
}
.market-footer-red .market-footer-watermark { display: none; }
.market-footer-red .market-footer-skyline {
  position: absolute; inset: auto 0 0; height: 100px;
  background: url('../footer-ghana-skyline.png') repeat-x bottom / auto 90px;
  opacity: .05; pointer-events: none; filter: brightness(0) invert(1);
}
.market-footer-red :is(.market-footer-inner, .market-flags, .market-copy-row) {
  position: relative; z-index: 1;
  width: calc(100% - clamp(16px, 3vw, 32px) * 2) !important;
  max-width: 1280px !important;
  margin-left: auto !important; margin-right: auto !important;
}
.market-footer-red .market-footer-inner {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px;
  align-items: start;
}
.market-footer-red section { min-width: 0; grid-column: span 2; overflow-wrap: anywhere; }
.market-footer-red .market-footer-brand { grid-column: span 4; padding-right: 24px; }
.market-footer-red h2 { color: #fff; font-size: .82rem; line-height: 1.4; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.market-footer-red a { display: block; width: fit-content; max-width: 100%; font-size: .88rem; line-height: 1.6; color: #f4dce2; text-decoration: none; margin: 0 0 9px; transition: color .15s; }
.market-footer-red a:hover { color: #fff; text-decoration: underline; }
.market-footer-red :is(a, button, input):focus-visible { outline: 3px solid #facc70; outline-offset: 4px; }
.market-footer-red .market-footer-logo-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.market-footer-red .market-footer-logo { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; padding: 6px; border-radius: 14px; background: #fff; }
.market-footer-red .market-footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.market-footer-red .market-footer-brand h2 { font-size: 1.25rem; text-transform: none; letter-spacing: -.02em; margin-bottom: 8px; }
.market-footer-red .market-footer-brand p { color: #f4dce2; font-size: .9rem; line-height: 1.7; margin: 0; max-width: 35ch; }
.market-footer-red .market-socials { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.market-footer-red .market-socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff35; border-radius: 10px; margin: 0; }
.market-footer-red .market-socials a:hover { background: #ffffff15; }
.market-footer-red .market-trust-strip { display: flex; gap: 8px 12px; flex-wrap: wrap; }
.market-footer-red .market-trust-strip span { font-size: .75rem; line-height: 1.5; color: #f4dce2; }
.market-footer-red .market-trust-strip i { color: #facc70; margin-right: 3px; }
.market-footer-red .market-footer-contact {
  grid-column: span 8; border-top: 1px solid #ffffff25; padding-top: 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px;
}
.market-footer-red .market-footer-contact > :not(.market-newsletter) { grid-column: 1; }
.market-footer-red .market-footer-contact a i { color: #facc70; margin-right: 6px; }
.market-footer-red .small-note { font-size: .78rem; color: #f4dce2; margin: 4px 0 0; }
.market-footer-red .market-newsletter { grid-column: 2; grid-row: 1 / span 5; margin: 0; padding: 0; min-width: 0; }
.market-footer-red .market-newsletter label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.market-footer-red .market-newsletter div { display: flex; gap: 8px; }
.market-footer-red .market-newsletter input { width: 100%; min-width: 0; border: 1px solid #ffffff50; border-radius: 10px; padding: 12px; background: #fff; color: #172033; font-size: .9rem; }
.market-footer-red .market-newsletter button { flex: 0 0 46px; border: 0; border-radius: 10px; background: #f5c25f; color: #41101a; }
.market-footer-red .market-newsletter small { display: block; margin-top: 10px; color: #f4dce2; font-size: .76rem; line-height: 1.5; }
.market-footer-red .market-footer-apps { grid-column: span 4; border-top: 1px solid #ffffff25; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.market-footer-red .market-footer-apps h2 { width: 100%; margin-bottom: 0; }
.market-footer-red .store-badge { display: flex !important; align-items: center; gap: 10px; padding: 9px 14px !important; border: 1px solid #ffffff40; border-radius: 10px; background: #ffffff0c; margin: 0; line-height: 1.3; color: #fff; }
.market-footer-red .store-badge small { display: block; font-size: .65rem; }
.market-footer-red .store-badge i { font-size: 1.4rem; }
.market-footer-red .market-flags { display: none; }
.market-footer-red .market-copy-row { margin-top: 32px; padding-top: 22px; border-top: 1px solid #ffffff25; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.market-footer-red .market-copy-row p { margin: 0; font-size: .78rem; line-height: 1.6; color: #f4dce2; }
.market-footer-red .market-copy-row a { display: inline; font-size: inherit; margin: 0; }
@media (max-width: 1000px) {
  .market-footer-red .market-footer-brand { grid-column: 1 / -1; padding: 0; }
  .market-footer-red .market-footer-brand p { max-width: 65ch; }
  .market-footer-red section { grid-column: span 3; }
  .market-footer-red .market-footer-contact { grid-column: 1 / -1; }
  .market-footer-red .market-footer-apps { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .market-footer.market-footer-red { margin-top: 32px; padding: 32px 0 calc(100px + env(safe-area-inset-bottom, 0px)); }
  .market-footer-red .market-footer-inner { gap: 28px 20px; }
  .market-footer-red section { grid-column: span 6; }
  .market-footer-red .market-footer-contact { display: block; }
  .market-footer-red .market-newsletter { margin-top: 24px; }
  .market-footer-red .market-copy-row { display: block; text-align: left; }
  .market-footer-red .market-copy-row p + p { margin-top: 10px; }
}
/* Account pages retain the same footer inside the space beside the sidebar. */
@media (min-width: 992px) {
  body:has(.mv-side-appbar) > .market-footer.market-footer-red {
    width: calc(100% - var(--mv-sidebar-open-w, 220px)) !important;
    max-width: none !important;
    margin-left: var(--mv-sidebar-open-w, 220px) !important;
    margin-right: 0 !important;
  }
  body.mv-sidebar-collapsed:has(.mv-side-appbar) > .market-footer.market-footer-red {
    width: calc(100% - 78px) !important; margin-left: 78px !important;
  }
}

/* Named social links stay readable and wrap on narrow screens. */
.market-footer-red .market-socials a { display: inline-flex; gap: 7px; width: auto; min-height: 38px; height: auto; padding: 7px 10px; align-items: center; font-size: .78rem; }
.market-footer-red .market-socials .bi-youtube { color: #ffb6b6; }

.market-footer-red .market-newsletter{padding:18px;border:1px solid #ffffff30;border-radius:16px;background:#ffffff0d;box-shadow:inset 0 1px #ffffff14}.market-footer-red .market-newsletter label{font-size:16px;line-height:1.35;margin:0 0 12px}.market-footer-red .market-newsletter>div{align-items:stretch}.market-footer-red .market-newsletter button{min-height:46px;box-shadow:inset 0 1px #ffffff70,0 2px 6px #0002;cursor:pointer}.market-footer-red .market-newsletter button:focus-visible{outline:3px solid white;outline-offset:3px}
