/**
 * AxionPass Core — Public Typography Shield
 * Version: 1.39.0-beta3.2.1.35.12.124.15.29
 *
 * Camada tipográfica pública, escopada em classes AxionPass.
 * Objetivo: impedir herança acidental de fontes do tema, WordPress e Elementor
 * sem alterar layout, cores ou regras comerciais dos módulos.
 */

:root{
  /* v0.7.97 — 'AxionPassInter' e o arquivo auto-hospedado do plugin
     (assets/fonts/inter/, variavel 100-900). O 'Inter' solto logo atras
     cobre o caso do site do cliente ja carregar a fonte por conta propria.
     Antes a pilha comecava no 'Inter' solto e o plugin nunca carregava
     arquivo nenhum: a tipografia dependia do tema do cliente. */
  --axp-font-sans:'AxionPassInter',Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --axp-font-body:var(--axp-font-sans);
  --axp-font-heading:var(--axp-font-sans);
  --axp-font-button:var(--axp-font-sans);
  --axp-font-price:var(--axp-font-sans);
  --axp-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  --axp-public-font-body:var(--axp-font-body);
  --axp-public-font-heading:var(--axp-font-heading);
  --axp-public-font-button:var(--axp-font-button);
  --axp-public-font-price:var(--axp-font-price);
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axp-client-section-bg,
  .axp-client-bg,
  .axp-client-bg-soft,
  .axp-client-bg-gradient,
  .axp-client-card,
  .axp-client-card-section,
  .axp-client-checkout-header,
  .axionpass-auth,
  .axionpass-customer-auth,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-reset-password,
  .axionpass-checkout,
  .axionpass-buy-v3,
  .axp-buy-card,
  .axp-products-v2-public-card,
  .axp-products-v2-engine,
  .axp-checkout-gatekeeper-shell,
  .axp-customer-area-gatekeeper-shell,
  .axp-legal-document,
  .axionpass-legal-document
){
  --axp-public-typeface:var(--axp-public-font-body,var(--axp-font-body,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif));
  --axp-public-typeface-heading:var(--axp-public-font-heading,var(--axp-font-heading,var(--axp-public-typeface)));
  --axp-public-typeface-button:var(--axp-public-font-button,var(--axp-font-button,var(--axp-public-typeface)));
  --axp-public-typeface-price:var(--axp-public-font-price,var(--axp-font-price,var(--axp-public-typeface-heading)));
  font-family:var(--axp-public-typeface)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;

  /*
   * v0.7.97 — Linha de base de heranca.
   *
   * O escudo protegia apenas `font-family`. Peso, espacamento, caixa e
   * tamanho continuavam sendo herdados do `body` do tema/Elementor por
   * qualquer elemento do painel que nao declarasse o proprio valor — e
   * ha muitos (rotulos de KPI, textos auxiliares, itens de acao rapida).
   * Era a origem do "ficou tudo mais negrito" ao migrar de cliente.
   *
   * Declarar aqui, na raiz do escopo, e seguro: heranca sempre perde
   * para uma declaracao feita no proprio elemento, com ou sem
   * !important. Ou seja, as 1620 declaracoes de peso que os modulos ja
   * fazem continuam valendo exatamente como antes. Muda so o que antes
   * nao tinha dono e caia no tema.
   */
  font-weight:400!important;
  font-style:normal!important;
  font-size:16px!important;
  line-height:1.5!important;
  letter-spacing:normal!important;
  word-spacing:normal!important;
  text-transform:none!important;
  font-variant:normal!important;
  font-feature-settings:normal!important;
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axp-client-section-bg,
  .axp-client-bg,
  .axp-client-bg-soft,
  .axp-client-bg-gradient,
  .axp-client-card,
  .axp-client-card-section,
  .axp-client-checkout-header,
  .axionpass-auth,
  .axionpass-customer-auth,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-reset-password,
  .axionpass-checkout,
  .axionpass-buy-v3,
  .axp-buy-card,
  .axp-products-v2-public-card,
  .axp-products-v2-engine,
  .axp-checkout-gatekeeper-shell,
  .axp-customer-area-gatekeeper-shell,
  .axp-legal-document,
  .axionpass-legal-document
) :where(a,p,span,strong,small,em,b,i,li,dt,dd,label,legend,summary,blockquote,figcaption,th,td,div,section,article,aside,header,footer,nav,form,fieldset,input,select,textarea,button){
  font-family:var(--axp-public-typeface)!important;
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axp-client-section-bg,
  .axp-client-bg,
  .axp-client-bg-soft,
  .axp-client-bg-gradient,
  .axp-client-card,
  .axp-client-card-section,
  .axp-client-checkout-header,
  .axionpass-auth,
  .axionpass-customer-auth,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-reset-password,
  .axionpass-checkout,
  .axionpass-buy-v3,
  .axp-buy-card,
  .axp-products-v2-public-card,
  .axp-products-v2-engine,
  .axp-checkout-gatekeeper-shell,
  .axp-customer-area-gatekeeper-shell,
  .axp-legal-document,
  .axionpass-legal-document
) :where(h1,h2,h3,h4,h5,h6,.elementor-heading-title,.axp-client-title,.axp-client-heading,.axp-buy-title,.axp-product-card-v2__title,.axp-products-v2-engine__title,.axp-legal-document__title){
  font-family:var(--axp-public-typeface-heading)!important;
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axp-client-section-bg,
  .axp-client-bg,
  .axp-client-bg-soft,
  .axp-client-bg-gradient,
  .axp-client-card,
  .axp-client-card-section,
  .axp-client-checkout-header,
  .axionpass-auth,
  .axionpass-customer-auth,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-reset-password,
  .axionpass-checkout,
  .axionpass-buy-v3,
  .axp-buy-card,
  .axp-products-v2-public-card,
  .axp-products-v2-engine,
  .axp-checkout-gatekeeper-shell,
  .axp-customer-area-gatekeeper-shell,
  .axp-legal-document,
  .axionpass-legal-document
) :where(button,input[type="button"],input[type="submit"],input[type="reset"],.button,.btn,.axp-client-btn,.axp-client-btn-primary,.axp-client-btn-secondary,.axp-client-btn-ghost,.axp-buy-btn,.axp-buy-btn-primary,.axp-products-v2-engine__btn,.axp-product-card-v2__button){
  font-family:var(--axp-public-typeface-button)!important;
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axp-client-section-bg,
  .axp-client-bg,
  .axp-client-bg-soft,
  .axp-client-bg-gradient,
  .axp-client-card,
  .axp-client-card-section,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-checkout,
  .axionpass-buy-v3,
  .axp-buy-card,
  .axp-products-v2-public-card,
  .axp-products-v2-engine
) :where(.price,.amount,.woocommerce-Price-amount,.axp-price,.axp-buy-price,.axp-product-card-v2__price,.axp-product-card-v2__price-current,.axp-products-v2-engine__total-value){
  font-family:var(--axp-public-typeface-price)!important;
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-checkout,
  .axp-products-v2-public-card,
  .axp-products-v2-engine,
  .axp-legal-document,
  .axionpass-legal-document
) :where(code,kbd,samp,pre,.axp-code,.axp-copy-code){
  font-family:var(--axp-font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace)!important;
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-checkout,
  .axp-products-v2-public-card,
  .axp-products-v2-engine
) :where(.dashicons,.dashicons-before::before,[class^="dashicons-"],[class*=" dashicons-"]){
  font-family:dashicons!important;
}

