body .site-footer.storefront-footer {
    --storefront-footer-text: #e6efe8;
    --storefront-footer-muted: #b8cbbb;
    --storefront-footer-accent: #bdddaf;
    --storefront-footer-border: #365247;
    padding: 0;
    border: 0;
    background: #17362a;
    color: var(--storefront-footer-text);
}

.site-footer.storefront-footer .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.35rem, 3.25vw, 3rem);
    padding-block: clamp(1.65rem, 4vw, 3.4rem);
}

.storefront-footer .footer-brand {
    grid-column: auto;
    display: grid;
    justify-items: start;
    gap: .9rem;
    min-width: 0;
}

.storefront-footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 44px;
    padding: .65rem .85rem;
    border-radius: .5rem;
    background: #f5faf3;
}

.storefront-footer .footer-brand img {
    display: block;
    width: min(14rem, 100%);
    max-width: 100%;
    height: auto;
    margin: 0;
}

.storefront-footer .footer-brand > p {
    max-width: 34ch;
    margin: 0;
    color: var(--storefront-footer-muted);
    font-size: .9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.storefront-footer-contact:has(address[hidden]) {
    display: none;
}

.storefront-footer .storefront-footer-contact h2,
.storefront-footer .footer-col h4 {
    margin: 0 0 .45rem;
    color: var(--storefront-footer-accent);
    font-size: .8rem;
    font-weight: 760;
    line-height: 1.35;
    letter-spacing: .045em;
    overflow-wrap: anywhere;
}

.storefront-footer address {
    display: grid;
    gap: .35rem;
    margin: 0;
    color: var(--storefront-footer-muted);
    font-size: .88rem;
    font-style: normal;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.storefront-footer address .mx-2 {
    display: none;
}

.storefront-footer-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem 1rem;
}

.storefront-footer [hidden] {
    display: none !important;
}

.storefront-footer .storefront-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem .95rem;
    min-width: 0;
}

.storefront-footer .footer-col {
    min-width: 0;
}

.storefront-footer .footer-col a,
.storefront-footer address a,
.storefront-footer-socials a {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 36px;
    margin: 0;
    color: var(--storefront-footer-text);
    font-size: .9rem;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.storefront-footer .footer-col a:hover,
.storefront-footer address a:hover,
.storefront-footer-socials a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .22em;
}

.storefront-footer a:focus-visible {
    border-radius: .3rem;
    outline: 2px solid #d5f0c8 !important;
    outline-offset: 3px;
}

.site-footer.storefront-footer .footer-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .45rem 1.5rem;
    padding-block: .85rem 1rem;
    border-top: 1px solid var(--storefront-footer-border);
    color: var(--storefront-footer-muted);
    font-size: .79rem;
    line-height: 1.5;
}

.storefront-footer-payment {
    color: var(--storefront-footer-accent);
    font-weight: 670;
}

@media (min-width: 740px) {
    .storefront-footer .storefront-footer-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1060px) {
    .site-footer.storefront-footer .footer-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2.65fr);
    }
}

@media (max-width: 739px) {
    .storefront-footer .footer-col a,
    .storefront-footer address a,
    .storefront-footer-socials a {
        min-height: 44px;
    }

    .storefront-footer .storefront-footer-nav {
        padding-top: 1.1rem;
        border-top: 1px solid var(--storefront-footer-border);
    }
}
