/* Amparatto Core — Footer premium V4 (origem WPCode #7283, Ciclo 4 2026-06-01). Esconde Elementor footer #649. Rollback: remover enqueue + reativar #7283. */
/* =========================================================
   AMPARATTO - FOOTER PREMIUM GLOBAL + CHECKOUT V4
   Benchmark visual de lojas premium, departamentos,
   pagamentos, segurança e rodapé reduzido para checkout
   ========================================================= */

/* Variáveis compartilhadas */
.amp-footer-trust,.amp-footer-v1,.amp-footer-pay,.amp-footer-bottom,.amp-footer-checkout-v1{--afr:#BF1717;--afh:#BF4E4E;--afbg:#FAFAFA;--afw:#fff;--aft:#1F1F1F;--afm:#6F7280;--afb:#E5E7EB;--afph:80px}

/* Ocultar rodapé geral no carrinho e checkout */
.woocommerce-cart .amp-footer-trust,.woocommerce-cart .amp-footer-v1,.woocommerce-cart .amp-footer-pay,.woocommerce-cart .amp-footer-bottom,.woocommerce-checkout .amp-footer-trust,.woocommerce-checkout .amp-footer-v1,.woocommerce-checkout .amp-footer-pay,.woocommerce-checkout .amp-footer-bottom{display:none!important}

/* Ocultar Elementor footer #649 no carrinho e checkout */
.woocommerce-cart [data-elementor-type="footer"],.woocommerce-checkout [data-elementor-type="footer"]{display:none!important}

/* === CORREÇÃO REVERSÍVEL: oculta o rodapé antigo Elementor #649 ===
   Seletor específico data-elementor-id="649" — afeta SOMENTE este template.
   O Rodapé V4 (.amp-footer-v1 / .amp-footer-trust) NÃO é afetado.
   Para reativar o rodapé antigo: remova este bloco inteiro. */
[data-elementor-id="649"]{display:none!important}

/* === FAIXA DE CONFIANÇA PREMIUM V4 === */
.amp-footer-trust{background:#fff;border-top:1px solid var(--afb);border-bottom:1px solid var(--afb);padding:20px var(--afph)}
.amp-footer-trust__grid{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.amp-footer-trust__item{flex:1 1 140px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--afb);border-radius:8px;padding:12px 14px;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:border-color .2s,box-shadow .2s}
.amp-footer-trust__item:hover{border-color:var(--afr);box-shadow:0 2px 8px rgba(191,23,23,.08)}
.amp-footer-trust__icon{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff5f5;border-radius:8px;color:var(--afr);font-size:17px}
.amp-footer-trust__text strong{display:block;font-size:12.5px;font-weight:700;color:var(--aft);line-height:1.2}
.amp-footer-trust__text span{display:block;font-size:11px;color:var(--afm);line-height:1.3;margin-top:2px}

/* === CORPO DO RODAPÉ GERAL V4 === */
.amp-footer-v1{background:var(--afbg);border-top:3px solid var(--afr);padding:48px var(--afph) 40px}
.amp-footer-v1__grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1.2fr;gap:36px;align-items:start}
.amp-footer-v1__logo-card{background:var(--afr);border-radius:8px;padding:14px 20px;display:inline-block;margin-bottom:14px}
.amp-footer-v1__logo-card img{max-height:40px;width:auto;display:block}
.amp-footer-v1__tagline{font-size:13px;color:var(--afm);line-height:1.6;margin:0 0 18px;max-width:190px}
.amp-footer-v1__social{display:flex;gap:8px}
.amp-footer-v1__social a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1.5px solid var(--afb);color:var(--afm);font-size:15px;text-decoration:none;transition:color .2s,border-color .2s,background .2s}
.amp-footer-v1__social a:hover{color:var(--afr);border-color:var(--afr);background:#fff5f5}
.amp-footer-v1__col-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--aft);margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid var(--afr);display:block}
.amp-footer-v1__links{list-style:none;margin:0;padding:0}
.amp-footer-v1__links li{margin-bottom:7px}
.amp-footer-v1__links a{font-size:13px;color:var(--afm);text-decoration:none;transition:color .2s,padding-left .2s;display:inline-block}
.amp-footer-v1__links a:hover{color:var(--afr);padding-left:4px}
.amp-footer-v1__contact-item{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}
.amp-footer-v1__contact-item i{color:var(--afr);font-size:13px;margin-top:2px;flex-shrink:0;width:14px}
.amp-footer-v1__contact-item .afc-body a{color:var(--afm);text-decoration:none;transition:color .2s}
.amp-footer-v1__contact-item .afc-body a:hover{color:var(--afr)}
.amp-footer-v1__contact-item .afc-body strong{display:block;color:var(--aft);font-weight:600;font-size:12px;margin-bottom:1px}
.amp-footer-v1__contact-item .afc-body span,.amp-footer-v1__contact-item .afc-body a{font-size:12.5px;color:var(--afm);line-height:1.5}
.amp-footer-v1__inst{margin-top:14px;padding-top:12px;border-top:1px solid var(--afb);list-style:none;padding-left:0;margin-bottom:0}
.amp-footer-v1__inst li{margin-bottom:6px}
.amp-footer-v1__inst a{font-size:12px;color:var(--afm);text-decoration:none;transition:color .2s}
.amp-footer-v1__inst a:hover{color:var(--afr)}

