body.storefront-app .store-reference-footer .store-reference-footer-inner,
body.storefront-app .store-reference-footer .store-reference-footer-bottom {
    box-sizing: border-box;
    width: min(1440px, calc(100% - 64px)) !important;
    margin-inline: auto !important;
}

@media (min-width: 1025px) {
    body.storefront-app .store-reference-footer .store-reference-footer-inner {
        grid-template-columns: var(--store-footer-columns) !important;
    }
}

.store-footer-tools-column { min-width: 0; }
.store-reference-footer :is(.store-footer-tool-links, .store-footer-tool-shortcuts) {
    grid-template-columns: repeat(var(--store-footer-tool-columns), minmax(0, 1fr));
    column-gap: 16px;
}
.store-footer-tool-shortcuts {
    display: grid;
    align-items: start;
    row-gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e0e9e4;
}
.store-footer-tool-shortcuts a {
    display: inline-flex;
    align-items: baseline;
    justify-self: start;
    gap: 6px;
    min-width: 0;
    color: #116657;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}
.store-footer-tool-shortcuts a i { font-size: 11px; }
.store-reference-footer :is(a, select):focus-visible {
    outline: 2px solid #147362;
    outline-offset: 2px;
}
.store-reference-footer :is(.store-footer-links a, .store-footer-tool-shortcuts a):hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.storefront-app .store-reference-footer .store-reference-footer-bottom {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    text-align: left !important;
}

.store-footer-preferences {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 16px;
    margin-inline-start: auto;
    min-width: 0;
    max-width: 100%;
}

.store-footer-preferences .store-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.store-footer-preferences .store-footer-socials a:hover { background: #e1efeb; }
.store-footer-socials .fa-facebook-f { color: #0866c8; }
.store-footer-socials .fa-instagram { color: #b72d76; }
.store-footer-socials :is(.fa-youtube, .fa-pinterest-p) { color: #c51c35; }
.store-footer-whatsapp .fa-whatsapp { color: #148044; }

body.storefront-app .store-footer-preferences .store-payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px !important;
    margin: 0 !important;
}

.store-footer-preferences .store-payment-icons span { gap: 5px; }
.store-footer-preferences .store-payment-icons i { color: #27678f; font-size: 16px; }
.store-footer-preferences .store-payment-icons .fa-shield-halved { color: #167c54; }
.store-footer-preferences .store-payment-icons .fa-cc-visa { color: #22439b; }
.store-footer-preferences .store-payment-icons .fa-cc-mastercard { color: #bd3b16; }
.store-footer-preferences .store-payment-icons .fa-mobile-screen-button { color: #6841aa; }
.store-footer-preferences .store-payment-icons .fa-money-bill-wave { color: #2b713d; }

.store-footer-preferences .store-footer-currency {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.store-footer-preferences .store-currency-picker { max-width: 100%; min-width: 0; margin: 0; }
.store-footer-preferences .store-currency-picker select { min-width: 112px; min-height: 36px; max-width: 100%; }
.store-reference-footer .store-footer-whatsapp { display: none; }

@media (max-width: 1024px) {
    body.storefront-app .store-reference-footer .store-reference-footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .store-footer-tools-column { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    body.storefront-app .store-reference-footer {
        padding: 20px 16px 24px !important;
    }
    body.storefront-app .store-reference-footer .store-reference-footer-inner,
    body.storefront-app .store-reference-footer .store-reference-footer-bottom {
        width: 100% !important;
    }
    body.storefront-app .store-reference-footer .store-reference-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
    body.storefront-app .store-reference-footer .store-footer-tools-column {
        padding: 0 !important;
        border: 0 !important;
    }
    body.storefront-app .store-reference-footer .store-footer-help-column {
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
    }
    .store-reference-footer-inner:has(> .store-footer-shop-column) > .store-footer-company-column {
        grid-column: 2;
        grid-row: span 2;
    }
    body.storefront-app .store-reference-footer h4 {
        margin: 0 0 5px !important;
        color: #183c34;
        font-size: 14px !important;
        letter-spacing: .035em;
    }
    body.storefront-app .store-reference-footer .store-footer-links { row-gap: 0 !important; }
    body.storefront-app .store-reference-footer .store-footer-links a {
        display: flex;
        align-items: center;
        min-height: 30px;
        padding-block: 4px;
        font-size: 14px !important;
    }
    body.storefront-app .store-reference-footer :is(.store-footer-tool-links, .store-footer-tool-shortcuts) {
        grid-template-columns: repeat(min(var(--store-footer-tool-columns), 2), minmax(0, 1fr));
        column-gap: 10px !important;
    }
    .store-reference-footer .store-footer-tool-shortcuts { align-items: stretch; }
    .store-reference-footer .store-footer-tool-shortcuts a {
        align-items: center;
        justify-content: space-between;
        justify-self: stretch;
        min-height: 40px;
        padding: 6px 8px;
        border: 1px solid #cfe2d9;
        border-radius: 6px;
        background: #fff;
        overflow-wrap: anywhere;
    }
    body.storefront-app .store-reference-footer .store-reference-footer-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 16px !important;
        padding-top: 12px !important;
    }
    .store-footer-preferences {
        justify-content: center;
        gap: 10px 12px;
        margin: 0;
    }
    body.storefront-app .store-footer-preferences .store-payment-icons {
        flex-basis: 100%;
        order: -1;
        justify-content: center;
    }
    body.storefront-app .store-reference-footer .store-payment-icons span {
        min-height: 27px !important;
        font-size: 11px !important;
    }
    .store-footer-preferences .store-footer-socials a,
    .store-footer-preferences .store-currency-picker select {
        min-height: 40px;
    }
    .store-reference-footer .store-footer-copyright {
        order: 1;
        color: #52665e;
        font-size: 12px;
        text-align: center;
    }
    body.storefront-app .store-reference-footer .store-footer-whatsapp { display: flex; gap: 6px; }
    body.storefront-app:not(.is-checkout-route):has(.store-footer-whatsapp) .store-whatsapp-help { display: none; }
}

