#footer.footer-wrapper {
    --footer-bg: #142229;
    --footer-ink: #f3f0e7;
    --footer-muted: #ccd4cc;
    --footer-line: #49605e;
    --footer-accent: #d9ec78;
    --footer-font: WGMNativeCardJost, Arial, Helvetica, sans-serif;
    background: var(--footer-bg);
    color: var(--footer-ink);
    font-family: var(--footer-font);
}

#footer.footer-wrapper .footer-widgets.footer-2 {
    padding-block: 62px 48px;
    background: var(--footer-bg) !important;
}

#footer.footer-wrapper .footer-widgets.footer-2 > .row {
    column-gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.4fr);
    max-width: 1200px;
    width: calc(100% - 64px);
}

#footer .footer-2 :is(#custom_html-3, #custom_html-4, #custom_html-5) {
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--footer-line);
}

#footer .footer-2 #custom_html-3 {
    border-inline-start-color: var(--footer-accent);
}

#footer .footer-2 :is(#custom_html-3, #custom_html-4, #custom_html-5) .custom-html-widget > div > p:first-child {
    color: var(--footer-accent) !important;
    font: 600 13px/1.35 var(--footer-font) !important;
    letter-spacing: .07em;
}

#footer .footer-2 :is(#custom_html-3, #custom_html-4, #custom_html-5) .custom-html-widget :is(.sf-footer-accordion-content, .perf-footer-shop) > p:not(:first-child),
#footer .footer-2 .sf-footer-accordion-content > p:first-child {
    margin-block: 0 12px !important;
    color: var(--footer-muted);
    font: 400 14px/1.45 var(--footer-font) !important;
}

#footer .footer-2 :is(#custom_html-3, #custom_html-4, #custom_html-5) .custom-html-widget a {
    display: inline-block;
    color: var(--footer-muted) !important;
    text-decoration: none;
    text-underline-offset: 4px;
}

#footer .footer-2 :is(#custom_html-3, #custom_html-4, #custom_html-5) .custom-html-widget a:is(:hover, :focus-visible) {
    color: var(--footer-ink) !important;
    text-decoration: underline;
}

#footer .footer-2 #custom_html-6 .custom-html-widget > div {
    background: var(--footer-bg) !important;
    border: 0 !important;
    padding: 0 !important;
}

#footer .footer-2 #custom_html-6 .custom-html-widget h3 {
    color: var(--footer-ink) !important;
    font: 700 23px/1.25 var(--footer-font) !important;
    margin: 0 0 10px !important;
}

#footer .footer-2 #custom_html-6 .custom-html-widget > div > p {
    color: var(--footer-muted) !important;
    font: 400 14px/1.5 var(--footer-font) !important;
    margin: 0 0 18px !important;
}

#footer .footer-2 #custom_html-6 .custom-html-widget :is(form, .perf-footer-signup-controls) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    background: var(--footer-bg);
    margin: 0 !important;
}

#footer .footer-2 #custom_html-6 :is(form, .perf-footer-signup-controls) > div {
    min-width: 0;
    margin: 0 !important;
}

#footer .footer-2 #custom_html-6 .custom-html-widget input[type=email] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 48px;
    margin: 0 !important;
    padding: 0 12px !important;
    background: var(--footer-bg) !important;
    border: 1px solid #81918a !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: var(--footer-ink) !important;
    font: 400 14px/1.2 var(--footer-font) !important;
}

#footer .footer-2 #custom_html-6 input[type=email]::placeholder {
    color: var(--footer-muted);
    opacity: 1;
}

#footer .footer-2 #custom_html-6 .custom-html-widget :is(form, .perf-footer-signup-controls) button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    width: auto !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    background: var(--footer-accent) !important;
    border: 1px solid var(--footer-accent) !important;
    border-radius: 5px !important;
    color: var(--footer-bg) !important;
    box-shadow: none !important;
    font: 700 14px/1.2 var(--footer-font) !important;
    text-transform: none;
}

#footer .footer-2 #custom_html-6 .perf-footer-signup-controls button:disabled {
    cursor: default;
    background: #34464b !important;
    color: var(--footer-muted) !important;
    border-color: #81918a !important;
    opacity: 1;
}

#footer.footer-wrapper :is(a, button, input):focus-visible {
    outline: 2px solid var(--footer-accent) !important;
    outline-offset: 3px !important;
}

#footer.footer-wrapper .absolute-footer {
    color: var(--footer-muted) !important;
    background: var(--footer-bg) !important;
}

#footer.footer-wrapper .absolute-footer > .container {
    max-width: 1200px;
    width: calc(100% - 64px);
}

#footer.footer-wrapper .absolute-footer .perf-footer-copyright {
    color: var(--footer-ink);
}

@media (max-width: 900px) {
    #footer.footer-wrapper .footer-widgets.footer-2 > .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 30px;
    }

    #footer .footer-2 #custom_html-6 {
        grid-column: 1 / -1;
    }

    #footer .footer-2 #custom_html-6 .custom-html-widget > div {
        max-width: 350px;
    }
}

@media (max-width: 600px) {
    #footer.footer-wrapper .footer-widgets.footer-2 {
        padding-block: 34px 32px;
    }

    #footer.footer-wrapper .footer-widgets.footer-2 > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        width: calc(100% - 48px);
    }

    #footer .footer-2 :is(#custom_html-3, #custom_html-4, #custom_html-5) {
        padding-inline-start: 0;
        border-inline-start: 0;
    }

    #footer .footer-2 .sf-footer-accordion-toggle {
        color: var(--footer-accent) !important;
    }

    #footer .footer-2 #custom_html-6 {
        margin-block-start: 26px;
    }

    #footer .footer-2 #custom_html-6 .custom-html-widget > div {
        max-width: none;
    }

    #footer.footer-wrapper .absolute-footer > .container {
        align-items: flex-start;
        flex-direction: column;
        width: calc(100% - 48px);
    }
}

@media (max-width: 345px) {
    #footer .footer-2 #custom_html-6 .custom-html-widget :is(form, .perf-footer-signup-controls) {
        grid-template-columns: minmax(0, 1fr);
    }

    #footer .footer-2 #custom_html-6 .custom-html-widget :is(form, .perf-footer-signup-controls) button {
        width: 100% !important;
    }
}
