/* SIC 24/11/2026 (Visão) — bloco de preço da PDP no estilo Prohall.
   Só body.template-product. Não mexe no topo (Karen) nem na galeria (Ultron).
   Cores alinhadas ao verde da galeria (--sicg-verde) e ao fundo escuro do Ultron. */

html body.template-product{
  --sicp-card:#F4F5F7;
  --sicp-card-borda:#E6E8EB;
  --sicp-card-2:#E7F6EE;
  --sicp-texto:#111111;
  --sicp-mute:#8A8F98;
  --sicp-verde:#3cbd7a;
  --sicp-verde-texto:#0b0b0b;
  --sicp-economize:#1E9E5A;
  --sicp-parcela:#222222;
  --sicp-link:#55585E;
  --sicp-linha:#E6E8EB;
  --sicp-raio:20px;
  --sicp-ink:#202020;
}

html body.template-product .sic-pdp-preco{
  margin:0 0 8px;
}

/* Card escuro arredondado: preço cheio, preço, % OFF, economize, parcelas. */
html body.template-product .sic-pdp-preco__card,
html body.template-product .sic-pdp-preco > .js-price-container,
html body.template-product .sic-pdp-preco{
  /* o wrapper vira o card; o container de preço e o de parcelas ficam dentro */
}
html body.template-product .sic-pdp-preco{
  background:var(--sicp-card);
  color:var(--sicp-texto);
  border:1px solid var(--sicp-card-borda);
  border-radius:var(--sicp-raio);
  padding:18px 18px 16px;
  box-sizing:border-box;
}

html body.template-product .sic-pdp-preco .js-price-container{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}

/* Preço cheio riscado */
html body.template-product .sic-pdp-preco .js-compare-price-display,
html body.template-product .sic-pdp-preco .price-compare{
  color:var(--sicp-mute) !important;
  -webkit-text-fill-color:var(--sicp-mute) !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.3 !important;
  text-decoration:line-through !important;
  margin:0 0 6px !important;
}

/* Linha do preço grande + pílula verde */
html body.template-product .sic-pdp-preco .js-price-container > .d-flex{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:8px 10px !important;
  margin:0 !important;
}

html body.template-product .sic-pdp-preco .js-price-display,
html body.template-product .sic-pdp-preco #price_display{
  color:var(--sicp-texto) !important;
  -webkit-text-fill-color:var(--sicp-texto) !important;
  font-size:32px !important;
  line-height:1.05 !important;
  font-weight:800 !important;
  letter-spacing:-0.02em;
  margin:0 !important;
}

html body.template-product .sic-pdp-preco .js-offer-label{
  display:inline-flex !important;
  align-items:center;
  background:var(--sicp-verde) !important;
  color:var(--sicp-verde-texto) !important;
  -webkit-text-fill-color:var(--sicp-verde-texto) !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.02em;
  line-height:1 !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  margin:0 0 0 2px !important;
  white-space:nowrap;
}

html body.template-product .sic-pdp-preco .js-offer-label .js-offer-percentage,
html body.template-product .sic-pdp-preco .js-offer-label *{
  color:inherit !important;
  -webkit-text-fill-color:inherit !important;
  font-weight:inherit !important;
  font-size:inherit !important;
}

/* Some o tooltip de promoções se estiver vazio/irrelevante no card */
html body.template-product .sic-pdp-preco .tooltip-container{
  display:none !important;
}

/* Pílula "Economize R$ X" — fundo mais escuro, texto verde */
html body.template-product .sic-pdp-preco .js-saved-money-message,
html body.template-product .sic-pdp-preco [class*="compare-price-saved"],
html body.template-product .sic-pdp-preco .d-flex.align-items-center.mt-1.text-accent{
  display:inline-flex !important;
  align-items:center !important;
  width:auto !important;
  max-width:100%;
  background:var(--sicp-card-2) !important;
  color:var(--sicp-economize) !important;
  -webkit-text-fill-color:var(--sicp-economize) !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  padding:7px 14px !important;
  margin:12px 0 0 !important;
  border-radius:999px !important;
  text-decoration:none !important;
}

html body.template-product .sic-pdp-preco .js-saved-money-message *,
html body.template-product .sic-pdp-preco .js-offer-saved-money,
html body.template-product .sic-pdp-preco .d-flex.align-items-center.mt-1.text-accent *{
  color:inherit !important;
  -webkit-text-fill-color:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  background:transparent !important;
}

