/* One accessible, shared footer for Marketgrid shopping and trading. */
html[data-theme] body #site-footer.mg-site-footer.mg-contact-footer{background:#251323}
#site-footer.mg-site-footer.mg-contact-footer{display:block;width:100%;max-width:none;box-sizing:border-box;margin:64px 0 0;padding:0;background:#251323;color:#fff4fa;border-top:1px solid #66485d;font-size:15px;--heading:#fff4fa;--text:#fff4fa;--muted:#d3bdce;--line:#63495c;--pink-ink:#ff80c1}
#site-footer .mg-footer-inner{max-width:1280px;margin:0 auto;padding:0 32px}
#site-footer .mg-footer-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px;padding:48px 0;border-bottom:1px solid var(--line)}
#site-footer .mg-footer-actions section{display:grid;grid-template-rows:auto 1fr auto;gap:14px;min-width:0;margin:0;padding:0;border:0}
#site-footer .mg-footer-actions h2{margin:0;font-size:21px;font-weight:700;line-height:1.35;color:var(--heading);letter-spacing:-.015em}
#site-footer .mg-footer-actions p{margin:0 0 13px;font-size:15px;line-height:1.65;color:var(--muted);max-width:32ch}
#site-footer .mg-footer-action{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:48px;padding:10px 25px;box-sizing:border-box;border:1px solid #d8bfd1;border-radius:999px;color:var(--heading);background:transparent;font-size:15px;font-weight:650;line-height:1.4;text-decoration:none;white-space:normal;transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease}
#site-footer .mg-footer-action:hover{background:#46253d;border-color:#ff80c1;color:#fff}
#site-footer a:focus-visible{outline:3px solid #ff80c1;outline-offset:5px}
#site-footer .mg-footer-actions .mg-footer-social{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px;margin:0;padding:0;min-height:48px}
#site-footer .mg-footer-actions .mg-footer-social a{display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border:1px solid #d8bfd1;border-radius:50%;color:#fff4fa;text-decoration:none;box-sizing:border-box;transition:background-color 160ms ease,border-color 160ms ease}
#site-footer .mg-footer-actions .mg-footer-social a:hover{background:#46253d;border-color:#ff80c1}
#site-footer .mg-footer-social svg{width:21px;height:21px;flex:none}
#site-footer .mg-footer-navigation{display:flex;align-items:flex-start;gap:35px;padding:28px 0;border-bottom:1px solid var(--line)}
#site-footer .mg-footer-navigation .brand{color:#fff4fa;font-size:24px;line-height:1.35;flex-shrink:0;text-decoration:none}
#site-footer .brand-dot{color:#ff269d}
#site-footer .mg-footer-links{gap:7px 24px;margin:0;padding:0;justify-content:flex-start}
#site-footer .mg-footer-links a{font-size:13px;line-height:1.6;color:#e0ccda;text-decoration:none;padding-block:4px}
#site-footer .mg-footer-links a:hover{color:#ff80c1;text-decoration:underline;text-underline-offset:4px}
#site-footer .mg-footer-extras{justify-content:space-between;gap:24px 48px;padding:24px 0;border-bottom:1px solid var(--line);color:#fff4fa}
#site-footer .mg-footer-extras .mg-payments strong{font-size:12px;color:#e0ccda}
#site-footer .mg-footer-extras .mg-award-copy strong{color:#fff4fa}
#site-footer .mg-footer-fine{display:flex;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;border:0;padding:18px 0 22px;color:#cdb6c6;font-size:12px;line-height:1.6}
.mg-newsletter-page{max-width:680px;margin:0 auto;padding:60px 24px}
.mg-newsletter-page h1{font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.15;margin:16px 0 20px}
.mg-newsletter-page p{line-height:1.75}
.mg-newsletter-form{margin-top:28px;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.mg-newsletter-form label{display:block;font-weight:600;margin-bottom:9px}
.mg-newsletter-form input[type=email]{width:100%;box-sizing:border-box;min-height:48px;padding:12px 14px;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px}
.mg-newsletter-form .mg-newsletter-consent{display:flex;align-items:flex-start;gap:10px;margin:22px 0 14px;font-size:15px;font-weight:400;line-height:1.6}
.mg-newsletter-consent input{flex:none;margin-top:5px;width:18px;height:18px;accent-color:#c00070}
.mg-newsletter-form input:focus-visible{outline:2px solid var(--pink-ink);outline-offset:3px}
.mg-newsletter-form button{margin-top:12px;min-height:48px}
.mg-newsletter-error{color:var(--pink-ink);font-weight:600}
.mg-newsletter-status{padding:20px;border:1px solid var(--pink-ink);border-radius:14px;background:var(--surface)}
@media(max-width:1000px){#site-footer .mg-footer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 44px}#site-footer .mg-footer-navigation{flex-direction:column;gap:18px}}
@media(max-width:560px){#site-footer .mg-footer-inner{padding-inline:24px}#site-footer .mg-footer-actions{grid-template-columns:1fr;gap:0;padding:12px 0}#site-footer .mg-footer-actions section{padding:26px 0;border-bottom:1px solid #63495c}#site-footer .mg-footer-actions section:last-child{border:0}#site-footer .mg-footer-actions h2{font-size:20px}#site-footer .mg-footer-actions p{max-width:40ch;margin-bottom:5px}#site-footer .mg-footer-extras{align-items:flex-start;flex-direction:column;gap:22px}#site-footer .mg-footer-fine{display:grid;gap:4px}.mg-newsletter-page{padding:32px 20px}.mg-newsletter-form{padding:22px}}
@media(prefers-reduced-motion:reduce){#site-footer .mg-footer-action,#site-footer .mg-footer-social a{transition:none}}

#site-footer .mg-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0}
#site-footer .mg-footer-bottom .mg-footer-fine{display:grid;gap:3px;padding:0;flex:1 1 auto;min-width:0}
#site-footer .mg-footer-bottom .mg-footer-extras{border:0;padding:0;flex:0 0 auto;width:auto}
@media(max-width:560px){#site-footer .mg-footer-bottom{align-items:flex-start;flex-direction:column}}
