/*
 * VW_BUILDER_SHARED_RESPONSIVE_FOOTER_V1
 *
 * One footer for AI Website Builder and Ecommerce Store Builder.
 * Mobile groups stack vertically instead of being squeezed into columns.
 */

body .vw-builder-footer {
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: auto 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-top: 1px solid #e5e9f1 !important;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96),
            #ffffff
        ) !important;

    color: #667085 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    overflow: hidden !important;
}

body .vw-builder-footer,
body .vw-builder-footer *,
body .vw-builder-footer *::before,
body .vw-builder-footer *::after {
    box-sizing: border-box !important;
}

body .vw-builder-footer__inner {
    width: min(920px, calc(100% - 36px)) !important;
    max-width: 920px !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 38px 0 29px !important;

    display: grid !important;
    grid-template-columns:
        minmax(230px, 1.35fr)
        repeat(3, minmax(120px, 0.72fr)) !important;
    align-items: start !important;
    gap: 34px !important;
}

body .vw-builder-footer__brand,
body .vw-builder-footer__group {
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

body .vw-builder-footer__logo {
    display: inline-block !important;

    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #0c2b61 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.105em !important;

    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body .vw-builder-footer__brand p {
    max-width: 300px !important;
    margin: 0 !important;

    color: #7b8797 !important;

    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
}

body .vw-builder-footer__group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 9px !important;
}

body .vw-builder-footer__group strong {
    display: block !important;

    width: 100% !important;
    margin: 0 0 3px !important;
    padding: 0 !important;

    color: #344054 !important;

    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.07em !important;

    text-transform: uppercase !important;
    white-space: normal !important;
    word-break: normal !important;
}

body .vw-builder-footer__group a {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #737f90 !important;

    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.42 !important;

    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body .vw-builder-footer__group a:hover,
body .vw-builder-footer__group a:focus-visible,
body .vw-builder-footer__bottom a:hover,
body .vw-builder-footer__bottom a:focus-visible {
    color: #0c2b61 !important;
    text-decoration: none !important;
    outline: none !important;
}

body .vw-builder-footer__bottom {
    width: min(920px, calc(100% - 36px)) !important;
    max-width: 920px !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 17px 0 23px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;

    border-top: 1px solid #edf0f4 !important;

    color: #98a2b3 !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
}

body .vw-builder-footer__bottom nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 17px !important;
    flex-wrap: wrap !important;
}

body .vw-builder-footer__bottom a {
    color: #7b8797 !important;
    font-size: 10px !important;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    body .vw-builder-footer__inner {
        width: min(720px, calc(100% - 30px)) !important;
        max-width: 720px !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
        gap: 28px 22px !important;
    }

    body .vw-builder-footer__brand {
        grid-column: 1 / -1 !important;
    }

    body .vw-builder-footer__brand p {
        max-width: 520px !important;
    }

    body .vw-builder-footer__bottom {
        width: min(720px, calc(100% - 30px)) !important;
        max-width: 720px !important;
    }
}

@media (max-width: 680px) {
    body .vw-builder-footer__inner {
        width: calc(100% - 28px) !important;
        max-width: none !important;

        padding: 29px 0 17px !important;

        display: block !important;
    }

    body .vw-builder-footer__brand,
    body .vw-builder-footer__group {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 0 0 20px !important;
        margin: 0 0 20px !important;

        border-bottom: 1px solid #edf0f4 !important;

        writing-mode: horizontal-tb !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
    }

    body .vw-builder-footer__group:last-child {
        margin-bottom: 0 !important;
        border-bottom: 0 !important;
    }

    body .vw-builder-footer__logo {
        margin-bottom: 9px !important;
        font-size: 12px !important;
    }

    body .vw-builder-footer__brand p {
        width: 100% !important;
        max-width: 420px !important;
        font-size: 11px !important;
    }

    body .vw-builder-footer__group strong {
        margin-bottom: 11px !important;
        font-size: 10px !important;
    }

    body .vw-builder-footer__group a {
        width: 100% !important;
        padding: 5px 0 !important;

        font-size: 12px !important;
        line-height: 1.35 !important;

        writing-mode: horizontal-tb !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    body .vw-builder-footer__bottom {
        width: calc(100% - 28px) !important;
        max-width: none !important;

        padding: 17px 0 22px !important;

        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    body .vw-builder-footer__bottom nav {
        width: 100% !important;
        justify-content: flex-start !important;
        gap: 10px 16px !important;
    }
}

@media (max-width: 390px) {
    body .vw-builder-footer__inner,
    body .vw-builder-footer__bottom {
        width: calc(100% - 20px) !important;
    }

    body .vw-builder-footer__inner {
        padding-top: 25px !important;
    }

    body .vw-builder-footer__brand,
    body .vw-builder-footer__group {
        padding-bottom: 17px !important;
        margin-bottom: 17px !important;
    }

    body .vw-builder-footer__logo {
        font-size: 11px !important;
        letter-spacing: 0.085em !important;
    }
}

@media (max-width: 300px) {
    body .vw-builder-footer__inner,
    body .vw-builder-footer__bottom {
        width: calc(100% - 14px) !important;
    }

    body .vw-builder-footer__group a {
        font-size: 11px !important;
    }
}

/*
 * VW_BUILDER_FOOTER_ADAPTIVE_GRID_V1_1
 *
 * Between narrow-mobile and tablet widths, use available blank space:
 * - 430–559px: two link cards side-by-side, third card full width below
 * - 560–680px: all three link cards side-by-side
 * - below 430px: clean one-column stack
 */

/* Slightly wider mobile: two-column composition. */
@media (min-width: 430px) and (max-width: 559px) {
    body .vw-builder-footer__inner {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    body .vw-builder-footer__brand {
        grid-column: 1 / -1 !important;

        display: block !important;
        width: 100% !important;

        margin: 0 0 4px !important;
        padding: 0 0 20px !important;

        border: 0 !important;
        border-bottom: 1px solid #edf0f4 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    body .vw-builder-footer__group {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        width: 100% !important;
        min-height: 100% !important;

        margin: 0 !important;
        padding: 16px !important;

        border: 1px solid #e8edf3 !important;
        border-radius: 13px !important;

        background: #f8fafc !important;
        box-shadow: 0 7px 20px rgba(26, 45, 76, 0.035) !important;
    }

    body .vw-builder-footer__group:last-child {
        grid-column: 1 / -1 !important;
    }

    body .vw-builder-footer__group strong {
        margin-bottom: 8px !important;
    }

    body .vw-builder-footer__group a {
        width: 100% !important;
        padding: 4px 0 !important;
    }
}

/* Larger mobile / small tablet: all three groups use one row. */
@media (min-width: 560px) and (max-width: 680px) {
    body .vw-builder-footer__inner {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    body .vw-builder-footer__brand {
        grid-column: 1 / -1 !important;

        display: block !important;
        width: 100% !important;

        margin: 0 0 5px !important;
        padding: 0 0 21px !important;

        border: 0 !important;
        border-bottom: 1px solid #edf0f4 !important;
        background: transparent !important;
    }

    body .vw-builder-footer__group,
    body .vw-builder-footer__group:last-child {
        grid-column: auto !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        width: 100% !important;
        min-height: 100% !important;

        margin: 0 !important;
        padding: 15px !important;

        border: 1px solid #e8edf3 !important;
        border-radius: 13px !important;

        background: #f8fafc !important;
        box-shadow: 0 7px 20px rgba(26, 45, 76, 0.035) !important;
    }

    body .vw-builder-footer__group strong {
        margin-bottom: 8px !important;
    }

    body .vw-builder-footer__group a {
        width: 100% !important;
        padding: 4px 0 !important;
        font-size: 11px !important;
    }
}

/* Use the bottom-row space when it is genuinely available. */
@media (min-width: 500px) and (max-width: 680px) {
    body .vw-builder-footer__bottom {
        align-items: center !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 18px !important;
    }

    body .vw-builder-footer__bottom nav {
        width: auto !important;
        justify-content: flex-end !important;
    }
}