/* Parcelas */
html body.template-product .sic-pdp-preco .js-product-payments-container{
  margin:14px 0 0 !important;
  padding:0 !important;
  color:var(--sicp-texto) !important;
  background:transparent !important;
}
html body.template-product .sic-pdp-preco .js-max-installments-container,
html body.template-product .sic-pdp-preco .js-max-installments,
html body.template-product .sic-pdp-preco .product-installments{
  margin:0 !important;
  color:var(--sicp-parcela) !important;
  -webkit-text-fill-color:var(--sicp-parcela) !important;
  font-size:18px !important;
  font-weight:400 !important;
  line-height:1.3 !important;
}
html body.template-product .sic-pdp-preco .product-installments,
html body.template-product .sic-pdp-preco .js-max-installments.product-installments{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:0 .25em;
}
html body.template-product .sic-pdp-preco .sic-pdp-preco__ate{
  font-weight:400;
  color:var(--sicp-parcela);
}
html body.template-product .sic-pdp-preco .sic-pdp-preco__forte,
html body.template-product .sic-pdp-preco .sic-pdp-preco__forte *{
  font-weight:800 !important;
  color:var(--sicp-parcela) !important;
  -webkit-text-fill-color:var(--sicp-parcela) !important;
  font-size:inherit !important;
}
html body.template-product .sic-pdp-preco .sic-pdp-preco__sem-juros{
  font-weight:400;
  color:var(--sicp-parcela);
}

/* Link "Ver mais detalhes" discreto, ainda abre o modal */
html body.template-product .sic-pdp-preco #btn-installments,
html body.template-product .sic-pdp-preco .btn-link{
  color:var(--sicp-link) !important;
  -webkit-text-fill-color:var(--sicp-link) !important;
  font-size:12px !important;
  font-weight:500 !important;
  text-decoration:underline;
  text-underline-offset:2px;
  margin-top:8px !important;
  display:inline-block;
}

/* Esconde o container de desconto de pagamento quando está zerado/oculto.
   Se o tema o exibir de fato (ex.: desconto no Pix), o JS pode promover uma linha. */
html body.template-product .sic-pdp-preco .js-product-discount-container[style*="display: none"],
html body.template-product .sic-pdp-preco .js-product-discount-container[hidden]{
  display:none !important;
}

html body.template-product .sic-pdp-preco .sic-pdp-preco__extra{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--sicp-linha);
  color:var(--sicp-texto);
  font-size:14px;
  line-height:1.35;
}
html body.template-product .sic-pdp-preco .sic-pdp-preco__extra[hidden]{
  display:none !important;
}

/* Aviso / impostos do tema: recuados, não competem com o card */
html body.template-product .sic-pdp-preco .opacity-60,
html body.template-product .sic-pdp-preco [class*="disclaimer"],
html body.template-product .sic-pdp-preco [class*="without-taxes"]{
  color:var(--sicp-mute) !important;
  -webkit-text-fill-color:var(--sicp-mute) !important;
}

/* Indicado para — abaixo do card, no fundo claro da PDP (não inventamos fundo preto). */
html body.template-product .sic-pdp-indicado{
  margin:18px 0 4px;
  padding:0;
  color:var(--sicp-ink);
}
html body.template-product .sic-pdp-indicado[hidden]{
  display:none !important;
}
html body.template-product .sic-pdp-indicado__titulo{
  margin:0 0 12px !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--sicp-ink) !important;
  line-height:1.2 !important;
}
html body.template-product .sic-pdp-indicado__lista{
  list-style:none;
  margin:0;
  padding:0;
}
html body.template-product .sic-pdp-indicado__item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 10px;
  font-size:15px;
  line-height:1.35;
  color:var(--sicp-ink);
  font-weight:500;
}
html body.template-product .sic-pdp-indicado__item:last-child{margin-bottom:0;}
html body.template-product .sic-pdp-indicado__check{
  flex:0 0 22px;
  width:22px;
  height:22px;
  margin-top:1px;
  border-radius:50%;
  background:var(--sicp-verde);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
html body.template-product .sic-pdp-indicado__check svg{
  width:13px;
  height:13px;
  display:block;
}

@media (min-width:768px){
  html body.template-product .sic-pdp-preco{
    padding:20px 22px 18px;
  }
  html body.template-product .sic-pdp-preco .js-price-display,
  html body.template-product .sic-pdp-preco #price_display{
    font-size:36px !important;
  }
}
