/* Scoped to the existing Flatsome footer widgets and native bottom bar. */
#footer.footer-wrapper{--footer-ink:#19322f;--footer-muted:#19322f;--footer-line:#c9d0cd;--footer-bg:#f1f3f2;--footer-font:Arial,sans-serif;background:#f1f3f2;color:#19322f}
#footer .footer-widgets{padding:96px 0!important;background:#f1f3f2!important;color:#19322f}
#footer .footer-widgets>.row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(280px,1.6fr);gap:clamp(32px,5.55vw,80px);width:calc(100% - 80px);max-width:none;margin:0 auto}
#footer .footer-widgets .widget{width:auto;max-width:none;min-width:0;margin:0;padding:0}
#footer .footer-widgets .custom-html-widget>div{color:#19322f!important;font-family:var(--footer-font)!important;text-align:left!important}
#footer .footer-widgets .custom-html-widget>div>p:first-child:not(:has(a)),#footer .sf-footer-accordion-label,#footer .sf-footer-accordion-toggle{color:#19322f!important;font:700 20px/1.25 var(--footer-font)!important;letter-spacing:0;text-transform:none}
#footer .footer-widgets .custom-html-widget>div>p:first-child:not(:has(a)){margin:0 0 24px!important}
#footer .sf-footer-accordion-label{padding-bottom:24px}
#footer .footer-widgets .custom-html-widget>div>p:not(:first-child),#footer .sf-footer-accordion-content>p{margin:0 0 8px!important;font:400 16px/1.5 var(--footer-font)!important}
#footer .footer-widgets .custom-html-widget p a{color:#19322f!important;text-decoration:none}
#footer .footer-widgets .custom-html-widget p a:hover,#footer .footer-widgets .custom-html-widget p a:focus-visible{color:#19322f!important;text-decoration:underline}
#footer .danner-footer-brand{display:flex;align-items:center;gap:18px;margin:0 0 26px}
#footer .danner-footer-brand img{display:block;object-fit:contain;max-width:none}
#footer .footer-widgets .custom-html-widget>div:has(form input[type=email]){max-width:424px;padding:0!important;border:0!important;background:transparent!important}
#footer .footer-widgets .custom-html-widget>div:has(form input[type=email]) h3{color:#19322f!important;font:700 23px/1.2 var(--footer-font)!important;margin:0 0 12px!important}
#footer .footer-widgets .custom-html-widget>div:has(form input[type=email])>p{color:#19322f!important;font:400 15px/1.5 var(--footer-font)!important;margin:0 0 20px!important}
#footer .footer-widgets .custom-html-widget form:has(input[type=email]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0!important;width:100%}
#footer .footer-widgets .custom-html-widget form:has(input[type=email])>div{margin:0!important;min-width:0}
#footer .footer-widgets .custom-html-widget input[type=email]{box-sizing:border-box;width:100%!important;min-width:0;height:48px!important;margin:0!important;padding:0 14px!important;border:1px solid #19322f!important;border-radius:0!important;background:#f1f3f2!important;color:#19322f!important;box-shadow:none!important}
#footer .footer-widgets .custom-html-widget input[type=email]::placeholder{color:#47615d;opacity:1}
#footer .footer-widgets .custom-html-widget form button[type=submit]{width:auto!important;min-width:112px;height:48px!important;margin:0!important;padding:0 20px!important;border:1px solid #19322f!important;border-radius:24px!important;background:#19322f!important;color:#fff!important;font:700 14px/1 var(--footer-font)!important;box-shadow:none!important}
#footer .footer-widgets .custom-html-widget form button[type=submit]:disabled{opacity:.55;cursor:not-allowed}
#footer a:focus-visible,#footer button:focus-visible,#footer input:focus-visible{outline:2px solid #19322f!important;outline-offset:3px!important}
#footer .absolute-footer{display:block!important;background:#f1f3f2!important;color:#19322f!important}
#footer .absolute-footer>.container{display:flex;align-items:center;justify-content:space-between;gap:20px;width:calc(100% - 80px);max-width:none;margin:0 auto;padding:22px 0 24px;border-top:1px solid #c9d0cd}
#footer .absolute-footer .footer-primary,#footer .absolute-footer .footer-secondary{float:none!important;text-align:left;color:#19322f}
#footer .absolute-footer .footer-primary{order:1}#footer .absolute-footer .footer-secondary{order:2}
#footer .absolute-footer .payment-icons{display:flex;flex-wrap:wrap;gap:5px;align-items:center;opacity:1}
@media(max-width:1023px){#footer .footer-widgets{padding:64px 0!important}#footer .footer-widgets>.row{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;width:calc(100% - 48px)}#footer .footer-widgets .widget:has(form input[type=email]){grid-column:1 / -1}#footer .absolute-footer>.container{width:calc(100% - 48px)}}
@media(max-width:600px){#footer .footer-widgets{padding:56px 0!important}#footer .footer-widgets>.row,#footer .footer-widgets>.row:has(.sf-footer-accordion-toggle){display:grid;grid-template-columns:minmax(0,1fr);gap:32px;width:calc(100% - 48px)}#footer .footer-widgets .widget:has(.sf-footer-accordion-toggle){border:0}#footer .sf-footer-accordion-toggle{min-height:44px;padding:0;font-size:20px!important}#footer .sf-footer-accordion-content{padding:8px 0 0}#footer .footer-widgets .widget:has(form input[type=email]){grid-column:auto;margin:0}#footer .footer-widgets .custom-html-widget form:has(input[type=email]){grid-template-columns:minmax(0,1fr)}#footer .footer-widgets .custom-html-widget form button[type=submit]{width:100%!important}#footer .absolute-footer>.container{align-items:flex-start;flex-direction:column;gap:14px;padding:20px 0 24px}}
/* Remove the duplicate widget heading gap introduced by the legacy accordion. */
#footer .footer-widgets .custom-html-widget>div>p.sf-footer-accordion-heading{margin:0!important}
/* Override the legacy form input rule and blend the input into the footer. */
#footer #custom_html-6 .custom-html-widget form input[type=email]{background:#f1f3f2!important;color:#19322f!important;border-color:#19322f!important}
