/* AVANCI BRASIL — CSS COMPLETO CORRIGIDO */

:root {
  --cor_primaria: #001781;
  --cor_secundaria: #2846c8;
  --cor_botao: #fdcf00;
  --cor_botao_hover: #fadc64;
  --cor_texto_botao: #102341;
  --cor_texto_botao_hover: #102341;
  --cor_botao_comprar: #fdcf00;
  --pre_cabecalho: #000000;
  --cor_texto_pre_cabecalho: #ffffff;
  --cor_cabecalho: #ffffff;
  --cor_icones: #001781;
  --cor_icones_hover: #001464;
  --cor_texto_icones: #001781;
  --cor_menu: #001781;
  --cor_texto_menu: #ffffff;
  --cor_newsletter: #001781;
  --cor_texto_newsletter: #ffffff;
  --cor_footer: #ffffff;
  --cor_texto_footer: #333333;
  --texto_global: #333333;
  --texto_background: #ffffff;
  --cor_tag_frete_gratis: #ffffff;
}

/* PREÇO ATUAL: SEM RISCO */

body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.preco-produto strong.preco-venda,
body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.preco-produto .preco-promocional {
  font-size: 20px !important;
  color: #001781 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* PREÇO ANTERIOR: COM RISCO */

body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.preco-produto s.preco-venda,
body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.preco-produto del.preco-venda {
  font-size: 14px !important;
  color: #767676 !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
}

/* PIX NATIVO DA PLATAFORMA */

body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.preco-produto .desconto-a-vista {
  display: block !important;
  color: #ff0000 !important;
  font-weight: 700 !important;
  line-height: 1.3;
}

body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.produto .preco-produto .desconto-a-vista {
  font-size: 34px !important;
}

body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.listagem .preco-produto .desconto-a-vista {
  font-size: 20px !important;
}

body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.preco-produto .desconto-a-vista .cor-principal {
  color: inherit !important;
  font-size: inherit !important;
}

/* Priorizar o aviso nativo quando os dois componentes existem */

body:where(:not(.carrinho-checkout):not(.pagina-checkout))
.preco-produto:has(.desconto-a-vista) .price-pix {
  display: none !important;
}

/* DESCRIÇÃO DE CATEGORIA NO MOBILE */

@media (max-width: 767px) {
  .categoria-descricao,
  .category-description,
  .descricao-categoria {
    display: none !important;
  }
}

/* RASTREIO */

#formRastreio,
#modalRastreio {
  display: none !important;
}

/* CHECKOUT */

body.carrinho-checkout {
  background: #f0f8f7;
  color: #171721;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

body.carrinho-checkout .conteiner-principal,
body.carrinho-checkout #corpo {
  background: transparent;
  background-image: none;
}

body.carrinho-checkout #corpo .titulo,
body.carrinho-checkout #corpo input,
body.carrinho-checkout #corpo select,
body.carrinho-checkout #corpo textarea,
body.carrinho-checkout #corpo button,
body.carrinho-checkout #corpo .botao,
body.carrinho-checkout #corpo label {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

body.carrinho-checkout #corpo a {
  color: #018186;
}

body.carrinho-checkout #corpo > .conteiner {
  box-sizing: border-box;
  max-width: 1240px;
  background: transparent;
  box-shadow: none;
  padding: 24px;
}

body.carrinho-checkout #corpo .caixa-sombreada {
  box-sizing: border-box;
  background: #ffffff;
  color: #171721;
  border: 1px solid #dadadb;
  border-radius: 28px;
  box-shadow: 0 14px 35px rgba(0, 35, 38, .16);
  padding: 28px;
  margin-bottom: 22px;
}

body.carrinho-checkout #formularioCheckout fieldset {
  min-width: 0;
}

body.carrinho-checkout #formularioCheckout legend {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #171721;
  border: 0;
  margin-bottom: 20px;
  white-space: normal;
}

body.carrinho-checkout #formularioCheckout legend a {
  font-size: inherit;
  color: #018186;
}

body.carrinho-checkout #formularioCheckout legend i {
  color: #00878b;
  margin-right: 10px;
}

body.carrinho-checkout #formularioCheckout .control-label {
  font-size: 14px;
  line-height: 1.5;
  color: #171721;
  margin-bottom: 6px;
}

body.carrinho-checkout #formularioCheckout .control-group {
  margin-bottom: 20px;
}

/* Aplicar dimensões apenas aos campos textuais */