/* === FAIXA DE PAGAMENTO V4 === */
.amp-footer-pay{background:#fff;border-top:1px solid var(--afb);padding:16px var(--afph);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.amp-footer-pay__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--aft);white-space:nowrap}
.amp-footer-pay__group{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.amp-footer-pay__sec{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.amp-footer-pay__sec span{font-size:12px;color:var(--afm);display:flex;align-items:center;gap:4px;white-space:nowrap}
.amp-footer-pay__sec .amp-ok i{color:#22C55E}
.amp-footer-pay__sec .amp-pm i{color:var(--afr)}
/* badge pagamento v2 */
.amp-pay-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.1);overflow:hidden;line-height:0;flex-shrink:0}
.amp-pay-badge svg{display:block;height:28px;width:auto}
.amp-footer-pay__group{gap:7px !important}
.amp-checkout-footer-payments__icons{display:flex;align-items:center;gap:7px;flex-wrap:wrap}

/* === BARRA INFERIOR V4 === */
.amp-footer-bottom{background:#fff;border-top:1px solid var(--afb);padding:13px var(--afph);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.amp-footer-bottom__copy{font-size:12px;color:var(--afm)}
.amp-footer-bottom__nav{display:flex;gap:14px;flex-wrap:wrap}
.amp-footer-bottom__nav a{font-size:12px;color:var(--afm);text-decoration:none;transition:color .2s}
.amp-footer-bottom__nav a:hover{color:var(--afr)}

/* === RODAPÉ COMPACTO CARRINHO/CHECKOUT V4 === */
.amp-footer-checkout-v1{background:#fff;border-top:3px solid var(--afr);padding:28px var(--afph);text-align:center}
.amp-footer-checkout-v1__logo{display:inline-block;background:var(--afr);border-radius:6px;padding:8px 18px;margin-bottom:18px}
.amp-footer-checkout-v1__logo img{max-height:32px;width:auto;display:block}
.amp-footer-checkout-v1__pay{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.amp-footer-checkout-v1__sec{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.amp-footer-checkout-v1__sec span{font-size:12px;color:var(--afm);display:flex;align-items:center;gap:4px}
.amp-footer-checkout-v1__sec span i{color:#22C55E;font-size:13px}
.amp-footer-checkout-v1__copy{font-size:11px;color:#9CA3AF;margin:0}

/* === RESPONSIVIDADE === */
@media(max-width:1200px){
.amp-footer-trust,.amp-footer-v1,.amp-footer-pay,.amp-footer-bottom,.amp-footer-checkout-v1{--afph:40px}
.amp-footer-v1__grid{grid-template-columns:1fr 1fr 1fr;gap:28px}
}
@media(max-width:900px){
.amp-footer-trust,.amp-footer-v1,.amp-footer-pay,.amp-footer-bottom,.amp-footer-checkout-v1{--afph:24px}
.amp-footer-v1__grid{grid-template-columns:1fr 1fr;gap:22px}
.amp-footer-trust__item{flex:1 1 calc(50% - 5px)}
}
@media(max-width:600px){
.amp-footer-trust,.amp-footer-v1,.amp-footer-pay,.amp-footer-bottom,.amp-footer-checkout-v1{--afph:16px}
.amp-footer-v1__grid{grid-template-columns:1fr}
.amp-footer-trust__item{flex:1 1 100%}
.amp-footer-pay{flex-direction:column;align-items:flex-start}
.amp-footer-bottom{flex-direction:column;text-align:center}
.amp-footer-checkout-v1{padding:20px 16px}
}

/* ============================================================
   AMPARATTO — RODAPÉ PREMIUM CHECKOUT V5
   Classes: amp-checkout-footer-*
   Afeta SOMENTE páginas com .woocommerce-checkout / .woocommerce-cart
   Não afeta home, produto, categoria ou rodapé geral
   ============================================================ */

/* Wrapper principal */
.amp-checkout-footer-premium{background:#fff;border-top:3px solid #BF1717;font-family:inherit}

/* Bloco 1 — Faixa de segurança */
.amp-checkout-footer-security-strip{background:#FAFAFA;border-bottom:1px solid #E5E7EB;padding:20px 40px}
.amp-checkout-footer-trust-grid{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;max-width:960px;margin:0 auto}
.amp-checkout-footer-trust-card{flex:1 1 160px;max-width:192px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #E5E7EB;border-radius:8px;padding:10px 12px;box-shadow:0 1px 3px rgba(0,0,0,.04);transition:border-color .2s}
.amp-checkout-footer-trust-card:hover{border-color:#BF1717}
.amp-checkout-footer-trust-icon{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fff5f5;border-radius:6px;color:#BF1717;font-size:15px}
.amp-checkout-footer-trust-text strong{display:block;font-size:11.5px;font-weight:700;color:#1F1F1F;line-height:1.2}
.amp-checkout-footer-trust-text span{display:block;font-size:10.5px;color:#6F7280;line-height:1.3;margin-top:1px}

/* Bloco 2 — Logo */
.amp-checkout-footer-logo{text-align:center;padding:24px 40px 16px;border-bottom:1px solid #E5E7EB}
.amp-checkout-footer-logo a{display:inline-block;background:#BF1717;border-radius:6px;padding:8px 18px;margin-bottom:12px;text-decoration:none}
.amp-checkout-footer-logo img{display:block;max-height:32px;width:auto}
.amp-checkout-footer-logo__tagline{font-size:13px;color:#6F7280;margin:0 0 4px}
.amp-checkout-footer-logo__cnpj{font-size:11px;color:#9CA3AF;margin:0}

/* Bloco 3+4 — Mid (2 colunas) */
.amp-checkout-footer-mid{display:flex;border-bottom:1px solid #E5E7EB}

/* Bloco 3 — Pagamentos */
.amp-checkout-footer-payments{flex:1;padding:24px 40px;border-right:1px solid #E5E7EB;text-align:center}
.amp-checkout-footer-payments__title{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:#1F1F1F;margin-bottom:12px}
.amp-checkout-footer-payments__icons{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.amp-checkout-footer-payments__note{font-size:11px;color:#9CA3AF;margin:0}

/* Bloco 4 — Suporte */
.amp-checkout-footer-support{flex:1;padding:24px 40px;text-align:center}
.amp-checkout-footer-support__title{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:#1F1F1F;margin-bottom:6px}
.amp-checkout-footer-support__sub{font-size:12px;color:#6F7280;margin:0 0 12px}
.amp-checkout-footer-support__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:7px}
.amp-checkout-footer-support__list li{display:flex;align-items:center;gap:7px;font-size:12.5px;color:#6F7280}
.amp-checkout-footer-support__list li i{color:#BF1717;width:14px;text-align:center;flex-shrink:0}
.amp-checkout-footer-support__list a{color:#6F7280;text-decoration:none;transition:color .2s}
.amp-checkout-footer-support__list a:hover{color:#BF1717}

/* Bloco 5 — Legal */
.amp-checkout-footer-legal{padding:14px 40px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;background:#FAFAFA;border-top:1px solid #E5E7EB}
.amp-checkout-footer-links{display:flex;gap:16px;flex-wrap:wrap}
.amp-checkout-footer-links a{font-size:12px;color:#6F7280;text-decoration:none;transition:color .2s}
.amp-checkout-footer-links a:hover{color:#BF1717}
.amp-checkout-footer-legal__copy{font-size:11px;color:#9CA3AF;margin:0}

/* Responsividade — tablet */
@media(max-width:900px){
.amp-checkout-footer-security-strip{padding:16px 24px}
.amp-checkout-footer-trust-card{max-width:none}
.amp-checkout-footer-logo{padding:20px 24px 14px}
.amp-checkout-footer-mid{flex-direction:column}
.amp-checkout-footer-payments{border-right:none;border-bottom:1px solid #E5E7EB;padding:20px 24px}
.amp-checkout-footer-support{padding:20px 24px}
.amp-checkout-footer-legal{padding:14px 24px;flex-direction:column;align-items:center;text-align:center}
}

/* Responsividade — mobile */
@media(max-width:600px){
.amp-checkout-footer-security-strip{padding:14px 16px}
.amp-checkout-footer-trust-grid{gap:8px}
.amp-checkout-footer-trust-card{flex:1 1 calc(50% - 4px);max-width:none}
.amp-checkout-footer-logo{padding:18px 16px 12px}
.amp-checkout-footer-payments{padding:18px 16px}
.amp-checkout-footer-support{padding:18px 16px}
.amp-checkout-footer-legal{padding:12px 16px}
.amp-checkout-footer-links{justify-content:center}
}

/* P2 2026-06-02 — area de toque >=44px nos links de lista do rodape (mobile) */
@media(max-width:600px){
.amp-footer-v1__links a,.amp-footer-v1__inst a{display:block;padding:12px 0;line-height:20px}
.amp-footer-v1__links li,.amp-footer-v1__inst li{margin-bottom:0}
}

/* P2b 2026-06-02 — titulo de categoria do rodape clicavel (Feminino/Masculino/Infantil) */
a.amp-footer-v1__col-title{text-decoration:none;cursor:pointer;transition:color .2s}
a.amp-footer-v1__col-title:hover{color:var(--afr)}
