/*
Theme Name: MAXTEM V5 Child
Theme URI: https://maxtem.com.br
Description: Child theme do MAXTEM V5 — personalizações sem perder em atualizações.
Author: MAXTEM
Template: maxtem-theme-v5
Version: 5.0.2
Text Domain: maxtem-child
*/

/* Garante menu WP com classes V4 */
.maxtem-nav .nav-menu > li > a { color: #fff; }

/* Área do cliente no mobile */
.mobile-account-link {
    display: block;
    margin: 16px 0 8px;
    color: #fff;
    text-align: center;
    font-weight: 600;
}


/* Banner sem sombra/overlay escuro */
.hero-overlay,
.mtv-hero .hero-overlay {
    background: none !important;
}


/* MaxTem TV: menu igual loja + sem sombra no banner */
body.maxtem-tv .maxtem-nav .nav-menu { justify-content: center; width: 100%; }
body.maxtem-tv .maxtem-nav .nav-item { flex: 1 1 auto; text-align: center; }
body.maxtem-tv .maxtem-nav .nav-link { justify-content: center; width: 100%; }
.hero-overlay { background: none !important; opacity: 0 !important; display: none !important; }

/* Loja: banner sem sombra e sem textos */
.hero-overlay { display: none !important; background: none !important; }
body:not(.maxtem-tv) .maxtem-hero .hero-title,
body:not(.maxtem-tv) .maxtem-hero .hero-desc { display: none !important; }
body:not(.maxtem-tv) .maxtem-hero .btn-hero { display: none !important; }
.maxtem-float-wa, .whatsapp-float { display: flex !important; z-index: 9999 !important; }

/* MaxTem TV: menu não acompanha a rolagem */
body.maxtem-tv .maxtem-nav {
    position: relative !important;
    top: auto !important;
}

/* Mobile: sem faixa branca lateral */
html, body { overflow-x: hidden !important; width: 100% !important; max-width: 100% !important; }
@media (max-width: 992px) {
  .container, .header-inner, .maxtem-hero, .hero-swiper, .swiper-slide { max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; }
  .header-search { flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important; }
}