body.carrinho-checkout #formularioCheckout input[type="text"],
body.carrinho-checkout #formularioCheckout input[type="email"],
body.carrinho-checkout #formularioCheckout input[type="tel"],
body.carrinho-checkout #formularioCheckout input[type="password"],
body.carrinho-checkout #formularioCheckout input[type="number"],
body.carrinho-checkout #formularioCheckout select,
body.carrinho-checkout #formularioCheckout textarea,
body.carrinho-checkout #login-content input:is(
  [type="text"],
  [type="email"],
  [type="password"],
  [type="tel"],
  [type="number"],
  :not([type])
) {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 48px;
  height: auto;
  padding: 10px 12px;
  background: #ffffff;
  color: #171721;
  border: 1px solid #dadadb;
  border-radius: 14px;
  box-shadow: none;
  font-size: 16px;
  line-height: 20px;
}

body.carrinho-checkout #formularioCheckout input:focus,
body.carrinho-checkout #formularioCheckout select:focus,
body.carrinho-checkout #formularioCheckout textarea:focus,
body.carrinho-checkout #login-content input:is(
  [type="text"],
  [type="email"],
  [type="password"],
  [type="tel"],
  [type="number"],
  :not([type])
):focus,
body.carrinho-checkout #finalizarCompra:focus-visible,
body.carrinho-checkout #tipoCadastro a:focus-visible {
  border-color: #00878b;
  outline: 2px solid #018186;
  outline-offset: 1px;
}

body.carrinho-checkout #formularioCheckout input[type="checkbox"],
body.carrinho-checkout #formularioCheckout input[type="radio"] {
  accent-color: #00878b;
}

/* Evitar checkbox e radio com tamanho de campo de texto */

body.carrinho-checkout #formularioCheckout input[type="checkbox"],
body.carrinho-checkout #formularioCheckout input[type="radio"],
body.carrinho-checkout #login-content input[type="checkbox"],
body.carrinho-checkout #login-content input[type="radio"] {
  width: auto;
  min-height: 0;
  height: auto;
  padding: 0;
}

body.carrinho-checkout #formularioCheckout input[type="radio"]:checked {
  outline: 2px solid #018186;
  outline-offset: 3px;
}

body.carrinho-checkout #tipoCadastro {
  border-color: #dadadb;
  padding: 14px 0;
  margin-bottom: 20px;
}

body.carrinho-checkout #tipoCadastro a {
  color: #171721;
  font-size: 12px;
}

body.carrinho-checkout #tipoCadastro .active a,
body.carrinho-checkout .resumo-compra .cor-principal {
  color: #018186;
}

body.carrinho-checkout #formularioCheckout .help-block,
body.carrinho-checkout #corpo .muted,
body.carrinho-checkout #formularioCheckout .warning-text {
  color: #515159;
  line-height: 1.5;
}

body.carrinho-checkout #formularioCheckout .error input,
body.carrinho-checkout #formularioCheckout .erro input,
body.carrinho-checkout #formularioCheckout input[aria-invalid="true"] {
  border-color: #b42318;
}

body.carrinho-checkout #formularioCheckout .error .help-block,
body.carrinho-checkout #formularioCheckout .erro .help-block {
  color: #b42318;
}

/* PAGAMENTO */

body.carrinho-checkout #corpo #formas-pagamento-wrapper {
  background: #00363a;
  color: #ffffff;
  border-color: #00363a;
}

body.carrinho-checkout #formas-pagamento-wrapper > fieldset > legend,
body.carrinho-checkout #formas-pagamento-wrapper > fieldset > legend i,
body.carrinho-checkout #formas-pagamento-wrapper .politica-privacidade {
  color: #ffffff;
}

body.carrinho-checkout #formas-pagamento-wrapper > fieldset > .control-group,
body.carrinho-checkout #formas-pagamento-wrapper > fieldset > .control-group label,
body.carrinho-checkout #formas-pagamento-wrapper > fieldset > fieldset label {
  color: #ffffff;
}

body.carrinho-checkout #exibirFormasPagamento .btn {
  color: #ffffff;
  background: transparent;
  border-color: #597c7f;
  text-shadow: none;
}

body.carrinho-checkout #formasPagamento {
  border: 0;
}

body.carrinho-checkout #formasPagamento .accordion-group {
  background: #ffffff;
  color: #171721;
  border: 1px solid #dadadb;
  border-radius: 17px;
  margin-bottom: 12px;
}

body.carrinho-checkout #formasPagamento .accordion-heading {
  background: #ffffff;
  color: #171721;
  border-radius: 17px;
}

body.carrinho-checkout #formasPagamento .accordion-inner {
  border-color: #dadadb;
  background: #ffffff;
  color: #171721;
  padding: 16px;
}

body.carrinho-checkout #formasPagamento .cor-principal,
body.carrinho-checkout #formasPagamento .cor-secundaria,
body.carrinho-checkout #formasPagamento .control-label {
  color: #171721;
}

body.carrinho-checkout #formasPagamento label,
body.carrinho-checkout #formasPagamento .forma-conteiner,
body.carrinho-checkout #formasPagamento .bandeiras-pagamento,
body.carrinho-checkout #formasPagamento .accordion-inner p,
body.carrinho-checkout #formasPagamento .accordion-inner span {
  color: #171721;
}

