/* Shared footer: scoped to the existing Flatsome footer and its four widgets. */
#footer.footer-wrapper, #footer .footer-widgets.footer-2, #footer .absolute-footer { background:#596670 !important; color:#f6f7f8 !important; }
#footer .footer-widgets.footer-2 { padding:60px 0 56px; }
#footer .footer-widgets.footer-2 > .row { max-width:none; width:calc(100% - 100px); margin:0 auto; display:grid; grid-template-columns: 14% 20% 18% minmax(0,1fr); gap:0; }
#footer .footer-widgets.footer-2 > .row > .widget { max-width:none; width:auto; padding:0 24px 0 0 !important; margin:0; }
#footer .footer-widgets.footer-2 > .row > #custom_html-6 { padding-right:0 !important; }
#footer #custom_html-3, #footer #custom_html-4, #footer #custom_html-5, #footer #custom_html-6 { font-family:Arial,sans-serif; color:#f6f7f8; }
#footer #custom_html-3 .derm-footer-title, #footer #custom_html-4 .sf-footer-accordion-heading, #footer #custom_html-5 .sf-footer-accordion-heading, #footer #custom_html-6 h3 { color:#fff !important; font-family:Arial,sans-serif; font-size:20px !important; font-weight:400 !important; line-height:1.3 !important; letter-spacing:.08em; text-transform:uppercase; margin:0 0 25px !important; }
#footer #custom_html-3 .derm-footer-link, #footer #custom_html-4 .sf-footer-accordion-content p, #footer #custom_html-5 .sf-footer-accordion-content p { font-size:14px !important; line-height:1.45; margin:0 0 12px !important; color:#e9edf0 !important; }
#footer #custom_html-3 a, #footer #custom_html-4 a, #footer #custom_html-5 a, #footer .absolute-footer, #footer .absolute-footer a { color:#e9edf0 !important; }
#footer #custom_html-3 a:hover, #footer #custom_html-4 a:hover, #footer #custom_html-5 a:hover { color:#fff !important; text-decoration:underline; }
#footer #custom_html-4 .sf-footer-accordion-toggle, #footer #custom_html-5 .sf-footer-accordion-toggle { color:#fff !important; font:inherit; letter-spacing:inherit; }
#footer #custom_html-6 .custom-html-widget > div, #footer #custom_html-6 form { background:transparent !important; color:#f6f7f8 !important; }
#footer #custom_html-6 p { color:#e9edf0 !important; font-size:14px !important; line-height:1.5; margin:0 0 20px !important; }
#footer #custom_html-6 form { display:flex; align-items:stretch; gap:8px; width:100%; }
#footer #custom_html-6 form > div:first-child { flex:1 1 auto; min-width:0; margin:0 !important; }
#footer #custom_html-6 form > div:last-child { flex:0 0 145px; }
#footer #custom_html-6 input[type=email] { box-sizing:border-box; width:100%; height:52px !important; margin:0; background:transparent !important; color:#fff !important; border:1px solid #fff !important; border-radius:2px !important; }
#footer #custom_html-6 input[type=email]::placeholder { color:#fff; opacity:.9; }
#footer #custom_html-6 input[type=email]:focus-visible { outline:2px solid #fff !important; outline-offset:3px; }
#footer #custom_html-6 button[type=submit] { height:52px !important; margin:0; color:#596670 !important; background:#fff !important; border:1px solid #fff !important; border-radius:2px !important; font-size:13px !important; letter-spacing:.08em; text-transform:uppercase; }
#footer #custom_html-6 button[type=submit]:focus-visible { outline:2px solid #fff; outline-offset:3px; }
#footer .absolute-footer { padding:20px 0 24px; }
#footer .absolute-footer > .container { max-width:none; width:calc(100% - 100px); padding:18px 0 0; border-top:1px solid rgba(255,255,255,.4); }
#footer .footer-primary { color:#e9edf0 !important; font-size:12px; }
@media (max-width:849px) {
 #footer .footer-widgets.footer-2 { padding:42px 0 34px; }
 #footer .footer-widgets.footer-2 > .row { display:flex; flex-direction:column; width:calc(100% - 40px); }
 #footer .footer-widgets.footer-2 > .row > .widget { width:100%; padding:0 0 30px !important; }
 #footer #custom_html-3 .derm-footer-shop { text-align:center; }
 #footer #custom_html-3 .derm-footer-title, #footer #custom_html-4 .sf-footer-accordion-heading, #footer #custom_html-5 .sf-footer-accordion-heading, #footer #custom_html-6 h3 { font-size:18px !important; margin-bottom:18px !important; }
 #footer #custom_html-3 .derm-footer-link { margin-bottom:12px; }
 #footer #custom_html-6 form { flex-wrap:wrap; }
 #footer #custom_html-6 form > div:first-child { flex-basis:100%; }
 #footer #custom_html-6 form > div:last-child { flex:1 1 100%; }
 #footer .absolute-footer > .container { width:calc(100% - 40px); display:flex; flex-direction:column; align-items:flex-start; gap:16px; text-align:left; }
 #footer .absolute-footer .footer-primary, #footer .absolute-footer .footer-secondary { float:none; width:100%; text-align:left; }
 #footer .absolute-footer .footer-primary { order:0; }
 #footer .absolute-footer .footer-secondary { order:1; }
}
