.sgce-payment-methods {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    margin-bottom: var(--sgce-footer-section-gap, 8px);
    padding-bottom: var(--sgce-footer-section-gap, 8px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.footer-widgets .row > .sgce-payment-methods.col {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.footer-widgets .row > .sgce-footer-legacy-column {
    display: none !important;
}

.sgce-payment-methods__title {
    margin: 0 0 7px;
    color: inherit;
    font-size: var(--sgce-payment-title-size, 14px);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.sgce-payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sgce-payment-methods__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 43px;
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.sgce-payment-methods__item img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    transform: scale(var(--sgce-payment-logo-scale, 1));
    transform-origin: center;
}

.sgce-footer-support {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.footer-widgets .row > .sgce-footer-support.col {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.sgce-footer-support__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

.sgce-footer-support__column h3 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.35;
}

.sgce-footer-support__column,
.sgce-footer-support__content,
.sgce-footer-support__content .row,
.sgce-footer-support__content .col,
.sgce-footer-support__content .col-inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.sgce-footer-support__content,
.sgce-footer-support__content p,
.sgce-footer-support__content li,
.sgce-footer-support__content a {
    font-size: 13px;
    line-height: 1.4;
}

.sgce-footer-support__content p:last-child,
.sgce-footer-support__content ul:last-child {
    margin-bottom: 0;
}

.sgce-footer-support__content p,
.sgce-footer-support__content ul {
    margin-top: 0;
    margin-bottom: 2px;
}

.sgce-footer-support__fallback {
    margin: 0;
    padding: 0;
    list-style: none;
}

.absolute-footer.sgce-footer-legal-managed .footer-primary,
.absolute-footer.sgce-footer-legal-managed .footer-secondary {
    display: none !important;
}

.absolute-footer.sgce-footer-legal-managed {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.sgce-footer-legal {
    width: 100%;
    padding: var(--sgce-footer-legal-padding, 5px) 15px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.footer-widgets {
    padding-top: var(--sgce-footer-padding-top, 16px) !important;
    padding-bottom: var(--sgce-footer-padding-bottom, 12px) !important;
}

.footer-widgets > .row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.sgce-footer-legal a {
    color: inherit;
    font-weight: 700;
}

@media (min-width: 550px) and (max-width: 849px) {
    .sgce-payment-methods__grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .sgce-footer-support__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 28px;
    }
}

@media (max-width: 549px) {
    .sgce-payment-methods {
        padding-bottom: var(--sgce-footer-section-gap, 8px);
    }

    .sgce-payment-methods__title {
        margin-bottom: 7px;
    }

    .sgce-payment-methods__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .sgce-payment-methods__item {
        height: 40px;
        padding: 4px;
    }

    .sgce-footer-support__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }

    .sgce-footer-support__column h3 {
        font-size: 13px;
    }
}