body.carrinho-checkout #formasPagamento .help-block,
body.carrinho-checkout #formasPagamento .info-pagamento,
body.carrinho-checkout #formasPagamento .pagamento-boleto-info {
  color: #515159;
}

body.carrinho-checkout #formasPagamento .bandeiras-pagamento,
body.carrinho-checkout #formasPagamento .cartao-placeholder-card {
  max-width: 100%;
}

body.carrinho-checkout #formas-pagamento-wrapper .acao-editar {
  margin-top: 20px;
}

body.carrinho-checkout #finalizarCompra,
body.carrinho-checkout #login-content .submit-email {
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  background: #28c3c3;
  background-image: none;
  color: #171721;
  border: 1px solid #28c3c3;
  border-radius: 17px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  text-shadow: none;
  box-shadow: none;
  line-height: 1.4;
}

body.carrinho-checkout #finalizarCompra {
  width: 100%;
}

body.carrinho-checkout #finalizarCompra.disabled,
body.carrinho-checkout #finalizarCompra:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* RESUMO DA COMPRA */

body.carrinho-checkout .resumo-compra .tabela-carrinho {
  margin: 0;
  border: 0;
}

body.carrinho-checkout .resumo-compra .tabela-carrinho td,
body.carrinho-checkout .resumo-compra .tabela-carrinho th {
  border-color: #dadadb;
  color: #171721;
}

body.carrinho-checkout .resumo-compra .tabela-carrinho .bg-dark {
  background: #ffffff;
}

body.carrinho-checkout .resumo-compra .produto-info {
  color: #171721;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.carrinho-checkout .resumo-compra .produto-info ul {
  color: #171721;
  font-weight: 400;
  opacity: .8;
}

body.carrinho-checkout .resumo-compra .preco-carrinho-total {
  display: block;
  max-width: 100%;
  font-size: 24px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

body.carrinho-checkout .resumo-compra
.tabela-carrinho .padding-preco > div {
  padding-left: 0;
}

body.carrinho-checkout #login-content .identificacao {
  background: #ffffff;
  color: #171721;
  border: 1px solid #dadadb;
  border-radius: 28px;
  padding: 24px;
  box-sizing: border-box;
}

body.carrinho-checkout #login-content .identificacao-title {
  color: #171721;
}

body.carrinho-checkout .checkout-alerta-seguro {
  color: #027c80;
}

/* CHECKOUT DESKTOP: APLICAR A GRADE SOMENTE NO BLOCO VISÍVEL */

@media (min-width: 1000px) {

  body.carrinho-checkout #formularioCheckout > .row-fluid > .span4 {
    box-sizing: border-box;
    min-width: 0;
  }

  body.carrinho-checkout #formularioCheckout >
  .row-fluid:has(> .span4):is(
    [style*="display: block"],
    [style*="display:block"]
  ):not([hidden]):not(.hide):not(.hidden):not(.d-none):not(
    [style*="display: none"]
  ):not([style*="display:none"]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 0 24px;
    align-items: start;
  }

  body.carrinho-checkout #formularioCheckout >
  .row-fluid:has(> .span4):is(
    [style*="display: block"],
    [style*="display:block"]
  ):not([hidden]):not(.hide):not(.hidden):not(.d-none):not(
    [style*="display: none"]
  ):not([style*="display:none"])::before,

  body.carrinho-checkout #formularioCheckout >
  .row-fluid:has(> .span4):is(
    [style*="display: block"],
    [style*="display:block"]
  ):not([hidden]):not(.hide):not(.hidden):not(.d-none):not(
    [style*="display: none"]
  ):not([style*="display:none"])::after {
    content: none;
    display: none;
  }

  body.carrinho-checkout #formularioCheckout >
  .row-fluid:has(> .span4):is(
    [style*="display: block"],
    [style*="display:block"]
  ):not([hidden]):not(.hide):not(.hidden):not(.d-none):not(
    [style*="display: none"]
  ):not([style*="display:none"]) > .span4 {
    width: 100%;
    margin-left: 0;
    float: none;
  }

  body.carrinho-checkout #formularioCheckout >
  .row-fluid:has(> .span4):is(
    [style*="display: block"],
    [style*="display:block"]
  ):not([hidden]):not(.hide):not(.hidden):not(.d-none):not(
    [style*="display: none"]
  ):not([style*="display:none"]) > .span4:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  body.carrinho-checkout #formularioCheckout >
  .row-fluid:has(> .span4):is(
    [style*="display: block"],
    [style*="display:block"]
  ):not([hidden]):not(.hide):not(.hidden):not(.d-none):not(
    [style*="display: none"]
  ):not([style*="display:none"]) > .span4:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  body.carrinho-checkout #formularioCheckout >
  .row-fluid:has(> .span4):is(
    [style*="display: block"],
    [style*="display:block"]
  ):not([hidden]):not(.hide):not(.hidden):not(.d-none):not(
    [style*="display: none"]
  ):not([style*="display:none"]) > .span4:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: start;
  }

  body.carrinho-checkout #formas-pagamento-wrapper {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 999px) {

  body.carrinho-checkout #formularioCheckout > .row-fluid > .span4 {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  body.carrinho-checkout #corpo > .conteiner {
    padding: 16px;
  }
}

