:root {
    --fb-background: #1a1918;
    --fb-footer-font: "Montserrat", sans-serif;
}

html,
body {
    background-color: #1a1918;
}

body .site-header,
body .menu-overlay {
    background-color: #1a1918;
}

body .site-footer {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    width: calc(100% - 60px);
    max-width: 1500px;
    min-height: 108px;
    margin: 0 auto;
    padding: 34px 0 36px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #1a1918;
    color: rgba(255,255,255,.72);
    font-family: var(--fb-footer-font);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body .site-footer > .footer-left {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,.72);
    font-family: var(--fb-footer-font);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .08em;
    text-align: left;
}

body .site-footer > .footer-right {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,.72);
    font-family: var(--fb-footer-font);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .08em;
    text-align: right;
}

body .site-footer .footer-cookies {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
}

body .site-footer .cookie-settings-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.72);
    font-family: var(--fb-footer-font);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

body .site-footer > .footer-return-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.78);
    cursor: pointer;
    opacity: .78;
}

body .site-footer .footer-return-button span {
    display: block;
    width: 11px;
    height: 11px;
    border-left: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: translateY(3px) rotate(45deg);
}

body .site-footer .cookie-settings-link:hover {
    color: rgba(255,255,255,.95);
}

body .site-footer > .footer-return-button:hover {
    opacity: 1;
}

@media (max-width: 760px) {

    body .site-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0;
        padding: 28px 18px 30px;
        border-top: 0;
        background: #1a1918;
        color: rgba(255,255,255,.72);
        font-family: var(--fb-footer-font);
        font-size: 9px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: .035em;
        text-align: center;
        text-transform: uppercase;
    }

    body .site-footer > .footer-left {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
        color: rgba(255,255,255,.72);
        font-family: var(--fb-footer-font);
        font-size: 9px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: .035em;
        text-align: center;
    }

    body .site-footer > .footer-right {
        order: 2;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin: 0;
        padding: 0;
        color: rgba(255,255,255,.72);
        font-family: var(--fb-footer-font);
        font-size: 9px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: .035em;
        text-align: center;
    }

    body .site-footer .footer-cookies {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 14px;
        margin: 0;
        padding: 0;
    }

    body .site-footer .cookie-settings-link {
        margin: 0;
        padding: 0;
        color: rgba(255,255,255,.72);
        font-family: var(--fb-footer-font);
        font-size: 9px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: .035em;
        text-align: center;
        white-space: normal;
    }

    body .site-footer > .footer-return-button {
        order: 3;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 3px auto 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: rgba(255,255,255,.78);
        opacity: .78;
    }

    body .site-footer .footer-return-button span {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 350px) {

    body .site-footer,
    body .site-footer > .footer-left,
    body .site-footer > .footer-right,
    body .site-footer .cookie-settings-link {
        font-family: var(--fb-footer-font);
        font-size: 9px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: .035em;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* FB-CORRECAO-SETAS-ETAPA-4 */

body.fb-footer-visible .gallery-return-button {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(12px) !important;
}

body .site-footer > .footer-return-button {
    z-index: 2;
    pointer-events: auto;
}

body .site-footer .footer-cookies,
body .site-footer .cookie-settings-link {
    position: relative;
    z-index: 2;
}
