#footer.footer-wrapper:has(.fh-footer-shop) {
    --footer-bg: #f4e7ee;
    --footer-ink: #302335;
    --footer-muted: #57445a;
    --footer-line: #d4b9cd;
    --fh-footer-accent: #6c3159;
    --fh-footer-cream: #fbf8f3;
    background: var(--footer-bg);
}

#footer.footer-wrapper:has(.fh-footer-shop) .footer-2 {
    padding-block: 48px 36px;
}

#footer.footer-wrapper:has(.fh-footer-shop) .footer-2 > .row,
#footer.footer-wrapper:has(.fh-footer-shop) .absolute-footer > .container {
    width: calc(100% - 120px);
    max-width: 1320px;
}

#footer.footer-wrapper:has(.fh-footer-shop) .footer-2 > .row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.35fr);
    gap: 32px;
}

#footer.footer-wrapper:has(.fh-footer-shop) .footer-2 > .row::after {
    display: none;
}

#footer.footer-wrapper .footer-2 .custom-html-widget > div > .sf-footer-accordion-heading {
    margin-block-end: 0 !important;
}

#footer.footer-wrapper .footer-2 .fh-footer-shop-heading,
#footer.footer-wrapper .footer-2 .widget:has(.fh-footer-shop) .widgettitle {
    margin: 0 0 22px;
    color: var(--footer-ink);
    font: 600 13px/1.35 var(--footer-font);
    letter-spacing: .07em;
    text-transform: uppercase;
}

#footer .fh-footer-shop-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .fh-footer-shop-links > li {
    margin: 0 0 12px;
    color: var(--footer-muted);
    font: 400 14px/1.45 var(--footer-font);
}

#footer .fh-footer-shop-links > li:last-child {
    margin-bottom: 0;
}

#footer.footer-wrapper .footer-2:has(.fh-footer-shop) .widget a,
#footer.footer-wrapper .footer-2:has(.fh-footer-shop) .custom-html-widget p a {
    color: var(--footer-muted) !important;
    text-underline-offset: 4px;
}

#footer.footer-wrapper .footer-2:has(.fh-footer-shop) .widget a:is(:hover, :focus-visible),
#footer.footer-wrapper .footer-2:has(.fh-footer-shop) .custom-html-widget p a:is(:hover, :focus-visible) {
    color: var(--footer-ink) !important;
    text-decoration: underline;
}

#footer.footer-wrapper .footer-2 .custom-html-widget > .fh-footer-signup {
    max-width: none;
    padding: 0;
    background-color: var(--footer-bg) !important;
}

#footer .footer-2 .fh-footer-signup h3 {
    margin: 0 0 12px !important;
    color: var(--footer-ink);
    font: 500 24px/1.15 Georgia, serif;
    letter-spacing: -.01em;
}

#footer.footer-wrapper .footer-2 .custom-html-widget > .fh-footer-signup > p {
    margin: 0 0 20px !important;
    color: var(--footer-muted) !important;
    font: 400 14px/1.5 var(--footer-font) !important;
    letter-spacing: normal;
    text-transform: none;
}

#footer .fh-footer-signup-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    background-color: var(--footer-bg);
}

#footer.footer-wrapper .fh-footer-signup-controls :is(input[type="email"], button) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--fh-footer-accent);
    border-radius: 6px;
    background-color: var(--footer-bg) !important;
    color: var(--footer-ink);
    box-shadow: none;
    font: 400 15px/1.2 var(--footer-font);
}

#footer .fh-footer-signup-controls input::placeholder {
    color: var(--footer-muted);
    opacity: 1;
}

#footer.footer-wrapper .fh-footer-signup-controls button {
    background-color: var(--fh-footer-cream) !important;
    color: var(--footer-muted);
    font-weight: 600;
    opacity: 1;
    text-transform: none;
    cursor: default;
}

#footer.footer-wrapper .fh-footer-signup-controls input:focus-visible {
    outline: 2px solid var(--fh-footer-accent) !important;
    outline-offset: 3px !important;
}

@media (max-width: 1000px) {
    #footer.footer-wrapper:has(.fh-footer-shop) .footer-2 > .row,
    #footer.footer-wrapper:has(.fh-footer-shop) .absolute-footer > .container {
        width: calc(100% - 64px);
    }

    #footer.footer-wrapper:has(.fh-footer-shop) .footer-2 > .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #footer .footer-2 .widget:has(.fh-footer-signup) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    #footer.footer-wrapper:has(.fh-footer-shop) .footer-2 {
        padding-block: 32px 24px;
    }

    #footer.footer-wrapper:has(.fh-footer-shop) .footer-2 > .row,
    #footer.footer-wrapper:has(.fh-footer-shop) .absolute-footer > .container {
        width: calc(100% - 32px);
    }

    #footer.footer-wrapper:has(.fh-footer-shop) .footer-2 > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    #footer .footer-2 .widget:has(.fh-footer-shop) {
        border-bottom: 1px solid var(--footer-line);
        padding-block-end: 18px !important;
    }

    #footer.footer-wrapper .footer-2 .fh-footer-shop-heading,
    #footer.footer-wrapper .footer-2 .widget:has(.fh-footer-shop) .widgettitle {
        margin-bottom: 12px;
        font-size: 14px;
    }

    #footer .footer-2 .widget:has(.fh-footer-signup) {
        margin-top: 24px;
    }
}

@media (max-width: 340px) {
    #footer .fh-footer-signup-controls {
        grid-template-columns: minmax(0, 1fr);
    }
}