/* CHECKOUT MOBILE */

@media (max-width: 767px) {

  body.carrinho-checkout #corpo > .conteiner {
    padding: 12px;
  }

  body.carrinho-checkout #corpo .caixa-sombreada {
    padding: 20px;
    margin-bottom: 16px;
  }

  body.carrinho-checkout #formularioCheckout legend {
    font-size: 17px;
  }

  body.carrinho-checkout #formularioCheckout input[type="text"],
  body.carrinho-checkout #formularioCheckout input[type="email"],
  body.carrinho-checkout #formularioCheckout input[type="password"],
  body.carrinho-checkout #formularioCheckout input[type="tel"],
  body.carrinho-checkout #formularioCheckout input[type="number"],
  body.carrinho-checkout #formularioCheckout select,
  body.carrinho-checkout #formularioCheckout textarea {
    width: 100%;
    font-size: 16px;
    min-height: 48px;
  }

  body.carrinho-checkout #formularioCheckout
  .row-fluid > .control-group[class*="span"] {
    width: 100%;
    margin-left: 0;
    float: none;
  }

  body.carrinho-checkout #formularioCheckout .controls {
    min-width: 0;
  }

  body.carrinho-checkout #tipoCadastro {
    display: flex;
    gap: 8px;
  }

  body.carrinho-checkout #tipoCadastro > li {
    box-sizing: border-box;
    flex: 1;
    width: auto;
    float: none;
    margin: 0;
  }

  body.carrinho-checkout #tipoCadastro > li > a {
    display: block;
    min-height: 44px;
    padding: 10px 4px;
    border: 1px solid #dadadb;
    border-radius: 14px;
    text-align: center;
    line-height: 22px;
  }

  body.carrinho-checkout #tipoCadastro > li.active > a {
    background: #e6f3f3;
    color: #03767b;
  }

  body.carrinho-checkout .resumo-compra .tabela-carrinho,
  body.carrinho-checkout .resumo-compra .tabela-carrinho tbody {
    width: 100%;
  }

  body.carrinho-checkout .resumo-compra .tabela-carrinho tr {
    box-sizing: border-box;
    margin-bottom: 10px;
    border: 0;
    padding: 0;
  }

  body.carrinho-checkout .resumo-compra
  .tr-checkout-frete:is(
    [style*="display: table-row"],
    [style*="display:table-row"]
  ):not([hidden]):not(.hide):not(
    [style*="display: none"]
  ):not([style*="display:none"]),

  body.carrinho-checkout .resumo-compra
  .tr-checkout-total:is(
    [style*="display: table-row"],
    [style*="display:table-row"]
  ):not([hidden]):not(.hide):not(
    [style*="display: none"]
  ):not([style*="display:none"]),

  body.carrinho-checkout .resumo-compra
  .desconto-tr:is(
    [style*="display: table-row"],
    [style*="display:table-row"]
  ):not([hidden]):not(.hide):not(
    [style*="display: none"]
  ):not([style*="display:none"]) {
    display: block !important;
    width: 100%;
    overflow: hidden;
  }

  body.carrinho-checkout .resumo-compra .tabela-carrinho td {
    box-sizing: border-box;
    border: 0;
    height: auto;
    padding: 7px 0;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .produto-info {
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    overflow-wrap: break-word;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho td.phone-pullleft {
    float: none;
    width: 100%;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho td.conteiner-qtd {
    float: left;
    width: auto;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .conteiner-qtd > div {
    background: #ffffff;
    color: #171721;
    font-size: 13px;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .conteiner-qtd > div::before {
    content: "Qtd. ";
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho td.conteiner-preco {
    float: right;
    clear: none;
    width: auto;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .tr-checkout-frete td:first-child {
    display: none;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .tr-checkout-frete td {
    float: left;
    width: 50%;
    text-align: left;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .tr-checkout-frete td:last-child {
    text-align: right;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .tr-checkout-total td.padding-preco {
    width: 100%;
    border-top: 1px solid #dadadb;
    padding-top: 12px;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .tr-checkout-total .visible-phone {
    float: left;
  }

  body.carrinho-checkout .resumo-compra
  .tabela-carrinho .preco-carrinho-total {
    font-size: 22px;
    white-space: normal;
  }

  body.carrinho-checkout #formasPagamento .accordion-inner {
    padding: 12px;
  }

  body.carrinho-checkout #formasPagamento .accordion-heading {
    min-height: 48px;
  }

  body.carrinho-checkout #formasPagamento
  .accordion-inner [class*="span"] {
    max-width: 100%;
    box-sizing: border-box;
  }

  body.carrinho-checkout #login-content input:is(
    [type="text"],
    [type="email"],
    [type="password"],
    [type="tel"],
    [type="number"],
    :not([type])
  ) {
    width: 100%;
    font-size: 16px;
  }

  body.carrinho-checkout #login-content .identificacao-inner {
    padding: 0;
  }

  body.carrinho-checkout #login-content .email-box {
    float: none;
    width: 100%;
    margin: 0 0 12px;
  }

  body.carrinho-checkout #login-content .submit-email {
    width: 100%;
    float: none;
  }
}

/* CABEÇALHO E LISTAGEM DESKTOP */

@media (min-width: 768px) {

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner::before {
    content: none !important;
    display: none !important;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho,
  body.fixed:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho {
    height: auto !important;
    min-height: 100px;
    background: #fff !important;
    z-index: 1020 !important;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner,
  body.fixed:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner {
    position: relative !important;
    width: calc(100% - 48px) !important;
    max-width: 1280px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid,
  body.fixed:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid {
    display: grid !important;
    grid-template-columns:
      minmax(200px, 1fr)
      minmax(180px, 260px)
      minmax(200px, 1fr);
    align-items: center;
    gap: 24px;
    width: 100% !important;
    height: auto !important;
    min-height: 100px;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid::before,
  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid::after {
    content: none !important;
    display: none !important;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid > [class*="span"] {
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    box-sizing: border-box;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .logo {
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    text-align: center;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .logo a {
    display: block;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .logo img {
    position: static !important;
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 90px !important;
    height: auto !important;
    margin: 0 auto;
    object-fit: contain;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .conteudo-topo > .inferior {
    align-items: center;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .conteudo-topo > .inferior > .span12 {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Busca */

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .busca {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .busca form {
    position: relative;
    width: 100%;
    margin: 0;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .busca input[name="q"] {
    position: static !important;
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 10px 54px 10px 14px !important;
    box-sizing: border-box;
    border: 1px solid #d8dce5;
    border-radius: 8px;
    font-size: 15px;
    color: #222 !important;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .busca .botao-busca {
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    left: auto !important;
    bottom: auto !important;
    width: 44px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    border: 0;
    border-radius: 6px;
    transform: none !important;
    background: #fdcf00 !important;
    color: #001781 !important;
  }

  /* Conta */

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid >
  .conteudo-topo:last-child > .superior {
    display: block !important;
    margin-bottom: 8px;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .acoes-conta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 14px;
    margin: 0;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .acoes-conta li {
    float: none;
    margin: 0;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .acoes-conta a {
    color: #001781 !important;
    font-size: 14px;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .acoes-conta i {
    display: none;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho #menu-open {
    display: none !important;
  }

  /* Carrinho */

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    min-height: 44px;
    gap: 8px;
    padding: 0 !important;
    box-sizing: border-box;
    justify-content: flex-end;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho > svg {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px;
    padding: 0;
    fill: #001781;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho > a {
    width: auto !important;
    min-width: 0;
    line-height: 1.4 !important;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho .vazio-text,
  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho .carrinho-vazio-titulo,
  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho .carrinho-vazio-preco {
    color: #001781 !important;
    white-space: nowrap;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho-interno {
    right: 0 !important;
    left: auto !important;
    width: min(500px, calc(100vw - 48px)) !important;
    max-height: 70vh;
    overflow: auto;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .carrinho:focus-within .carrinho-interno {
    opacity: 1 !important;
    visibility: visible;
  }

  /* Menu do complemento HTML */

  .avanci-menu-desktop ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    border-top: 1px solid #edf0f5;
  }

  .avanci-menu-desktop a {
    display: block;
    padding: 9px 13px;
    border-radius: 6px;
    color: #001781 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
  }

  .avanci-menu-desktop a:hover,
  .avanci-menu-desktop a[aria-current="page"] {
    background: #fdcf00;
  }

  /* Espaçamento calculado pelo complemento HTML */

  html.avanci-desktop-complemento
  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho + #corpo,

  html.avanci-desktop-complemento
  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho + .secao-banners {
    padding-top: var(--avanci-altura-cabecalho, 100px) !important;
  }

  .listagem .preco-produto strong.preco-venda,
  .produto .preco-produto strong.preco-venda {
    text-decoration: none !important;
    color: #001781 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
  }

  .preco-produto .price-pix.avanci-pix-duplicado {
    display: none !important;
  }

  /* Ações dos produtos */

  .listagem .listagem-item > .acoes-produto {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .listagem .acoes-produto > .qtde-adicionar-carrinho {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    flex: 0 0 70px;
    margin: 0 !important;
  }

  .listagem .acoes-produto > .botao-comprar {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 110px;
    width: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box;
  }

  .listagem .acoes-produto > .btn-pay-wp {
    position: static !important;
    order: 3;
    flex: 1 0 100%;
    width: 100% !important;
    height: auto !important;
    min-height: 40px;
    margin: 0 !important;
    padding: 9px !important;
    box-sizing: border-box;
    line-height: 1.4;
    color: #001781 !important;
    border-color: #001781 !important;
  }

  .listagem .botao-comprar,
  .produto .botao-comprar {
    color: #102341 !important;
  }

  .breadcrumbs .cor-secundaria,
  .breadcrumbs a,
  .breadcrumbs li {
    color: #333 !important;
  }

  /* Foco de teclado */

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho a:focus-visible,
  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho button:focus-visible,
  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho input:focus-visible,
  .listagem .botao:focus-visible,
  .produto .botao:focus-visible {
    outline: 3px solid #001781 !important;
    outline-offset: 3px;
  }

  /* Modal fechado */

  body:not(.show-video-modal):where(
    :not(.carrinho-checkout):not(.pagina-checkout)
  ) .video-modal {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
    transform: none !important;
  }
}

/* DESKTOP COM TELA MENOR */

@media (min-width: 768px) and (max-width: 1023px) {

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid,
  body.fixed:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho > .conteiner > .row-fluid {
    grid-template-columns:
      minmax(180px, 1fr)
      180px
      minmax(200px, 1fr);
    gap: 12px;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .acoes-conta {
    gap: 4px 8px;
  }

  body:where(:not(.carrinho-checkout):not(.pagina-checkout))
  #cabecalho .acoes-conta a {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .avanci-menu-desktop {
    display: none !important;
  }
}
/* PRODUTOS COMPACTOS — LOJA INTEGRADA */

@media (min-width: 768px) {

  /* Grade de categorias e busca */
  .listagem > ul:not(.produtos-carrossel):has(> li.listagem-linha:not(.flexslider)) {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px 12px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .listagem > ul:not(.produtos-carrossel) > li.listagem-linha:not(.flexslider),
  .listagem > ul:not(.produtos-carrossel) > li.listagem-linha:not(.flexslider) > ul {
    display: contents !important;
  }

  .listagem > ul:not(.produtos-carrossel) > li.listagem-linha:not(.flexslider) > ul > li {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Cartões organizados */
  .listagem .listagem-item {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
  }

  .listagem > ul:not(.produtos-carrossel) > li.listagem-linha:not(.flexslider) > ul > li > .listagem-item {
    height: 100% !important;
  }

  /* Imagens menores, sem cortar o produto */
  .listagem .listagem-item .imagem-produto {
    position: relative;
    flex: 0 0 140px;
    height: 140px !important;
    min-height: 0 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .listagem .listagem-item .imagem-produto img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 140px !important;
    object-fit: contain !important;
    object-position: center !important;
    inset: 0 !important;
    margin: auto !important;
    transform: none !important;
  }

  /* Informações com espaço uniforme */
  .listagem .listagem-item .info-produto {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto !important;
    min-height: 160px !important;
    padding: 0 !important;
  }

  /* Nome em até duas linhas */
  .listagem .listagem-item .nome-produto {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 0 8px !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }

  /* Preços legíveis */
  .listagem .listagem-item .preco-produto {
    min-height: 88px;
    margin: 6px 0 0 !important;
    line-height: 1.4;
  }

  body .listagem .listagem-item .preco-produto strong.preco-venda,
  body .listagem .listagem-item .preco-produto .preco-promocional {
    font-size: 18px !important;
    text-decoration: none !important;
  }

  body .listagem .listagem-item .preco-produto .desconto-a-vista {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  body .listagem .listagem-item .preco-produto .desconto-a-vista strong {
    font-size: inherit !important;
  }

  /* Botões na parte inferior do cartão */
  .listagem .listagem-item > .acoes-produto {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    width: 100% !important;
    height: auto !important;
    margin: auto 0 0 !important;
    padding: 8px 0 0 !important;
    box-sizing: border-box;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
  }

  .listagem .listagem-item .acoes-produto > .qtde-adicionar-carrinho {
    flex: 0 0 56px;
    width: 56px !important;
    margin: 0 !important;
  }

  .listagem .listagem-item .acoes-produto > .qtde-adicionar-carrinho input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .listagem .listagem-item .acoes-produto > .botao-comprar {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 70px;
    width: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 8px 6px !important;
    box-sizing: border-box;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .listagem .listagem-item .acoes-produto > .btn-pay-wp {
    position: static !important;
    flex: 1 0 100%;
    width: 100% !important;
    height: auto !important;
    min-height: 40px;
    margin: 0 !important;
    padding: 8px 6px !important;
    box-sizing: border-box;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}
@media (min-width: 768px) {

  /* 1. Remove o código de barras sobre o preço Pix */
  body .preco-produto .desconto-a-vista::before {
    content: none !important;
    display: none !important;
  }

  body .preco-produto .desconto-a-vista {
    padding-left: 0 !important;
    text-indent: 0 !important;
  }

  /* 2. Caixa de quantidade nos produtos da vitrine */
  body .listagem .acoes-produto .qtde-adicionar-carrinho {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 76px !important;
    width: 76px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Caixa de quantidade na página do produto */
  body .produto .acoes-produto .comprar .qtde-adicionar-carrinho {
    position: relative !important;
    inset: auto !important;
    width: 100px !important;
    height: 44px !important;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Campo numérico */
  body .listagem .acoes-produto .qtde-adicionar-carrinho input.qtde-carrinho,
  body .produto .acoes-produto .comprar .qtde-adicionar-carrinho input.qtde-carrinho {
    position: static !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 30px 0 6px !important;
    box-sizing: border-box !important;
    border: 1px solid #dadada !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 16px !important;
    line-height: normal !important;
    text-align: center !important;
  }

  /* Posiciona os controles dentro da caixa */
  body .listagem .qtde-adicionar-carrinho .quantity-nav,
  body .produto .comprar .qtde-adicionar-carrinho .quantity-nav {
    position: absolute !important;
    inset: 0 0 auto auto !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 28px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  /* Corrige os deslocamentos dos botões + e − */
  body .listagem .qtde-adicionar-carrinho .quantity-button,
  body .produto .comprar .qtde-adicionar-carrinho .quantity-button {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 22px !important;
    width: 28px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f1f1f1 !important;
    color: #001781 !important;
    line-height: 1 !important;
    transform: none !important;
    box-sizing: border-box !important;
    cursor: pointer;
  }

  body .listagem .qtde-adicionar-carrinho .quantity-up,
  body .produto .comprar .qtde-adicionar-carrinho .quantity-up {
    border-radius: 0 5px 0 0 !important;
    border-bottom: 1px solid #dadada !important;
  }

  body .listagem .qtde-adicionar-carrinho .quantity-down,
  body .produto .comprar .qtde-adicionar-carrinho .quantity-down {
    border-radius: 0 0 5px 0 !important;
  }

  /* Centraliza os símbolos */
  body .listagem .qtde-adicionar-carrinho .quantity-button i,
  body .produto .comprar .qtde-adicionar-carrinho .quantity-button i {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    line-height: 1 !important;
    transform: none !important;
  }
}
/* AVANCI BRASIL — CORREÇÃO MOBILE / LOJA INTEGRADA */

@media (max-width: 767px) {

  /* Grade de duas colunas, sem alterar o carrossel */
  body #corpo .listagem > ul:not(.produtos-carrossel):has(> .listagem-linha:not(.flexslider)) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin: 0 !important;
    padding: 0 !important;
  }

  body #corpo .listagem > ul:not(.produtos-carrossel) > .listagem-linha:not(.flexslider),
  body #corpo .listagem > ul:not(.produtos-carrossel) > .listagem-linha:not(.flexslider) > ul {
    display: contents !important;
  }

  body #corpo .listagem > ul:not(.produtos-carrossel) > .listagem-linha:not(.flexslider) > ul > li {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body #corpo .listagem > ul:not(.produtos-carrossel)::before,
  body #corpo .listagem > ul:not(.produtos-carrossel)::after,
  body #corpo .listagem .listagem-linha:not(.flexslider) > ul::before,
  body #corpo .listagem .listagem-linha:not(.flexslider) > ul::after {
    content: none !important;
  }

  /* Mantém o movimento e as larguras do carrossel */
  body #corpo .listagem .slick-track {
    display: flex !important;
    align-items: stretch;
  }

  body #corpo .listagem .slick-track > .slick-slide {
    height: auto !important;
  }

  /* Cartões com altura flexível */
  body #corpo .listagem .listagem-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  /* Imagens uniformes */
  body #corpo .listagem .listagem-item .imagem-produto {
    position: relative !important;
    float: none !important;
    flex: 0 0 140px;
    width: 100% !important;
    height: 140px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  body #corpo .listagem .imagem-produto::before {
    content: none !important;
  }

  body #corpo .listagem .imagem-produto img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 140px !important;
    inset: 0 !important;
    object-fit: contain !important;
    margin: auto !important;
    transform: none !important;
  }

  /* Informações dentro do cartão */
  body #corpo .listagem .info-produto {
    position: static !important;
    float: none !important;
    flex: 1;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
    transform: none !important;
  }

  body #corpo .listagem .info-produto a.nome-produto {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    margin: 0 0 6px !important;
    font-size: 13px !important;
    line-height: 18px !important;
    letter-spacing: normal !important;
    color: #333 !important;
  }

  /* Preços sem altura fixa ou sobreposição */
  body #corpo .listagem .preco-produto,
  body #corpo .produto .principal .preco-produto {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  body #corpo :is(.listagem, .produto .principal) .preco-produto > div,
  body #corpo :is(.listagem, .produto .principal) .preco-a-partir,
  body #corpo :is(.listagem, .produto .principal) .preco-parcela {
    position: static !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 4px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
  }

  /* Preço atual na vitrine */
  body #corpo .listagem .preco-produto strong.preco-venda,
  body #corpo .listagem .preco-produto .preco-promocional {
    display: block !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    text-decoration: none !important;
  }

  /* Somente o preço anterior fica riscado */
  body #corpo :is(.listagem, .produto .principal) .preco-produto :is(s, del).preco-venda {
    display: block !important;
    margin: 0 0 3px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    color: #767676 !important;
    text-decoration: line-through !important;
  }

  body #corpo :is(.listagem, .produto .principal) .preco-parcela,
  body #corpo :is(.listagem, .produto .principal) .preco-parcela strong {
    font-size: 12px !important;
    color: #555 !important;
  }

  /* Pix na vitrine */
  body #corpo .listagem .preco-produto .desconto-a-vista {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  /* Preços na página do produto */
  body #corpo .produto .principal .preco-produto strong.preco-venda,
  body #corpo .produto .principal .preco-produto .preco-promocional {
    display: block !important;
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 30px !important;
    text-decoration: none !important;
  }

  body #corpo .produto .principal .preco-produto .desconto-a-vista {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  body #corpo :is(.listagem, .produto .principal) .desconto-a-vista {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    color: #e00000 !important;
  }

  body #corpo :is(.listagem, .produto .principal) .desconto-a-vista strong {
    font-size: inherit !important;
    color: inherit !important;
  }

  /* Remove ícones e textos antigos sobre o Pix */
  body #corpo :is(.listagem, .produto .principal) .desconto-a-vista::before,
  body #corpo :is(.listagem, .produto .principal) .desconto-a-vista::after {
    content: none !important;
    display: none !important;
  }

  body #corpo :is(.listagem, .produto .principal) .preco-produto:has(.desconto-a-vista) .price-pix {
    display: none !important;
  }

  /* Evita duas áreas de compra no mesmo cartão */
  body #corpo .listagem .acoes-produto-responsiva {
    display: none !important;
  }

  /* Botões abaixo dos preços */
  body #corpo .listagem .listagem-item > .acoes-produto,
  body #corpo .produto .principal .comprar {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 7px;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
  }

  body #corpo .listagem .acoes-produto > .botao,
  body #corpo .produto .principal .comprar > .botao-comprar,
  body #corpo .produto .principal .btn-pay-wp-prod {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 6px !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    line-height: 20px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* Quantidade centralizada */
  body #corpo :is(.listagem, .produto .comprar) .qtde-adicionar-carrinho {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    flex: none !important;
    align-self: center;
    width: 84px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body #corpo :is(.listagem, .produto .comprar) .qtde-carrinho-title {
    display: none !important;
  }

  body #corpo :is(.listagem, .produto .comprar) input.qtde-carrinho {
    position: static !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 30px 0 6px !important;
    box-sizing: border-box !important;
    border: 1px solid #dadada !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 16px !important;
    text-align: center !important;
  }

  /* Controles + e − dentro da caixa */
  body #corpo :is(.listagem, .produto .comprar) .quantity-nav {
    position: absolute !important;
    inset: 0 0 auto auto !important;
    display: flex !important;
    flex-direction: column;
    width: 28px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  body #corpo :is(.listagem, .produto .comprar) .quantity-button {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 28px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
    background: #f1f1f1 !important;
    color: #001781 !important;
    line-height: 1 !important;
    transform: none !important;
  }

  body #corpo :is(.listagem, .produto .comprar) .quantity-button i {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    line-height: 1 !important;
    transform: none !important;
  }

  body #corpo .produto .principal .disponibilidade-produto {
    width: 100% !important;
    color: #555 !important;
    white-space: normal !important;
  }
}

/* Uma coluna em celulares muito estreitos */
@media (max-width: 359px) {
  body #corpo .listagem > ul:not(.produtos-carrossel):has(> .listagem-linha:not(.flexslider)) {
    grid-template-columns: minmax(0, 1fr);
  }
}