/* =====================================================
   ESTILOS COMPLETOS DO RODAPÉ (MC PEÇAS)
   ===================================================== */

/* --- LETREIRO HORIZONTAL DE LOJAS CONTÍNUO (AMARELO) --- */
.footer-stores-banner {
    background-color: #ffed00;
    /* Cor amarela oficial */
    padding: 12px 0;
    font-family: 'Open Sans', sans-serif;
    border-bottom: 2px solid #e5d500;
    overflow: hidden;
    /* Oculta a barra de scroll */
}

/* Evita que as lojas quebrem de linha antes de o Slick ser carregado */
.stores-banner-carousel:not(.slick-initialized) {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}

.store-banner-item {
    color: #000000 !important;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap !important;
    /* Força uma única linha permanente */
    padding-right: 70px !important;
    /* Espaço entre lojas no letreiro */
    display: inline-block !important;
}

.store-banner-item .store-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.store-banner-item .store-divider {
    margin: 0 10px;
    color: #333;
    font-weight: 400;
}

.store-banner-item .store-phone {
    color: #000000 !important;
    font-weight: 700;
    transition: opacity 0.2s;
}

.store-banner-item .store-phone:hover {
    text-decoration: underline !important;
    opacity: 0.8;
}

/* --- ÍCONES SOCIAIS NO FOOTER (MAIORES E COM MAIS GAP) --- */
.social-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    /* Maior espaçamento entre os botões */
    margin-top: 15px !important;
}

.social-icons a {
    color: #555555 !important;
    /* Cor padrão cinza escuro */
    transition: color 0.3s ease, transform 0.2s ease !important;
    text-decoration: none !important;
}

.social-icons a i {
    font-size: 28px !important;
    /* Ícones maiores */
}

.social-icons a:hover {
    color: #ffed00 !important;
    /* Efeito hover em amarelo */
    transform: translateY(-3px);
    /* Pequena subida fluida */
}

/* --- DESTAQUE DE ABAS E HOVER NO RODAPÉ --- */
.footer-section-top .column-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #ffed00 !important;
    /* Sublinhado amarelo */
    padding-bottom: 6px !important;
    display: inline-block !important;
    /* Ajusta o sublinhado ao tamanho do texto */
    margin-bottom: 18px !important;
}

.footer-section-top p a {
    color: #888888 !important;
    /* Cor padrão cinza claro para os links */
    font-size: 13.5px;
    transition: color 0.2s ease !important;
}

.footer-section-top p a:hover {
    color: #ffed00 !important;
    /* Hover dos links do rodapé em amarelo */
    text-decoration: none !important;
}

/* --- COPYRIGHT BOTTOM ROW --- */
.footer-bottom .bottom-row {
    display: flex;
    justify-content: space-between;
    padding: 1.8vw 0;
    align-items: center;
    padding-bottom: 10px;
}

/* --- MENU INTERATIVO DO WHATSAPP (CANTO ESQUERDO) --- */
.whatsapp-menu-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.whatsapp-trigger-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease;
}

.whatsapp-trigger-btn img {
    height: 45px !important;
    width: auto !important;
}

.whatsapp-trigger-btn:hover {
    transform: scale(1.1);
}

.whatsapp-submenu {
    position: absolute;
    bottom: 55px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 190px;
    background-color: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #eaeaea;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.whatsapp-menu-container.active .whatsapp-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-submenu-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    padding-left: 4px;
    text-align: left;
}

.whatsapp-shop-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white !important;
    padding: 8px 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 3px 6px rgba(37, 211, 102, 0.2);
    transition: background-color 0.2s, transform 0.2s;
    text-align: left;
}

.whatsapp-shop-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

.whatsapp-shop-btn i {
    font-size: 16px;
}

/* --- BOTÃO VOLTAR AO TOPO (CANTO DIREITO) --- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #ffed00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    color: black;
    font-size: 1.2em;
    font-weight: bold;
}

.back-to-top:hover {
    transform: scale(1.1);
    background-color: #ffd800;
    text-decoration: none;
}

/* --- COMPORTAMENTO RESPONSIVO (MOBILE - ABAIXO DE 768PX) --- */
@media (max-width: 767px) {

    /* 1. WhatsApp Flutuante */
    .whatsapp-menu-container {
        bottom: 15px !important;
        left: 15px !important;
    }

    .whatsapp-trigger-btn img {
        height: 40px !important;
    }

    .whatsapp-submenu {
        bottom: 50px;
        width: 170px;
        padding: 10px;
    }

    .whatsapp-shop-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    /* 2. Botão Voltar ao Topo */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top i {
        font-size: 1em;
    }

    /* 3. Letreiro de Lojas Amarelo */
    .store-banner-item {
        font-size: 11.5px;
        padding-right: 50px !important;
    }

    .store-banner-item .store-divider {
        margin: 0 6px;
    }

    /* 4. Logótipo Principal do Rodapé (Mais pequeno e centrado) */
    .footer-section-brandName img {
        width: 140px !important;
        /* Logótipo mais pequeno */
        margin: 0 auto !important;
        display: block !important;
    }

    .footer-section-brandSlogan {
        text-align: center !important;
        margin-top: 8px !important;
    }

    /* 5. Ícones Sociais (Centrados e com Gaps adequados) */
    .social-icons {
        justify-content: center !important;
        gap: 18px !important;
        margin-top: 15px !important;
        margin-bottom: 25px !important;
    }

    .social-icons a i {
        font-size: 24px !important;
    }

    /* 6. Alinhamento de Sublinhado dos Títulos das Colunas (Apenas texto) */
    .footer-section-top .column-title {
        display: inline-block !important;
        margin-bottom: 10px !important;
    }

    /* 7. Barra de Copyright (Copyright em cima e links legais em baixo) */
    .footer-bottom .bottom-row {
        flex-direction: column !important;
        /* Força empilhamento vertical */
        gap: 15px !important;
        text-align: center !important;
        padding: 20px 0 !important;
    }

    .copyright-text p {
        font-size: 13px !important;
        text-align: center !important;
        display: block !important;
    }

    .right-block {
        display: block !important;
        width: 100% !important;
    }

    /* Empilha as páginas legais uma por linha sem traço de divisão */
    .right-block a {
        border-right: none !important;
        /* Remove o traço vertical */
        padding: 4px 0 !important;
        display: block !important;
        /* Uma por linha */
        font-size: 12px !important;
    }
}