/* Scoped to the existing Flatsome shared footer; native widgets and payment strip remain in place. */
#footer .footer-2,#footer .absolute-footer {background-color:#303030!important;color:#dedede!important}
#footer .footer-2 {padding:42px 36px 28px!important}
#footer .footer-2 > .row {max-width:1368px!important;width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(260px,1.6fr);gap:32px;margin:0 auto!important}
#footer .footer-2 .widget {max-width:none!important;width:auto!important;flex:none!important;padding:0!important;margin:0!important;color:#dedede!important}
#footer .footer-2 .widget .custom-html-widget>div {background:transparent!important;color:#dedede!important;font-family:Montserrat,Lato,Arial,sans-serif!important}
#footer .footer-2 .widget p {margin:0 0 10px!important;line-height:1.7!important;color:#dedede!important}
#footer .footer-2 .widget a {color:#dedede!important;font-size:13px;line-height:1.7;letter-spacing:.3px}
#footer .footer-2 .widget a:hover,#footer .footer-2 .widget a:focus-visible {color:#fff!important;text-decoration:underline}
#footer .footer-2 .widget .lp-footer-heading,#footer .footer-2 .sf-footer-accordion-heading,#footer .footer-2 .sf-footer-accordion-toggle {color:#fff!important;font-size:15px!important;font-weight:700!important;letter-spacing:.3px;margin:0 0 13px!important}
#footer #lp-footer-shop .lp-footer-shop-links {display:block!important}
#footer #custom_html-6 h3 {color:#fff!important;font-size:18px!important;font-weight:700!important;margin:0 0 8px!important}
#footer #custom_html-6 p {color:#dedede!important;font-size:15px!important}
#footer #custom_html-6 form {display:flex;gap:10px;align-items:stretch;width:100%}
#footer #custom_html-6 form>div:first-child {flex:1;min-width:0;margin:0!important}
#footer #custom_html-6 form>div:last-child {flex:0 0 auto}
#footer #custom_html-6 input[type=email] {width:100%!important;height:48px!important;background:transparent!important;color:#fff!important;border:1px solid #a9a9a9!important;border-radius:6px!important;box-shadow:none!important;margin:0!important}
#footer #custom_html-6 input[type=email]::placeholder {color:#c8c8c8;opacity:1}
#footer #custom_html-6 input[type=email]:focus-visible {outline:2px solid #fff!important;outline-offset:2px}
#footer #custom_html-6 button[type=submit] {width:auto!important;min-width:85px;height:48px!important;padding:0 18px!important;background:#ce2333!important;color:#fff!important;border:0!important;border-radius:6px!important;margin:0!important}
#footer #custom_html-6 button[type=submit]:focus-visible {outline:2px solid #fff;outline-offset:2px}
#footer .absolute-footer {padding:15px 36px 22px!important}
#footer .absolute-footer .container {max-width:1368px;border-top:1px solid #555;padding-top:18px}
#footer .absolute-footer .copyright-footer {color:#dedede!important}
@media(max-width:849px){#footer .footer-2{padding:35px 30px!important}#footer .footer-2>.row{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}#footer #custom_html-6{grid-column:1 / -1}}
@media(max-width:600px){#footer .footer-2{padding:36px 30px!important}#footer .footer-2>.row{grid-template-columns:minmax(0,1fr);gap:20px}#footer #custom_html-6{grid-column:auto}#footer #custom_html-6 form{max-width:100%}#footer .absolute-footer{padding:10px 30px 24px!important}#footer .absolute-footer .container{gap:16px}}
/* Existing footer-refresh uses this variable in later !important backgrounds. */
#footer.footer-wrapper.footer-wrapper { --footer-bg: #303030; }
/* Match the existing footer widget and native bottom bar with greater specificity than the theme shorthand. */
#footer.footer-wrapper .footer-widgets.footer-2,
#footer.footer-wrapper .absolute-footer { background-color: #303030 !important; }
/* Accessible group accordions, limited to the shared footer on small screens. */
#footer .lp-footer-toggle {display:none}
@media(max-width:600px){
 #footer .footer-2 .lp-footer-group>.lp-footer-heading{display:none!important}
 #footer .footer-2 .lp-footer-group>.lp-footer-toggle{display:flex!important;align-items:center;justify-content:space-between;width:100%;padding:0 0 12px;margin:0!important;background:transparent!important;border:0;border-bottom:1px solid #656565;color:#fff!important;font:700 15px Montserrat,Lato,Arial,sans-serif;text-align:left;line-height:1.5;min-height:44px}
 #footer .lp-footer-toggle span{font-size:21px;font-weight:400;line-height:1}
 #footer .lp-footer-group .lp-footer-links{padding-top:12px}
 #footer .lp-footer-group[data-collapsed="true"] .lp-footer-links{display:none!important}
 #footer .lp-footer-toggle:focus-visible{outline:2px solid white;outline-offset:3px}
}
@media(max-width:600px){#footer #lp-footer-shop[data-collapsed="true"] .lp-footer-shop-links{display:none!important}}

@media(max-width:600px){#footer.footer-wrapper .footer-widgets.footer-2>.row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}#footer.footer-wrapper #custom_html-6{grid-column:1/-1!important;width:100%!important}#footer.footer-wrapper #custom_html-6 form{width:100%!important}#footer.footer-wrapper #custom_html-6 form>div:first-child{min-width:0!important;flex:1 1 auto!important}}