:is(
  .axionpass-public,
  .axp-public,
  .axp-client-page,
  .axp-client-shell,
  .axionpass-customer-account,
  .axionpass-validate-voucher,
  .axionpass-voucher-client,
  .axionpass-checkout,
  .axp-products-v2-public-card,
  .axp-products-v2-engine
) :where(.material-icons,.material-icons-outlined,.material-symbols-outlined,.material-symbols-rounded,.material-symbols-sharp){
  font-family:"Material Symbols Outlined"!important;
}

/* ==========================================================================
   A CAMADA DE DEFESA DAS TELAS PUBLICAS (1.4.1.6)
   ==========================================================================

   As telas publicas do plugin — checkout, voucher, area do cliente, portal do
   parceiro — rodam dentro do site do estabelecimento, sem a casca do painel. O
   reset do Hello Elementor e o kit do Elementor pegam todo botao, link e campo
   delas.

   Esta folha ja existia para a MESMA familia de problema (a fonte do tema
   vazando para dentro do plugin). O que entra aqui e a outra metade: cor, borda
   e caixa.

   **ELA SO FALA DO QUE NAO TEM CLASSE DO PLUGIN.** Elemento com classe e
   desenhado pelo componente dele; atropela-lo seria trocar um defeito por outro.
   Os componentes que a varredura achou perdendo foram elevados nas folhas deles.
   ========================================================================== */

:is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal):is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal) a:not([class*="axp"]):not([class*="axionpass"]),
:is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal):is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal) a:not([class*="axp"]):not([class*="axionpass"]):is(:hover, :focus, :focus-visible, :active) {
    color: var(--axp-public-accent, var(--axp-panel-primary, #1f3a5f));
    background-color: transparent;
}

:is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal):is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal) :is(button, [type=button], [type=submit]):not([class*="axp"]):not([class*="axionpass"]),
:is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal):is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal) :is(button, [type=button], [type=submit]):not([class*="axp"]):not([class*="axionpass"]):is(:hover, :focus, :focus-visible, :active, :disabled) {
    background-color: transparent;
    color: inherit;
    border: 0;
    border-radius: 0;
    padding: 0;
    font: inherit;
    text-align: inherit;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
}

/* A caixa alta e o espacamento de letra do kit nao valem para nenhum botao do
   plugin, com classe ou sem. Nenhuma das tres mexe em cor. */
:is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal):is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal) :is(button, [type=button], [type=submit], a),
:is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal):is(.axp-checkout-shell, .axp-checkout-empty-stage, .axionpass-vouchers-list, .axp-customer-account, .axionpass-partner-portal) :is(button, [type=button], [type=submit], a):is(:hover, :focus, :focus-visible, :active, :disabled) {
    text-transform: none;
    letter-spacing: normal;
}
