/* Shared footer only; retain the theme's actual absolute footer and payment SVGs. */
body #footer.footer-wrapper {background:#000;color:#fff}
body #footer .david-footer {background:#000;color:#fff;padding:96px 0 90px}
body #footer .david-footer-inner {display:grid;grid-template-columns:minmax(280px,397px) minmax(0,1fr);gap:8%;max-width:none;margin:0 auto;padding:0 70px}
body #footer .david-footer-menus {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
body #footer .david-footer-column h2 {font:400 11px/1.4 monospace;letter-spacing:.03em;margin:0 0 26px;text-transform:none;color:#fff}
body #footer .david-footer-column ul {list-style:none;margin:0;padding:0}
body #footer .david-footer-column li {list-style:none;margin:0 0 13px;line-height:1.4}
body #footer .david-footer-column ul ul {margin:8px 0 0 12px}
body #footer .david-footer-column a, body #footer .david-footer-column span {font:400 14px/1.4 Arial,sans-serif;color:#fff;text-decoration:none;overflow-wrap:anywhere}
body #footer .david-footer-column a:hover {text-decoration:underline;color:#fff}
body #footer .david-footer-newsletter-widget > .textwidget > div {background:#000!important;color:#fff!important}
body #footer .david-footer-newsletter-widget h3,body #footer .david-footer-newsletter-widget p {color:#fff!important}
body #footer .david-footer-newsletter-widget input {background:#151515!important;color:#fff!important;border:0!important}
body #footer .david-footer-newsletter-widget button {background:#fff!important;color:#000!important}
/* Until the imported menus are populated, preserve the existing widget provider. */
body #footer .footer-widgets.footer-2 {background:#000!important;color:#fff;padding:96px 55px 90px}
body #footer .footer-widgets.footer-2 .row {max-width:none;display:flex;flex-wrap:wrap}
body #footer .footer-widgets.footer-2 .widget {color:#fff;flex:1 1 15%;max-width:none}
body #footer .footer-widgets.footer-2 .widget:last-child {order:-1;flex:0 1 40%}
body #footer .footer-widgets.footer-2 .widget p,body #footer .footer-widgets.footer-2 .widget a,body #footer .footer-widgets.footer-2 .widget span {color:#fff!important}
body #footer .footer-widgets.footer-2 .widget:last-child .textwidget > div {background:#000!important;color:#fff!important}
body #footer .footer-widgets.footer-2 .widget:last-child h3,body #footer .footer-widgets.footer-2 .widget:last-child p {color:#fff!important}
body #footer .footer-widgets.footer-2 .widget:last-child input {background:#151515!important;color:#fff!important;border:0!important}
body #footer .footer-widgets.footer-2 .widget:last-child button {background:#fff!important;color:#000!important}
body #footer.footer-wrapper > .absolute-footer {background:#000!important;color:#fff!important;padding:20px 70px 28px}
body #footer .absolute-footer .container {max-width:none!important;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:16px}
body #footer .absolute-footer .footer-primary,body #footer .absolute-footer .footer-primary a {color:#fff!important}
@media(max-width:767px){
 body #footer .david-footer {padding:70px 14px 60px}
 body #footer .david-footer-inner {display:block;padding:0}
 body #footer .david-footer-newsletter {margin-bottom:42px}
 body #footer .david-footer-menus {grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 24px}
 body #footer .footer-widgets.footer-2 {padding:70px 0 60px}
 body #footer .footer-widgets.footer-2 .row {margin:0;padding:0 14px;gap:32px 0}
 body #footer .footer-widgets.footer-2 .widget {flex:0 0 50%;width:50%;padding:0 8px 0 0}
 body #footer .footer-widgets.footer-2 .widget:last-child {flex:0 0 100%;width:100%;margin-bottom:10px}
 body #footer.footer-wrapper > .absolute-footer {padding:20px 14px 28px}
 body #footer .absolute-footer .container {display:flex;flex-direction:column-reverse;align-items:flex-start}
}
/* Existing theme CSS changes the native bottom-bar order; explicitly retain copyright left. */
body #footer .absolute-footer .container {flex-direction:row!important}
body #footer .absolute-footer .footer-primary {order:1!important;float:none!important}
body #footer .absolute-footer .footer-secondary {order:2!important;float:none!important}
body #footer .footer-2 .sf-footer-accordion-toggle {display:none!important}
body #footer .footer-2 .sf-footer-accordion-label {display:inline!important}
body #footer .footer-2 .sf-footer-accordion-content {display:block!important}
@media(max-width:767px){body #footer .absolute-footer .container {flex-direction:column!important;align-items:flex-start!important}}
