#footer.footer-scrolled {
    background-image:  url("../img/footer-scrolled/background.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 40px;
}

#footer.footer-scrolled .menuFooter .list-group .list-group-item {
    border: none;
    border-radius: 0;
    padding: 0;
    background-color: transparent;
}

#footer.footer-scrolled .menuFooter .list-group .list-group-item a,
#footer.footer-scrolled .menuFooter .list-group .list-group-item span,
#footer.footer-scrolled .address-store a,
#footer.footer-scrolled .copy {
    color: #ffffff;
}

#footer.footer-scrolled .menuFooter .list-group .list-group-item a,
#footer.footer-scrolled .menuFooter .list-group .list-group-item span {
    font-size: 0.8rem;
    line-height: 1.4rem;
    text-decoration: none;
}

#footer.footer-scrolled .address-store {
    font-size: 1rem;
    line-height: 1.4rem;
}

#footer.footer-scrolled .address-store img {
    margin-left: 28px;
    width: 80px;
    margin-bottom: 5px;
}

#footer.footer-scrolled .address-store .mexico {
    text-indent: 34px;
    font-size: 13px;
}

#footer.footer-scrolled .socialLinks a {
    display: inline-block;
    margin: 10px;
    max-width: 42px;
}

#footer.footer-scrolled .socialLinks a img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

#footer.footer-scrolled .line-hr {
    color: #ffffff;
    opacity: 0.45;
}

/* -------------------------------------------------------------------------- */
/* Tablet e Mobile (<= 810px)                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 810px) {
    #footer.footer-scrolled .socialLinks {
        border: none;
    }

    #footer.footer-scrolled .address-store .mexico {
        text-indent: 25px;
    }
}

/* -------------------------------------------------------------------------- */
/* Mobile e Tablet pequeno (<= 768px)                                         */
/* -------------------------------------------------------------------------- */
/* Rodapé US: menu estilo Samsung (collapse + seta à direita) — .menuFooterMobile visível (< lg) */
@media only screen and (max-width: 991.98px) {
    #footer.footer-scrolled .menuFooterMobile {
        --footer-nav-pad-x: 1rem;
        --footer-nav-pad-y: 0.75rem;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-menu {
        border-radius: 0;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        padding: 0;
        margin: 0;
        background-color: transparent;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-item:last-of-type {
        border-bottom: none;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
        padding: var(--footer-nav-pad-y) var(--footer-nav-pad-x);
        margin: 0;
        border: none;
        background: transparent;
        color: #fff;
        text-align: left;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        -webkit-appearance: none;
        appearance: none;
        padding-left: 0;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.65);
        outline-offset: 2px;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle__text {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 0.8rem;
        line-height: 1.4rem;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle__chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
        margin: 0;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle__chevron::before {
        content: "";
        display: block;
        width: 0.5rem;
        height: 0.5rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transition: transform 0.22s ease, -webkit-transform 0.22s ease;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle[aria-expanded="true"] .footer-samsung-toggle__chevron::before {
        transform: rotate(225deg);
        -webkit-transform: rotate(225deg);
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-panel {
        border: none;
        box-shadow: none;
        background-color: transparent;
        margin: 0;
    }

    /* Painel fechado ou em animação: links não recebem toque (evita navegar no 1.º item ao abrir no mobile) */
    #footer.footer-scrolled .menuFooterMobile .footer-samsung-panel:not(.show) .footer-samsung-links a,
    #footer.footer-scrolled .menuFooterMobile .footer-samsung-panel.collapsing .footer-samsung-links a {
        pointer-events: none;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-panel.show .footer-samsung-links a {
        pointer-events: auto;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 var(--footer-nav-pad-x) var(--footer-nav-pad-y);
        margin: 0;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-links a {
        display: block;
        padding: var(--footer-nav-pad-y) 0;
        margin: 0;
        color: #fff;
        text-decoration: none;
        font-size: 0.8rem;
        line-height: 1.4rem;
        background-color: transparent;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-links a:hover,
    #footer.footer-scrolled .menuFooterMobile .footer-samsung-links a:focus-visible {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 0.2em;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-flat {
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        padding: 0;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-flat .list-group-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        padding: 0;
        margin: 0;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-flat .list-group-item:last-child {
        border-bottom: none;
    }

    #footer.footer-scrolled .menuFooterMobile .footer-samsung-flat .list-group-item > a {
        display: block;
        padding: var(--footer-nav-pad-y) var(--footer-nav-pad-x);
        margin: 0;
    }

    /* Presence + restantes: mesma caixa de toque que toggles / links */
    #footer.footer-scrolled .menuFooterMobile > .menuFooter.col-12 .list-group .list-group-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        padding: 0;
        margin: 0;
    }

    #footer.footer-scrolled .menuFooterMobile > .menuFooter.col-12 .list-group .list-group-item:last-child {
        border-bottom: none;
    }

    #footer.footer-scrolled .menuFooterMobile > .menuFooter.col-12 .list-group .list-group-item > a {
        display: block;
        padding: var(--footer-nav-pad-y) var(--footer-nav-pad-x);
        margin: 0;
        padding-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    @media only screen and (max-width: 991.98px) {
        #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle__chevron::before,
        #footer.footer-scrolled .menuFooterMobile .footer-samsung-toggle[aria-expanded="true"] .footer-samsung-toggle__chevron::before {
            transition: none !important;
        }
    }
}

@media only screen and (max-width: 768px) {
    #footer.footer-scrolled {
        background-position: top center;
        padding-top: var(--mt-default-web-mobile);
        padding-bottom: var(--mt-default-web-mobile);
    }
}

/* -------------------------------------------------------------------------- */
/* Mobile pequeno (<= 511px)                                                  */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 511px) {
    #footer.footer-scrolled .address-store img {
        width: calc(100px - 5%);
        margin: 0;
    }

    #footer.footer-scrolled img {
        max-width: 85%;
    }

    #footer.footer-scrolled .address-store .mexico {
        text-indent: 4vw !important;
    }
}
