.tpwc-box{font-size:var(--tpwc-font);color:var(--tpwc-text);margin:8px 0 12px;line-height:1.45}.tpwc-align-center{text-align:center}.tpwc-align-right{text-align:right}.tpwc-best,.tpwc-pix{display:flex;align-items:center;gap:7px;margin:5px 0}.tpwc-align-center .tpwc-best,.tpwc-align-center .tpwc-pix,.tpwc-align-center .tpwc-badges{justify-content:center}.tpwc-align-right .tpwc-best,.tpwc-align-right .tpwc-pix,.tpwc-align-right .tpwc-badges{justify-content:flex-end}.tpwc-best{color:var(--tpwc-text)}.tpwc-pix{color:var(--tpwc-accent);font-weight:700}.tpwc-icon{color:var(--tpwc-primary)}.tpwc-open{border:0!important;background:transparent!important;color:var(--tpwc-primary)!important;padding:3px 0!important;margin-top:4px!important;font-weight:650!important;text-decoration:underline!important;cursor:pointer}.tpwc-badges{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.tpwc-brand-badge{font-size:9px;letter-spacing:.3px;border:1px solid var(--tpwc-border);background:#fff;color:#4b5563;padding:3px 6px;border-radius:4px;font-weight:800}.tpwc-modal{position:fixed;inset:0;background:rgba(14,21,32,.55);z-index:999999;display:none;align-items:center;justify-content:center;padding:18px}.tpwc-modal.open{display:flex}.tpwc-dialog{background:var(--tpwc-surface);width:min(680px,94vw);max-height:86vh;overflow:auto;border-radius:calc(var(--tpwc-radius) + 4px);box-shadow:0 24px 80px rgba(0,0,0,.28)}.tpwc-dialog-head{position:sticky;top:0;background:var(--tpwc-surface);display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--tpwc-border);z-index:2}.tpwc-dialog-head h3{margin:0;font-size:20px}.tpwc-close{border:0;background:#f3f4f6;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer}.tpwc-payments{padding:4px 16px 16px}.tpwc-payments section{padding:16px 0;border-bottom:1px solid var(--tpwc-border)}.tpwc-payments section:last-child{border:0}.tpwc-payments h4{margin:0 0 10px;display:flex;align-items:center;gap:8px}.tpwc-instant{font-size:10px;background:#e8f7ef;color:#12824b;border-radius:999px;padding:4px 7px}.tpwc-pay-line{display:flex;gap:8px;align-items:center}.tpwc-pay-line span{color:var(--tpwc-muted)}.tpwc-table-wrap{overflow:auto}.tpwc-before-table{color:var(--tpwc-muted);font-size:.92em}.tpwc-table-wrap table{width:100%;border-collapse:collapse;margin:7px 0}.tpwc-table-wrap th,.tpwc-table-wrap td{text-align:left;padding:10px;border-bottom:1px solid var(--tpwc-border)}.tpwc-table-wrap th{font-size:.85em;color:var(--tpwc-muted)}.tpwc-table-wrap td small{color:var(--tpwc-muted)}.tpwc-table-cards tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tpwc-table-cards thead{display:none}.tpwc-table-cards tr{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid var(--tpwc-border);border-radius:var(--tpwc-radius)}.tpwc-table-cards td{border:0}.tpwc-table-minimal th,.tpwc-table-minimal td{border:0;padding:6px 4px}.tpwc-accordion{margin-top:7px;border:1px solid var(--tpwc-border);border-radius:var(--tpwc-radius);padding:10px}.tpwc-accordion summary{cursor:pointer;color:var(--tpwc-primary);font-weight:650}.tpwc-accordion .tpwc-payments{padding:8px 0 0}@media(max-width:520px){.tpwc-dialog{width:100%}.tpwc-payments{padding-left:14px;padding-right:14px}.tpwc-table-wrap th,.tpwc-table-wrap td{padding:8px 5px;font-size:12px}.tpwc-table-cards tbody{grid-template-columns:1fr}}

/* v1.1.1 - ícones vetoriais */
.tpwc-card-icon,.tpwc-pix-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;vertical-align:middle}.tpwc-card-icon{width:22px;height:22px;color:#3f4650}.tpwc-pix-icon{width:20px;height:20px;color:#32bcad}.tpwc-card-icon svg,.tpwc-pix-icon svg{display:block;width:100%;height:100%}.tpwc-best,.tpwc-pix{display:flex;align-items:center;gap:7px}

/* v1.1.3 - loop restaurado e isolamento visual */
.tpwc-loop{margin:5px 0 8px!important;font-size:13px!important;line-height:1.35!important}.tpwc-loop .tpwc-best,.tpwc-loop .tpwc-pix{margin:2px 0!important}.tpwc-loop .tpwc-best{color:inherit!important}.tpwc-loop .tpwc-pix{color:inherit!important;font-weight:600!important}.tpwc-loop svg,.tpwc-loop .tpwc-badges,.tpwc-loop .tpwc-open{display:none!important}.tpwc-box .amount,.tpwc-payments .amount,.tpwc-table-wrap .amount{color:inherit!important}.woocommerce .price,.woocommerce div.product p.price,.woocommerce div.product span.price{ /* plugin does not redefine WooCommerce price color */ }

/* v1.1.4 — loop universal (WooCommerce, WoodMart, shortcodes e construtores) */
.tpwc-loop{display:block!important;width:100%!important;color:#2f3742!important;font-style:normal!important;text-decoration:none!important}
.tpwc-loop .tpwc-best,.tpwc-loop .tpwc-pix{display:block!important;color:#2f3742!important;font-size:13px!important;line-height:1.35!important;font-style:normal!important;text-decoration:none!important}
.tpwc-loop .tpwc-best strong{color:inherit!important;font-weight:600!important}
.tpwc-loop .tpwc-pix{font-weight:600!important}
.tpwc-loop.tpwc-align-center{text-align:center!important}.tpwc-loop.tpwc-align-right{text-align:right!important}

/* v1.1.6 — apresentação do loop inspirada em cartão de produto moderno */
.tpwc-loop{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;width:100%!important;margin:7px 0 4px!important;font-style:normal!important;text-decoration:none!important;color:inherit!important}
.tpwc-loop.tpwc-align-center{align-items:center!important;text-align:center!important}.tpwc-loop.tpwc-align-right{align-items:flex-end!important;text-align:right!important}
.tpwc-loop .tpwc-best{display:inline-flex!important;align-items:center!important;gap:5px!important;margin:0!important;color:var(--tpwc-loop-best-color,#343a40)!important;font-size:var(--tpwc-loop-best-size,14px)!important;line-height:1.35!important;font-weight:400!important;white-space:normal!important}
.tpwc-loop .tpwc-best strong,.tpwc-loop .tpwc-best span{color:inherit!important;font-weight:400!important}
.tpwc-loop-card-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;flex:0 0 20px!important;color:var(--tpwc-loop-best-color,#343a40)!important}.tpwc-loop-card-icon svg{display:block!important;width:100%!important;height:100%!important}
.tpwc-loop .tpwc-pix{display:inline-flex!important;align-items:center!important;gap:6px!important;width:max-content!important;max-width:100%!important;margin:0!important;padding:var(--tpwc-loop-pix-pt,7px) var(--tpwc-loop-pix-pr,10px) var(--tpwc-loop-pix-pb,7px) var(--tpwc-loop-pix-pl,10px)!important;border-radius:var(--tpwc-loop-pix-radius,8px)!important;background:var(--tpwc-loop-pix-bg,#dff5e6)!important;color:var(--tpwc-loop-pix-color,#16a34a)!important;font-size:var(--tpwc-loop-pix-size,14px)!important;line-height:1.25!important;font-weight:500!important;box-sizing:border-box!important}
.tpwc-loop .tpwc-pix strong{font-weight:700!important;color:inherit!important}.tpwc-loop .tpwc-pix .amount{color:inherit!important;font-weight:500!important}
.tpwc-loop-pix-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;flex:0 0 18px!important;color:inherit!important}.tpwc-loop-pix-icon svg{display:block!important;width:100%!important;height:100%!important}
@media(max-width:480px){.tpwc-loop .tpwc-best{font-size:calc(var(--tpwc-loop-best-size,14px) - 1px)!important}.tpwc-loop .tpwc-pix{font-size:calc(var(--tpwc-loop-pix-size,14px) - 1px)!important;padding:6px 8px!important}}
/* v1.1.7 - Pix oficial e prevenção de desalinhamento */
.tpwc-pix-icon svg,.tpwc-loop-pix-icon svg,.tpwc-demo-pix-icon svg{display:block;width:100%;height:100%}
.tpwc-demo-pix-icon{display:inline-flex;width:18px;height:18px;vertical-align:middle;flex:0 0 18px}

/* v1.1.8 — bandeiras gráficas e deduplicação Elementor */
.tpwc-brand-logos{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 0 10px}
.tpwc-brand-logo{display:inline-flex;align-items:center;justify-content:center;width:58px;height:28px;padding:2px 5px;border:1px solid #e1e5ea;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;overflow:hidden}
.tpwc-brand-logo svg{display:block;width:100%;height:100%;max-width:100%}
.tpwc-brand-logo.tpwc-mastercard{width:52px}.tpwc-brand-logo.tpwc-elo{width:52px}.tpwc-brand-logo.tpwc-amex{width:54px}.tpwc-brand-logo.tpwc-hipercard{width:64px}
@media(max-width:480px){.tpwc-brand-logos{gap:6px}.tpwc-brand-logo{height:26px;width:54px}.tpwc-brand-logo.tpwc-hipercard{width:60px}}

/* v1.2.10 — Oculta apenas o preço dinâmico pequeno que o WooCommerce
   injeta ao selecionar uma variação. O preço principal do template,
   Tiered Pricing e os blocos Tellogic permanecem intactos. */
.single-product .single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

/* v1.2.20 - Total selecionado no Tiered Pricing */
.tpwc-tier-total{
  display:flex;
  align-items:baseline;
  gap:6px;
  margin:8px 0 10px;
  font-size:15px;
  line-height:1.35;
  color:inherit;
}
.tpwc-tier-total-label{font-weight:500;opacity:.82}
.tpwc-tier-total strong{font-size:18px;font-weight:700;color:inherit}
@media(max-width:767px){
  .tpwc-tier-total{font-size:14px;margin:7px 0 9px}
  .tpwc-tier-total strong{font-size:17px}
}

/* v1.2.22 — Popup e tabela com visual premium de e-commerce */
.tpwc-modal{background:rgba(15,23,42,.62);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);padding:22px}
.tpwc-dialog{width:min(680px,94vw);max-height:86vh;background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:20px;box-shadow:0 32px 90px rgba(15,23,42,.30);overflow:auto;color:var(--tpwc-text)}
.tpwc-dialog-head{padding:20px 22px;background:rgba(255,255,255,.97);border-bottom:1px solid #e8edf3;gap:18px}
.tpwc-dialog-title{display:flex;align-items:center;gap:13px;min-width:0}
.tpwc-dialog-icon,.tpwc-pay-iconbox{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.tpwc-dialog-icon{width:42px;height:42px;border-radius:12px;background:#eff6ff;color:var(--tpwc-primary);border:1px solid #dbeafe}
.tpwc-dialog-icon .tpwc-payment-icon{width:23px;height:23px}
.tpwc-dialog-head h3{margin:0;color:#111827;font-size:21px;font-weight:750;letter-spacing:-.02em;line-height:1.15}
.tpwc-dialog-head p{margin:4px 0 0;color:#6b7280;font-size:13px;line-height:1.35}
.tpwc-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;flex:0 0 38px!important;padding:0!important;border:1px solid #e5e7eb!important;background:#f8fafc!important;color:#475569!important;border-radius:11px!important;transition:background .16s ease,border-color .16s ease,transform .16s ease!important}
.tpwc-close:hover{background:#f1f5f9!important;border-color:#cbd5e1!important;transform:translateY(-1px)}
.tpwc-close svg{width:18px;height:18px}
.tpwc-payments-modern{padding:14px 16px 16px;background:#f8fafc}
.tpwc-payments-modern .tpwc-pay-card{padding:0;margin:0 0 9px;border:1px solid #e5eaf0;border-radius:15px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.035);overflow:hidden}
.tpwc-payments-modern .tpwc-pay-card:last-child{margin-bottom:0}
.tpwc-pay-card-head{display:flex;align-items:flex-start;gap:12px;padding:12px 13px 10px;border-bottom:1px solid #edf1f5}
.tpwc-pay-iconbox{width:38px;height:38px;border-radius:10px;background:#f3f6fa;color:#475569;border:1px solid #e6ebf1}
.tpwc-pay-pix .tpwc-pay-iconbox{background:#ecfdf5;color:#00a868;border-color:#d1fae5}
.tpwc-pay-boleto .tpwc-pay-iconbox{background:#fff8e6;color:#9a6700;border-color:#fde9ad}
.tpwc-payment-icon{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center}
.tpwc-payment-icon svg{display:block;width:100%;height:100%}
.tpwc-pay-card-head h4{margin:1px 0 0!important;color:#111827;font-size:15px!important;font-weight:750!important;line-height:1.25!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important}
.tpwc-pay-card-head p{margin:4px 0 0;color:#7b8492;font-size:12.5px;line-height:1.4}
.tpwc-pay-card-body{padding:10px 13px 12px}
.tpwc-pay-card .tpwc-brand-logos{margin:0 0 9px;gap:7px}
.tpwc-pay-card .tpwc-brand-logo{height:29px;border-color:#e5eaf0;background:#fff;border-radius:7px;box-shadow:0 1px 2px rgba(15,23,42,.025)}
.tpwc-instant{display:inline-flex;align-items:center;background:#ecfdf3;color:#12824b;border:1px solid #d2f6df;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:700;line-height:1.2}
.tpwc-pay-highlight{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border-radius:11px;background:#f8fafc;border:1px solid #edf1f5}
.tpwc-pay-pix .tpwc-pay-highlight{background:#f0fdf6;border-color:#dcfce7}
.tpwc-pay-highlight b{font-size:19px;color:#111827;letter-spacing:-.01em}
.tpwc-pay-pix .tpwc-pay-highlight b{color:#078c57}
.tpwc-discount-chip{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:5px 8px;background:#dcfce7;color:#087747;font-size:11px;font-weight:750}
.tpwc-discount-chip.is-boleto{background:#fff1c9;color:#8a5a00}
.tpwc-before-table{margin:0 0 9px!important;color:#6b7280!important;font-size:12.5px!important}
.tpwc-table-shell{overflow:hidden;border:1px solid #e5eaf0;border-radius:12px;background:#fff}
.tpwc-table-wrap{overflow:visible}
.tpwc-table-wrap table{width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;background:#fff}
.tpwc-table-wrap thead th{padding:9px 12px!important;background:#f8fafc;color:#687386!important;font-size:10.5px!important;font-weight:750!important;text-transform:uppercase;letter-spacing:.04em;border:0!important;border-bottom:1px solid #e8edf2!important}
.tpwc-table-wrap tbody td{padding:10px 12px!important;border:0!important;border-bottom:1px solid #eef2f6!important;vertical-align:middle}
.tpwc-table-wrap tbody tr:last-child td{border-bottom:0!important}
.tpwc-table-wrap tbody tr:hover td{background:#fbfdff}
.tpwc-installment-cell{display:flex;align-items:center;gap:7px;min-width:128px}
.tpwc-installment-number{font-weight:800;color:#1f2937;font-size:13px}
.tpwc-interest-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 6px;font-size:9.5px;font-weight:750;white-space:nowrap;border:1px solid transparent}
.tpwc-interest-badge.is-free{background:#ecfdf3;color:#13804b;border-color:#d9f7e5}
.tpwc-interest-badge.is-interest{background:#f3f4f6;color:#6b7280;border-color:#e5e7eb}
.tpwc-installment-value{font-weight:700;color:#111827;white-space:nowrap}
.tpwc-installment-total{color:#687386;white-space:nowrap}
/* Cards: mantém a opção existente, mas com acabamento premium */
.tpwc-table-cards .tpwc-table-shell{border:0;background:transparent;overflow:visible}
.tpwc-table-cards table,.tpwc-table-cards tbody{display:block;background:transparent}
.tpwc-table-cards thead{display:none}
.tpwc-table-cards tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tpwc-table-cards tr{display:grid!important;grid-template-columns:1.15fr .85fr .85fr!important;border:1px solid #e5eaf0!important;border-radius:11px!important;background:#fff!important;overflow:hidden;box-shadow:0 1px 3px rgba(15,23,42,.025)}
.tpwc-table-cards td{padding:10px!important;border:0!important}
.tpwc-table-minimal .tpwc-table-shell{border:0;border-radius:0}
.tpwc-table-minimal thead{display:none}
.tpwc-table-minimal tbody td{padding:7px 4px!important;border-bottom:1px dashed #e5e7eb!important;background:transparent!important}
@media(max-width:620px){
 .tpwc-modal{padding:10px;align-items:flex-end}
 .tpwc-dialog{width:100%;max-height:92vh;border-radius:18px 18px 0 0}
 .tpwc-dialog-head{padding:16px}
 .tpwc-dialog-icon{width:38px;height:38px;border-radius:10px}
 .tpwc-dialog-head h3{font-size:18px}
 .tpwc-dialog-head p{font-size:12px}
 .tpwc-payments-modern{padding:12px}
 .tpwc-pay-card-head{padding:13px}
 .tpwc-pay-card-body{padding:11px 13px 13px}
 .tpwc-pay-highlight{align-items:flex-start;flex-direction:column;gap:7px}
 .tpwc-pay-highlight b{font-size:18px}
 .tpwc-table-wrap thead th{font-size:9px!important;padding:8px 7px!important}
 .tpwc-table-wrap tbody td{font-size:12px!important;padding:9px 7px!important}
 .tpwc-installment-cell{min-width:105px;gap:5px;flex-wrap:wrap}
 .tpwc-installment-number{font-size:12px}
 .tpwc-interest-badge{font-size:8.5px;padding:2px 5px}
 .tpwc-table-cards tbody{grid-template-columns:1fr}
}


/* v1.2.25 — Popup de parcelamento totalmente responsivo */
.tpwc-modal{
  box-sizing:border-box;
  overflow:hidden;
}
.tpwc-dialog{
  box-sizing:border-box;
  max-width:calc(100vw - 32px);
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.tpwc-dialog-head,
.tpwc-payments,
.tpwc-payments-modern,
.tpwc-pay-card,
.tpwc-pay-card-body,
.tpwc-table-wrap{
  box-sizing:border-box;
  max-width:100%;
}
.tpwc-dialog-title{min-width:0;flex:1 1 auto}
.tpwc-dialog-title>div{min-width:0}
.tpwc-dialog-head h3,
.tpwc-dialog-head p{
  overflow-wrap:anywhere;
}
.tpwc-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.tpwc-table-wrap table{min-width:560px}
.tpwc-pay-line,.tpwc-pay-highlight{min-width:0;flex-wrap:wrap}
.tpwc-brand-logos{max-width:100%}

@media (max-width: 900px){
  .tpwc-modal{padding:16px}
  .tpwc-dialog{width:min(720px,100%);max-width:100%;max-height:90dvh}
  .tpwc-dialog-head{padding:17px 18px}
  .tpwc-payments-modern{padding:14px}
}

@media (max-width: 620px){
  .tpwc-modal{
    padding:0;
    align-items:flex-end;
  }
  .tpwc-dialog{
    width:100%;
    max-width:100%;
    max-height:94dvh;
    border-radius:18px 18px 0 0;
    border-left:0;
    border-right:0;
    border-bottom:0;
  }
  .tpwc-dialog-head{
    padding:14px 14px 13px;
    gap:10px;
  }
  .tpwc-dialog-title{gap:10px}
  .tpwc-dialog-icon{width:36px;height:36px;flex:0 0 36px}
  .tpwc-dialog-head h3{font-size:17px;line-height:1.2}
  .tpwc-dialog-head p{font-size:11.5px;line-height:1.3;margin-top:3px}
  .tpwc-close{width:34px;height:34px;flex:0 0 34px}
  .tpwc-payments,
  .tpwc-payments-modern{padding:10px}
  .tpwc-pay-card{border-radius:12px}
  .tpwc-pay-card-head{padding:12px}
  .tpwc-pay-card-body{padding:10px 12px 12px}
  .tpwc-pay-card-head h4{font-size:14px}
  .tpwc-pay-highlight b{font-size:17px}
  .tpwc-pay-line{gap:6px}
  .tpwc-brand-logos{gap:5px;margin:7px 0}
  .tpwc-brand-logo{height:25px}
  .tpwc-table-wrap{
    margin-left:0;
    margin-right:0;
    border-radius:10px;
  }
  .tpwc-table-wrap table{min-width:500px}
  .tpwc-table-wrap thead th{padding:8px 7px!important;font-size:9px!important}
  .tpwc-table-wrap tbody td{padding:9px 7px!important;font-size:11.5px!important}
  .tpwc-table-cards table{min-width:0}
  .tpwc-table-cards tbody{grid-template-columns:1fr}
  .tpwc-table-cards tr{grid-template-columns:1fr!important;gap:2px}
  .tpwc-table-cards td{padding:7px 10px!important}
}

@media (max-width: 390px){
  .tpwc-dialog{max-height:96dvh;border-radius:14px 14px 0 0}
  .tpwc-dialog-head{padding:12px}
  .tpwc-dialog-icon{width:32px;height:32px;flex-basis:32px}
  .tpwc-dialog-head h3{font-size:16px}
  .tpwc-close{width:32px;height:32px;flex-basis:32px}
  .tpwc-payments,.tpwc-payments-modern{padding:8px}
  .tpwc-pay-card-head{padding:10px}
  .tpwc-pay-card-body{padding:9px 10px 10px}
  .tpwc-table-wrap table{min-width:470px}
}

@supports not (height: 100dvh){
  @media (max-width:620px){.tpwc-dialog{max-height:94vh}}
}

/* v1.2.26 — bandeiras mais nítidas e profissionais */
.tpwc-brand-logo{height:30px!important;min-width:56px!important;padding:3px 6px!important;border-color:#e2e8f0!important;border-radius:7px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important}
.tpwc-brand-logo.tpwc-mastercard{width:72px!important}.tpwc-brand-logo.tpwc-visa{width:60px!important}.tpwc-brand-logo.tpwc-elo{width:60px!important}.tpwc-brand-logo.tpwc-amex{width:62px!important}.tpwc-brand-logo.tpwc-hipercard{width:70px!important}
.tpwc-brand-logo svg{overflow:visible!important}
@media(max-width:480px){.tpwc-brand-logo{height:28px!important;min-width:52px!important}.tpwc-brand-logo.tpwc-mastercard{width:68px!important}}


/* v1.2.28 — Mercado Pago e bandeira personalizada */
.tpwc-brand-logo.tpwc-mercadopago{width:88px!important;min-width:88px!important}
.tpwc-brand-logo.tpwc-custom-brand{width:auto!important;min-width:56px!important;max-width:120px!important;padding:3px 7px!important}
.tpwc-brand-logo.tpwc-custom-brand img{display:block!important;max-width:104px!important;max-height:22px!important;width:auto!important;height:auto!important;object-fit:contain!important}
@media(max-width:480px){.tpwc-brand-logo.tpwc-mercadopago{width:82px!important;min-width:82px!important}.tpwc-brand-logo.tpwc-custom-brand{max-width:105px!important}.tpwc-brand-logo.tpwc-custom-brand img{max-width:92px!important;max-height:20px!important}}

/* v1.2.30 — logo oficial Mercado Pago */
.tpwc-brand-logo.tpwc-mercadopago{width:104px!important;min-width:104px!important;height:32px!important;padding:3px 7px!important}
.tpwc-brand-logo.tpwc-mercadopago .tpwc-mercadopago-official{display:block!important;width:92px!important;max-width:92px!important;height:auto!important;max-height:24px!important;object-fit:contain!important}
@media(max-width:480px){.tpwc-brand-logo.tpwc-mercadopago{width:96px!important;min-width:96px!important}.tpwc-brand-logo.tpwc-mercadopago .tpwc-mercadopago-official{width:84px!important;max-width:84px!important;max-height:22px!important}}

/* v1.2.31 — Mercado Pago incorporado localmente; sem hotlink externo */
.tpwc-brand-logo.tpwc-mercadopago{width:52px!important;min-width:52px!important;height:32px!important;padding:3px 8px!important}
.tpwc-brand-logo.tpwc-mercadopago .tpwc-mercadopago-official{display:block!important;width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;object-fit:contain!important}
@media(max-width:480px){.tpwc-brand-logo.tpwc-mercadopago{width:48px!important;min-width:48px!important}.tpwc-brand-logo.tpwc-mercadopago .tpwc-mercadopago-official{width:26px!important;height:26px!important}}

/* v1.2.32 — imagem Mercado Pago fornecida pelo usuário */
.tpwc-brand-logo.tpwc-mercadopago{width:112px!important;min-width:112px!important;height:36px!important;padding:2px 5px!important;overflow:hidden!important}
.tpwc-brand-logo.tpwc-mercadopago .tpwc-mercadopago-official{display:block!important;width:100px!important;height:30px!important;max-width:100px!important;max-height:30px!important;object-fit:contain!important;border-radius:4px!important}
@media(max-width:480px){.tpwc-brand-logo.tpwc-mercadopago{width:102px!important;min-width:102px!important;height:34px!important}.tpwc-brand-logo.tpwc-mercadopago .tpwc-mercadopago-official{width:92px!important;height:28px!important;max-width:92px!important;max-height:28px!important}}

/* v1.2.66 — Economia no Pix ativa e configurável */
.tpwc-saving{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  max-width:100%;
  box-sizing:border-box;
  background:var(--tpwc-saving-bg,#16c967);
  color:var(--tpwc-saving-color,#fff);
  font-size:var(--tpwc-saving-size,14px);
  line-height:1.25;
  font-weight:700;
  border-radius:var(--tpwc-saving-radius,8px);
  padding:var(--tpwc-saving-pt,7px) var(--tpwc-saving-pr,10px) var(--tpwc-saving-pb,7px) var(--tpwc-saving-pl,10px);
  margin-top:5px;
}
.tpwc-saving-icon{font-size:1em;line-height:1;flex:0 0 auto}
.tpwc-loop .tpwc-saving{display:inline-flex;margin-top:4px}
.tpwc-sc-saving{display:inline-flex}
@media(max-width:620px){.tpwc-saving{white-space:normal}}

/* v1.2.69 — Boleto: visual azul claro profissional */
.tpwc-pay-boleto .tpwc-pay-iconbox{background:#eaf5ff!important;color:#1967b2!important;border-color:#cfe6fb!important}
.tpwc-discount-chip.is-boleto{background:#eaf5ff!important;color:#1967b2!important;border-color:#cfe6fb!important}

/* v1.3.5 - identificadores neutros de meios de pagamento para distribuição pública */
.tpwc-neutral-brand{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:24px;padding:0 7px;border:1px solid currentColor;border-radius:5px;font:700 9px/1 Arial,Helvetica,sans-serif;white-space:nowrap;box-sizing:border-box}
.tpwc-neutral-pix{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;vertical-align:middle}
.tpwc-neutral-pix-mark{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:18px;padding:0 4px;border:1px solid currentColor;border-radius:4px;font:800 8px/1 Arial,Helvetica,sans-serif;box-sizing:border-box}

/* v1.3.6 - apresentação neutra e compacta das bandeiras no frontend */
.tpwc-neutral-brand{
    min-width:0;
    height:auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    font:700 10px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

/* v1.3.7 - logos locais compactos no frontend */
.tpwc-payment-brand-img{
    display:block;width:auto;height:24px;max-width:92px;object-fit:contain;
    background:transparent;border:0;box-shadow:none;
}

/* v1.3.9 - Mercado Pago: mantém o SVG amarelo visível e proporcional */
.tpwc-payment-brand-img[src*="mercado-pago.svg"]{
    height:26px;
    max-width:100px;
    border-radius:5px;
}

/* v1.3.10 — Pix e Boleto lado a lado no popup em desktop */
@media (min-width:769px){
  #tpwc-modal .tpwc-payments-modern{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:12px!important;
  }
  #tpwc-modal .tpwc-payments-modern > .tpwc-pay-credit,
  #tpwc-modal .tpwc-payments-modern > .tpwc-pay-debit{
    grid-column:1 / -1!important;
  }
  #tpwc-modal .tpwc-payments-modern > .tpwc-pay-pix,
  #tpwc-modal .tpwc-payments-modern > .tpwc-pay-boleto{
    grid-column:auto!important;
    margin-bottom:0!important;
    min-width:0!important;
  }
}
@media (max-width:768px){
  #tpwc-modal .tpwc-payments-modern{
    display:block!important;
  }
}


/* v1.3.13 — robustez do popup para visitantes/cache.
   Reaplica o layout aprovado com seletores mais específicos e sem depender do estado do admin. */
#tpwc-modal .tpwc-payments.tpwc-payments-modern{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
}
#tpwc-modal .tpwc-payments-modern > .tpwc-pay-card{
    box-sizing:border-box!important;
    min-width:0!important;
}
#tpwc-modal .tpwc-pay-card .tpwc-installment-row,
#tpwc-modal .tpwc-installment-row{
    gap:10px!important;
}
#tpwc-modal .tpwc-installment-row .tpwc-installment-count,
#tpwc-modal .tpwc-installment-row .tpwc-installment-status,
#tpwc-modal .tpwc-installment-row .tpwc-installment-value,
#tpwc-modal .tpwc-installment-row .tpwc-installment-total{
    margin:0!important;
}
@media (min-width:769px){
    #tpwc-modal .tpwc-payments.tpwc-payments-modern{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
        gap:14px!important;
        align-items:stretch!important;
    }
    #tpwc-modal .tpwc-payments-modern > .tpwc-pay-credit,
    #tpwc-modal .tpwc-payments-modern > .tpwc-pay-debit{
        grid-column:1 / -1!important;
    }
    #tpwc-modal .tpwc-payments-modern > .tpwc-pay-pix,
    #tpwc-modal .tpwc-payments-modern > .tpwc-pay-boleto{
        grid-column:auto!important;
        min-width:0!important;
        margin:0!important;
    }
}
@media (max-width:768px){
    #tpwc-modal .tpwc-payments.tpwc-payments-modern{
        display:block!important;
    }
    #tpwc-modal .tpwc-payments-modern > .tpwc-pay-card{
        width:100%!important;
        margin-bottom:12px!important;
    }
}

/* v1.4.0-RC3 — estilo configurável do link "Ver formas de pagamento" */
.tpwc-open,
.tpwc-accordion > summary{
    color:var(--tpwc-link-color,var(--tpwc-primary))!important;
    font-size:var(--tpwc-link-size,14px)!important;
    font-weight:var(--tpwc-link-weight,650)!important;
    text-transform:var(--tpwc-link-transform,none)!important;
    margin:var(--tpwc-link-mt,4px) var(--tpwc-link-mr,0) var(--tpwc-link-mb,0) var(--tpwc-link-ml,0)!important;
    padding:var(--tpwc-link-pt,0) var(--tpwc-link-pr,0) var(--tpwc-link-pb,0) var(--tpwc-link-pl,0)!important;
}
