/* Scoped to the existing Flatsome footer and preserving its widgets and payment bar. */
#footer .footer-2 {background:linear-gradient(to right,#fbf6ef 0%,#fbf6ef 64%,#a5d1f2 64%,#a5d1f2 100%)!important;color:#202e69;padding:52px 0 42px}
#footer .footer-2>.row {max-width:1250px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(300px,2fr);gap:20px;margin:0 auto;padding:0 15px}
#footer .footer-2>.row>.col {max-width:none;width:auto;padding:0;flex:none;color:#202e69}
#footer .footer-2 .widget_custom_html p,#footer .footer-2 .widget_custom_html a,#footer .footer-2 .widget_custom_html h3 {color:#202e69!important;font-family:Lato,Arial,sans-serif}
#footer .footer-2 .widget_custom_html p {font-size:16px!important;line-height:1.4;margin:0 0 20px}
#footer .footer-2 .sf-footer-accordion-heading,#footer .footer-2 .md-footer-heading {font-size:17px!important;font-weight:700;margin:0 0 28px!important}
#footer .md-footer-menu {list-style:none;margin:0;padding:0}
#footer .md-footer-menu li {list-style:none;margin:0 0 20px;font-size:16px;line-height:1.4}
#footer .md-footer-menu a {text-decoration:none}
#footer .footer-2 #custom_html-6 {padding-left:40px}
#footer #custom_html-6 .textwidget>div {background:transparent!important;color:#202e69!important}
#footer #custom_html-6 h3 {font-size:19px!important;font-weight:700!important;line-height:1.2}
#footer #custom_html-6 input[type=email] {background:#fff!important;border:1px solid #fff!important;border-radius:28px!important;color:#202e69!important;box-shadow:none!important}
#footer #custom_html-6 input[type=email]::placeholder {color:#53648b;opacity:1}
#footer #custom_html-6 input[type=email]:focus {outline:2px solid #202e69!important;outline-offset:2px}
#footer #custom_html-6 button[type=submit] {background:#3969ae!important;border-radius:28px!important;color:#fff!important}
#footer .absolute-footer {background:#fbf6ef!important;color:#202e69!important}
#footer .absolute-footer .container {max-width:1250px}
#footer .copyright-footer {color:#202e69}
@media(max-width:849px){#footer .footer-2{background:#fbf6ef!important;padding:32px 20px}#footer .footer-2>.row{grid-template-columns:1fr;gap:0;padding:0}#footer .footer-2>.row>.col{padding:12px 0}#footer .footer-2 #custom_html-6{padding:24px 20px;background:#a5d1f2;margin:16px -20px -32px}#footer .footer-2 .sf-footer-accordion-heading,#footer .footer-2 .md-footer-heading{margin-bottom:16px!important}#footer .md-footer-menu li{margin-bottom:14px}#footer .absolute-footer .container{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}#footer .footer-primary,#footer .footer-secondary{float:none!important}}

/* Override the existing provider's dark palette with the captured footer palette. */
#footer.footer-wrapper {--footer-ink:#202e69;--footer-muted:#202e69;--footer-line:#a9b5ca;--footer-bg:#fbf6ef;--footer-font:Lato,Arial,sans-serif}
#footer.footer-wrapper .footer-widgets.footer-2 {color:#202e69!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget>div:has(form input[type=email]) {background:transparent!important;border:0!important;padding:0!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget form button[type=submit] {background:#3969ae!important;color:#fff!important;border-color:#3969ae!important;border-radius:28px!important}
#footer.footer-wrapper .footer-widgets .custom-html-widget form input[type=email] {border-radius:28px!important}
#footer.footer-wrapper .md-footer-shop .md-footer-menu {display:block!important;visibility:visible!important}
#footer.footer-wrapper .md-footer-shop .md-footer-menu li {display:list-item!important;visibility:visible!important}
@media(max-width:849px){#footer.footer-wrapper .footer-widgets>.row{grid-template-columns:1fr;width:100%}#footer.footer-wrapper .footer-widgets .widget:has(form input[type=email]){grid-column:auto}#footer.footer-wrapper .footer-widgets #custom_html-6{padding:24px 20px!important}}
