/* Maxtec Visual Grupo Amigaço 0.3.0: base (tipografia, foco, botões, campos). Tudo sob body.mxv. */
body.mxv :is(.woocommerce,.woocommerce-page,.mxv-tc,.mxv-duo){font-family:var(--mxv-f-texto);color:var(--mxv-texto);line-height:1.55}
body.mxv :is(.woocommerce,.woocommerce-page,.mxv-tc,.mxv-duo) :is(h1,h2,h3){font-family:var(--mxv-f-titulo);font-weight:700;line-height:1.1}
body.mxv :is(.woocommerce,.woocommerce-page,.mxv-tc) a:not(.button):not(.mxv-btn){color:var(--mxv-acento)}
body.mxv :is(.woocommerce,.woocommerce-page,.mxv-tc) a:not(.button):not(.mxv-btn):hover{color:var(--mxv-acento-esc)}
/* Foco visível para teclado */
body.mxv a:focus-visible,body.mxv button:focus-visible,body.mxv input:focus-visible,body.mxv select:focus-visible,body.mxv textarea:focus-visible{outline:3px solid var(--mxv-agua);outline-offset:2px}
/* Sem rolagem lateral causada por imagens */
body.mxv img{max-width:100%;height:auto}

/* Botões. Só a classe própria (.mxv-btn) e os botões do WooCommerce dentro de .woocommerce.
   Não toca em botões do WPBakery (.vc_btn3), Slider Revolution, Contact Form 7, WhatsApp flutuante
   nem em classes dos plugins Maxtec (mx-, mxs-, mxr-). */
body.mxv .mxv-btn,
body.mxv :is(.woocommerce,.woocommerce-page) :is(a.button,button.button,input[type=submit].button,input.button):not([class*="mx-"]):not([class*="mxs-"]):not([class*="mxr-"]):not(.vc_btn3){
  display:inline-flex;align-items:center;justify-content:center;gap:var(--mxv-e1);
  min-height:var(--mxv-toque);padding:10px 20px;border:2px solid transparent;border-radius:2px;
  font:600 .95rem var(--mxv-f-texto);letter-spacing:.04em;text-transform:uppercase;text-decoration:none;
  background:var(--mxv-acento);color:#fff;cursor:pointer;
}
body.mxv .mxv-btn:hover,
body.mxv :is(.woocommerce,.woocommerce-page) :is(a.button,button.button,input.button):not([class*="mx-"]):not([class*="mxs-"]):not([class*="mxr-"]):not(.vc_btn3):hover{background:var(--mxv-acento-esc);color:#fff}
body.mxv .mxv-btn--amigaco{background:var(--mxv-verde)}
body.mxv .mxv-btn--amigaco:hover{background:var(--mxv-verde-esc)}
body.mxv .mxv-btn--elavlimp{background:var(--mxv-azul)}
body.mxv .mxv-btn--elavlimp:hover{background:var(--mxv-azul-esc)}
/* Laranja: só ações de compra, com texto escuro (branco falha no contraste) */
body.mxv .mxv-btn--compra,
body.mxv :is(.woocommerce,.woocommerce-page) :is(.single_add_to_cart_button,.checkout-button,.button.alt):not([class*="mx-"]){background:var(--mxv-laranja);color:var(--mxv-sobre-laranja)}
body.mxv .mxv-btn--compra:hover,
body.mxv :is(.woocommerce,.woocommerce-page) :is(.single_add_to_cart_button,.checkout-button,.button.alt):not([class*="mx-"]):hover{background:#E0661A;color:var(--mxv-sobre-laranja)}
body.mxv .mxv-btn--contorno{background:transparent;color:var(--mxv-texto);border-color:var(--mxv-texto)}
body.mxv .mxv-btn--contorno:hover{background:var(--mxv-texto);color:#fff}

/* Campos de formulário */
body.mxv :is(.woocommerce,.woocommerce-page,.mxv-tc) :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=search],input[type=number],select,textarea){
  min-height:var(--mxv-toque);padding:10px 12px;border:1.5px solid var(--mxv-suave);border-radius:2px;
  background:var(--mxv-papel);color:var(--mxv-texto);font:inherit;max-width:100%;
}
body.mxv :is(.woocommerce,.woocommerce-page,.mxv-tc) label{font-weight:600}

/* Mensagens */
body.mxv .woocommerce-message{border-top-color:var(--mxv-ok)}
body.mxv .woocommerce-error{border-top-color:var(--mxv-erro)}
body.mxv .woocommerce-info{border-top-color:var(--mxv-azul)}

@media (prefers-reduced-motion:reduce){body.mxv *{animation:none!important;transition:none!important}}
