/* Faoro Joias 0.7.228 — ícones uniformes do cabeçalho.
 * Escopo exclusivo: shortcodes do plugin e atalhos do menu responsivo.
 * Não altera botões comuns, imagens de produto, nem elementos do Elementor Pro.
 */

/* Mesmo tamanho de área clicável do ícone [vendeja_favoritos_icone]. */
.vj-cart-launcher > .vj-cart-icon-button,
.vj-account-icon-wrap > .vj-account-icon-button {
  box-sizing:border-box!important;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 43px!important;
  width:43px!important;
  min-width:43px!important;
  max-width:43px!important;
  height:43px!important;
  min-height:43px!important;
  max-height:43px!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  color:#0b7049!important;
  line-height:1!important;
  vertical-align:middle!important;
  cursor:pointer!important;
  transform:none!important;
  transition:color .15s ease!important;
}
.vj-cart-launcher > .vj-cart-icon-button:hover,
.vj-cart-launcher > .vj-cart-icon-button:focus-visible,
.vj-account-icon-wrap > .vj-account-icon-button:hover,
.vj-account-icon-wrap > .vj-account-icon-button:focus-visible {
  color:#064e3b!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none!important;
}
.vj-cart-launcher > .vj-cart-icon-button:focus-visible,
.vj-account-icon-wrap > .vj-account-icon-button:focus-visible {
  outline:2px solid #117c4f!important;
  outline-offset:1px!important;
}
.vj-cart-icon-button .vj-cart-icon-glyph,
.vj-account-icon-button .vj-account-icon-glyph {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  font-size:22px!important;
  line-height:1!important;
  color:inherit!important;
}
.vj-cart-icon-button .vj-cart-icon-glyph .bi,
.vj-account-icon-button .vj-account-icon-glyph .bi,
.vj-cart-icon-button .vj-cart-icon-glyph .bi::before,
.vj-account-icon-button .vj-account-icon-glyph .bi::before {
  font-size:22px!important;
  line-height:1!important;
  color:inherit!important;
}
/* Mesma apresentação do Favoritos: só o glifo, sem nome nem ponto decorativo. */
.vj-cart-launcher .vj-cart-icon-label,
.vj-account-icon-wrap .vj-account-icon-label,
.vj-account-icon-wrap .vj-account-status-dot { display:none!important; }
.vj-account-icon-wrap.is-guest .vj-account-icon-glyph { color:inherit!important; }

/* Contador compacto — só aparece com itens no carrinho. */
.vj-cart-launcher .vj-cart-icon-count {
  position:absolute!important;
  z-index:1!important;
  top:0!important;
  right:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:17px!important;
  width:auto!important;
  height:17px!important;
  padding:0 4px!important;
  border:1.5px solid #fff!important;
  border-radius:99px!important;
  background:#117c4f!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  font:700 10px/1 'Poppins',Arial,sans-serif!important;
  color:#fff!important;
  pointer-events:none!important;
}
.vj-cart-launcher .vj-cart-icon-count.is-empty,
.vj-cart-launcher .vj-cart-icon-count[hidden] { display:none!important; }

@media(max-width:1024px) {
  /* Ícones rápidos da barra verde: mesmo tamanho e sem círculos. */
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-action {
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 43px!important;
    width:43px!important;
    min-width:43px!important;
    max-width:43px!important;
    height:43px!important;
    min-height:43px!important;
    max-height:43px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
    /* Branco na barra verde-escura para garantir contraste. */
    color:#fff!important;
  }
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-action:hover,
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-action:focus-visible {
    color:#e4f8eb!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-action svg {
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
    stroke:currentColor!important;
  }
  /* Bolinha de quantidade proporcional ao coração dos Favoritos. */
  .vj-mobile-has-actions > .vj-mobile-nav-actions .vj-mobile-nav-count {
    top:0!important;
    right:0!important;
    display:flex!important;
    min-width:17px!important;
    height:17px!important;
    padding:0 4px!important;
    border:1px solid #fff!important;
    border-radius:99px!important;
    background:#117c4f!important;
    color:#fff!important;
    box-shadow:none!important;
    font:700 10px/1 'Poppins',Arial,sans-serif!important;
  }
  .vj-mobile-has-actions > .vj-mobile-nav-actions .vj-mobile-nav-count.is-empty,
  .vj-mobile-has-actions > .vj-mobile-nav-actions .vj-mobile-nav-count[hidden] {display:none!important;}
}
@media(max-width:380px) {
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-action {
    flex-basis:38px!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:43px!important;
  }
}

/* 0.7.228 — Favoritos disponível na mesma barra responsiva dos outros ícones.
 * Não oculta os atalhos; apenas os organiza e equaliza o contador. */
@media (max-width:1024px) {
  .vj-mobile-has-actions > .vj-mobile-nav-actions {
    gap:1px!important;
  }
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-favorite {
    display:inline-flex!important;
  }
  .vj-mobile-has-actions > .vj-mobile-nav-actions .vj-mobile-favorite-count[hidden] {
    display:none!important;
  }
}
@media (max-width:380px) {
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-action {
    flex:0 0 37px!important;
    width:37px!important;
    min-width:37px!important;
    max-width:37px!important;
    height:43px!important;
    min-height:43px!important;
  }
  .vj-mobile-has-actions > .vj-mobile-nav-actions > .vj-mobile-nav-action svg {
    width:21px!important;
    height:21px!important;
    flex-basis:21px!important;
  }
}
