:root {
  --brand: #1e4a2c;
  --brand-ink: #163a1d;
  --brand-soft: #eef7e3;
  --lime: #c4f06a;
  --lime-ink: #163a1d;
  --forest: #1e4a2c;
  --forest-ink: #c4f06a;
  --pix: #32bcad;
  --badge-bg: #d9e7ef;
  --badge-ink: #2f5d6e;
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #16181a;
  --soft: #3f4a52;
  --muted: #6b7682;
  --line: #ecf0f3;
  --field: #d4dbe1;
  --track: #e9ecef;
  --err: #c0392b;
  --ok: #1e4a2c;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sprite { position: absolute; }
[hidden] { display: none !important; }

.wrap { max-width: 440px; margin: 0 auto; padding: 12px 16px 14px; min-height: 100dvh; display: flex; flex-direction: column; }
.wrap > .trust { margin-top: auto; }

.topbar { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.brand-badge { display: grid; place-items: center; width: 30px; height: 30px; background: var(--forest); border-radius: 9px; }
.brand-badge svg { width: 16px; height: 16px; color: #fff; }
.s-body { fill: #fff; }
.safe { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); }
.safe svg { width: 12px; height: 12px; }
.brand-logo { height: 28px; max-width: 160px; object-fit: contain; }

.test { margin: 0 0 12px; padding: 8px 12px; font-size: 12px; font-weight: 600; color: #7a4b00; background: #fff3d6; border-radius: 10px; text-align: center; }

/* ===== Faixa de cabeçalho (verde-escuro) ===== */
.header-band { background: linear-gradient(160deg, #27603a, var(--forest)); border-radius: 18px; padding: 11px 16px 13px; margin-bottom: 10px; color: #fff; box-shadow: 0 10px 26px color-mix(in srgb, var(--forest) 32%, transparent); }
.header-band .topbar { padding: 0 0 10px; }
.header-band .brand { color: #fff; }
.header-band .brand-badge { background: rgba(255, 255, 255, .16); }
.header-band .brand-badge svg { color: #fff; }
.header-band .safe { color: rgba(255, 255, 255, .9); }
.header-band .hero { padding: 0 2px; }
.header-band .helping { color: rgba(255, 255, 255, .82); }
.header-band .beneficiary { color: #fff; }
.header-band .total { color: #fff; }
.header-band .subtitle { color: rgba(255, 255, 255, .9); }

/* ===== Hero ===== */
.hero { padding: 0 2px 10px; }
.helping { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.beneficiary { margin: 2px 0 0; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.total { margin: 2px 0 0; font-size: 33px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.subtitle { margin: 8px 0 0; font-size: 14px; line-height: 1.38; font-weight: 500; color: var(--soft); }
.subtitle:empty { display: none; }
.extras { margin: 8px 0 0; padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--forest); background: var(--brand-soft); border-radius: 10px; text-align: center; }

/* ===== Cartão / formulário ===== */
.card { background: var(--card); border-radius: 18px; padding: 13px 14px; margin-top: 12px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,27,34,.04), 0 10px 30px rgba(20,27,34,.07); }
#form { display: flex; flex-direction: column; gap: 8px; }
.form-head { margin-bottom: 2px; }
.form-head h2 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.form-head p { margin: 4px 0 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.card + .card, section + section { margin-top: 14px; }
.card-title { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }

.text {
  width: 100%; height: 46px; padding: 0 14px; margin: 0;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--field); border-radius: 12px;
  transition: border-color .12s, box-shadow .12s;
}
.text:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 15%, transparent); }
.text::placeholder { color: #93a0ab; }
.mailhint { display: flex; flex-wrap: wrap; gap: 6px; }
.mailhint-opt { padding: 7px 11px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--forest); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--forest) 20%, transparent); border-radius: 9px; cursor: pointer; }
.mailhint-opt:hover { background: color-mix(in srgb, var(--forest) 12%, #fff); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.pair .text { padding: 0 12px; }
.pair-col { min-width: 0; }
.field-err { margin: 5px 2px 0; font-size: 12px; line-height: 1.3; color: var(--err); font-weight: 600; }
.field-err:empty { display: none; }
.text.is-invalid { border-color: var(--err); }
.text.is-invalid:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--err) 15%, transparent); }

/* Modo "só Nome + CPF": esconde e-mail e celular */
body.only-cpf #email, body.only-cpf #emailErr, body.only-cpf #mailHint, body.only-cpf #phoneCol { display: none; }
body.only-cpf .pair { grid-template-columns: 1fr; }

.bumps:not(:empty) { display: flex; flex-direction: column; gap: 8px; }
.bump { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border: 1.5px solid var(--field); border-radius: 13px; cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s; }
.bump:has(input:checked) { border-color: var(--forest); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--forest) inset; }
.bump:has(input:focus-visible) { outline: 2px solid var(--forest); outline-offset: 2px; }
.bump-art { flex: none; width: 36px; height: 36px; display: grid; place-items: center; color: #2b343d; background: linear-gradient(160deg, #f0f2f4, #dfe4e8); border-radius: 10px; filter: grayscale(1); }
.bump-art svg { width: 26px; height: 26px; }
.bump:has(input:checked) .bump-art { color: var(--forest); background: linear-gradient(160deg, #fff, var(--brand-soft)); filter: none; }
.bump-body { flex: 1; min-width: 0; }
.bump-title { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.bump-desc { display: none; }
.bump-price { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--forest); }
.bump input { width: 20px; height: 20px; flex: none; accent-color: var(--forest); }

.payrow { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1.5px solid var(--field); border-radius: 13px; }
.payrow.selected { border-color: var(--forest); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--forest) inset; }
.payradio { flex: none; width: 19px; height: 19px; border-radius: 50%; border: 2px solid var(--forest); display: grid; place-items: center; }
.payrow.selected .payradio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.pix-mark { width: 24px; height: 24px; color: var(--pix); flex: none; }
.payrow-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.payrow-note { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--forest); }

/* ===== Botões estilo referência ===== */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 52px; margin-top: 4px; padding: 13px;
  font: inherit; font-weight: 800; font-size: 17px; letter-spacing: -.01em;
  color: var(--lime-ink); background: var(--lime);
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .06s, filter .12s;
}
.btn:hover { filter: brightness(1.03); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: wait; }
.btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.btn svg { width: 19px; height: 19px; }
.btn.share { color: var(--forest-ink); background: var(--forest); }
.btn.ghost { color: var(--ink); background: #fff; border: 1.5px solid var(--field); font-size: 14px; min-height: 48px; }

.error { margin: 4px 0 0; font-size: 13.5px; color: var(--err); text-align: center; }
.error:empty { display: none; }
.terms { margin: 4px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); text-align: center; }
.terms-link { padding: 0; font: inherit; color: var(--forest); font-weight: 700; background: none; border: 0; text-decoration: underline; cursor: pointer; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 14px 0 2px; }
.trust-chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; font-size: 12px; font-weight: 700; color: var(--forest); background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 2px 8px rgba(20,27,34,.05); }
.trust-chip svg { width: 12px; height: 12px; color: var(--forest); }

/* ===== Pix ===== */
.pix-cta { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px; background: var(--brand-soft); border: 1.5px solid color-mix(in srgb, var(--forest) 25%, #fff); border-radius: 14px; }
.pix-cta-emoji { font-size: 26px; line-height: 1; }
.pix-cta strong { display: block; font-size: 15.5px; color: var(--forest); }
.pix-cta span { display: block; font-size: 13px; color: var(--soft); }
.qr-box { display: grid; place-items: center; padding: 14px; margin: 0 auto 10px; width: max-content; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; }
#qr { display: block; width: 200px; height: 200px; }
.qr-hint { margin: 0 0 12px; text-align: center; font-size: 13px; color: var(--muted); }
.code { padding: 12px; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--soft); background: #f6f8fa; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; max-height: 74px; overflow: auto; }
.steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; font-size: 13.5px; color: var(--soft); }
.steps li { counter-increment: s; display: flex; gap: 10px; padding: 5px 0; }
.steps li::before { content: counter(s); flex: none; width: 21px; height: 21px; font-size: 12px; font-weight: 700; line-height: 21px; text-align: center; color: var(--forest); background: var(--brand-soft); border-radius: 50%; }
.wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ===== Fim ===== */
.end { text-align: center; padding: 28px 22px; }
.end-emblem { display: inline-grid; place-items: center; }
.end-emblem svg { width: 72px; height: 72px; }
.c-bg { fill: var(--brand-soft); }
.c-mark { stroke: var(--forest); }
.end h2 { margin: 16px 0 10px; font-size: 23px; letter-spacing: -.01em; }
.end-amount { display: inline-block; margin: 0 0 12px; padding: 8px 18px; font-size: 18px; font-weight: 800; color: var(--forest); background: var(--brand-soft); border-radius: 999px; font-variant-numeric: tabular-nums; }
.end p { margin: 0 0 4px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.end-benef { margin-top: 8px !important; font-weight: 600; color: var(--ink) !important; }
.end-foot { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted) !important; }
.end-foot svg { width: 16px; height: 16px; color: var(--forest); }
.end.failed .end-emblem svg { width: 56px; height: 56px; }
.end.failed h2 { color: var(--err); }
.end.failed .c-bg { fill: #f6e0df; }
.end.failed .c-mark { stroke: var(--err); }
.end.failed .end-foot { display: none; }

.foot { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.foot-top { display: inline-flex; align-items: center; gap: 7px; }
.foot svg { width: 12px; height: 12px; }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,16,20,.5); backdrop-filter: blur(2px); }
.modal-box { position: relative; width: 100%; max-width: 460px; max-height: 86vh; overflow-y: auto; background: var(--card); border-radius: 20px 20px 0 0; padding: 20px; box-shadow: 0 -8px 40px rgba(0,0,0,.25); animation: sheet .22s ease-out; }
@keyframes sheet { from { transform: translateY(16px); opacity: .6; } }
@media (min-width: 560px) { .modal { place-items: center; } .modal-box { border-radius: 20px; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.modal-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 18px; }
.p-heart { display: grid; place-items: center; width: 30px; height: 30px; background: var(--brand-soft); border-radius: 9px; }
.p-heart svg { width: 17px; height: 17px; color: var(--forest); }
.modal-close { width: 34px; height: 34px; font-size: 15px; color: var(--soft); background: #f6f8fa; border: 0; border-radius: 10px; cursor: pointer; }
.p-lead { margin: 0 0 6px; font-size: 14px; color: var(--soft); }
.secure-list { margin: 0; padding: 0; list-style: none; }
.secure-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.secure-list li:first-child { border-top: 0; padding-top: 2px; }
.secure-list svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--forest); }
.secure-list .s-body { fill: currentColor; }
.secure-list strong { display: block; font-size: 14px; }
.secure-list span { display: block; font-size: 13px; color: var(--muted); }

.invalid { max-width: 420px; margin: 80px auto; padding: 0 20px; text-align: center; color: var(--soft); }

/* ===== Tema 2 — Moderno (cabeçalho e botão na cor principal) ===== */
body[data-template="tema2"] .header-band { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 78%, #000), var(--brand)); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 32%, transparent); }
body[data-template="tema2"] .btn { background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 80%, #000)); color: #fff; }
body[data-template="tema2"] .payrow.selected,
body[data-template="tema2"] .bump:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; background: color-mix(in srgb, var(--brand) 9%, #fff); }
body[data-template="tema2"] .payradio { border-color: var(--brand); }
body[data-template="tema2"] .payrow.selected .payradio::after,
body[data-template="tema2"] .bump input { accent-color: var(--brand); }
body[data-template="tema2"] .pix-mark { color: var(--pix); }
body[data-template="tema2"] .terms-link,
body[data-template="tema2"] .bump-price,
body[data-template="tema2"] .payrow-note { color: var(--brand); }

/* ===== Tema 3 — Clean (cabeçalho branco, botão na cor principal) ===== */
body[data-template="tema3"] .header-band { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 27, 34, .05), 0 8px 24px rgba(20, 27, 34, .06); }
body[data-template="tema3"] .header-band .brand { color: var(--ink); }
body[data-template="tema3"] .header-band .brand-badge { background: var(--brand); }
body[data-template="tema3"] .header-band .brand-badge svg { color: #fff; }
body[data-template="tema3"] .header-band .safe { color: var(--muted); }
body[data-template="tema3"] .header-band .helping { color: var(--muted); }
body[data-template="tema3"] .header-band .beneficiary,
body[data-template="tema3"] .header-band .total { color: var(--ink); }
body[data-template="tema3"] .header-band .subtitle { color: var(--soft); }
body[data-template="tema3"] .btn { background: var(--brand); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
body[data-template="tema3"] .payrow.selected,
body[data-template="tema3"] .bump:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; background: color-mix(in srgb, var(--brand) 8%, #fff); }

@media (max-width: 380px) {
  .total { font-size: 30px; }
}

/* ===================== Tema DISPARO (e-commerce · Pix) ===================== */
body[data-template="disparo"] {
  --dsp-blue: #1d3fd0;
  --dsp-green: #3dc46a;
  --dsp-yellow: #eab308;
  --dsp-yellow-bg: #fffae6;
  --dsp-ink: #1f2937;
  --dsp-muted: #6b7280;
  background: #f3f4f6;
}

/* Blocos exclusivos de cada tema */
.dsp-only { display: none; }
body[data-template="disparo"] .default-only { display: none !important; }
body[data-template="disparo"] .dsp-only { display: revert; }

body[data-template="disparo"] .wrap { max-width: 480px; padding: 0 0 8px; background: #f3f4f6; }
body[data-template="disparo"] .test { margin: 10px 16px 0; }

/* Cabeçalho branco: logo à esquerda, "PAGAMENTO 100% SEGURO" à direita */
body[data-template="disparo"] .header-band {
  background: #fff; color: var(--dsp-ink); border-radius: 0;
  box-shadow: 0 1px 0 #e5e7eb; padding: 14px 16px 0; margin: 0;
}
body[data-template="disparo"] .header-band .topbar { padding: 0 0 12px; }
body[data-template="disparo"] .header-band .brand { color: var(--dsp-ink); font-size: 16px; }
body[data-template="disparo"] .header-band .brand-badge { background: var(--dsp-blue); }
body[data-template="disparo"] .brand-logo { height: 34px; max-width: 200px; }
body[data-template="disparo"] .pay-secure { display: inline-flex; align-items: center; gap: 7px; }
.pay-secure svg { width: 18px; height: 18px; color: #6b7280; }
.pay-secure-text { display: flex; flex-direction: column; line-height: 1.12; text-align: right; font-size: 11px; color: var(--dsp-muted); }
.pay-secure-text strong { font-size: 12.5px; color: var(--dsp-ink); letter-spacing: .03em; }

/* Faixa azul com a frase (o valor vai para o Resumo) */
body[data-template="disparo"] .hero { background: var(--dsp-blue); margin: 0; padding: 18px 20px; text-align: center; }
body[data-template="disparo"] .hero .helping { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; }
body[data-template="disparo"] .hero .total, body[data-template="disparo"] .hero .beneficiary { display: none; }
body[data-template="disparo"] .hero .subtitle { color: rgba(255,255,255,.9); }

/* Passos 1 Identificação / 2 Pagamento */
body[data-template="disparo"] .dsp-steps { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 16px 4px; }
.dsp-step { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dsp-muted); }
.dsp-num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #d1d5db; color: #fff; font-weight: 700; font-size: 14px; }
.dsp-step.active { color: #16a34a; }
.dsp-step.active .dsp-num { background: #22c55e; }
.dsp-line { width: 54px; height: 3px; border-radius: 2px; margin-bottom: 20px; background: linear-gradient(90deg, #22c55e, #d1d5db); }

/* Resumo recolhível */
body[data-template="disparo"] .dsp-resumo { margin: 14px 16px 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.dsp-resumo summary { display: flex; align-items: center; gap: 10px; padding: 16px; font-weight: 700; font-size: 15px; color: var(--dsp-ink); cursor: pointer; list-style: none; }
.dsp-resumo summary::-webkit-details-marker { display: none; }
.dsp-resumo-total { margin-left: auto; font-weight: 800; color: var(--dsp-ink); }
.dsp-chevron { font-size: 22px; color: #9ca3af; transition: transform .15s; }
.dsp-resumo[open] .dsp-chevron { transform: rotate(90deg); }
.dsp-resumo-body { padding: 0 16px 14px; }
.dsp-resumo-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--dsp-muted); padding: 5px 0; }
.dsp-resumo-line.total { border-top: 1px solid #e5e7eb; margin-top: 6px; padding-top: 10px; font-weight: 800; color: var(--dsp-ink); font-size: 15px; }

/* Cartão do formulário e ordem dos blocos */
body[data-template="disparo"] #formStep > .card, body[data-template="disparo"] #pixStep, body[data-template="disparo"] #endStep { margin: 14px 16px 0; }
body[data-template="disparo"] #form { display: flex; flex-direction: column; }
body[data-template="disparo"] #form > * { order: 2; }
body[data-template="disparo"] #form > #dspHead1 { order: 1; }
body[data-template="disparo"] #form > #dspHead2 { order: 3; }
body[data-template="disparo"] #form > .payrow { order: 4; }
body[data-template="disparo"] #form > #dspPayInfo { order: 5; }
body[data-template="disparo"] #form > #dspOffers { order: 6; }
body[data-template="disparo"] #form > #bumpBlock { order: 7; }
body[data-template="disparo"] #form > #extras { order: 8; }
body[data-template="disparo"] #form > #submit { order: 9; }
body[data-template="disparo"] #form > #error { order: 10; }
body[data-template="disparo"] #form > .terms { order: 11; }

/* Labels e seções numeradas */
.dsp-label { font-size: 13px; font-weight: 600; color: var(--dsp-muted); margin: 12px 2px 5px; }
.dsp-req { color: #ef4444; }
body[data-template="disparo"] .text { border-radius: 10px; border-color: #d1d5db; }
body[data-template="disparo"] .text:focus { border-color: var(--dsp-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dsp-blue) 15%, transparent); }
body[data-template="disparo"] .dsp-sechead { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 12px; }
body[data-template="disparo"] #dspHead2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid #eef0f2; }
.dsp-secnum { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--dsp-blue); color: #fff; font-weight: 700; font-size: 14px; }
.dsp-sechead strong { display: block; font-size: 17px; color: var(--dsp-ink); }
.dsp-sechead > div > span { display: block; margin-top: 3px; font-size: 13px; color: var(--dsp-muted); line-height: 1.4; }

/* Linha de pagamento Pix */
body[data-template="disparo"] .payrow.selected { border-color: var(--dsp-green); background: #f0fdf4; box-shadow: 0 0 0 1px var(--dsp-green) inset; }
body[data-template="disparo"] .payrow.selected .payradio::after { background: var(--dsp-green); }
body[data-template="disparo"] .pix-mark { color: var(--dsp-green); }
body[data-template="disparo"] .payrow-note { margin-left: auto; color: #92400e; background: #fde68a; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.dsp-payinfo { margin: 10px 2px 0; font-size: 13.5px; color: var(--dsp-muted); line-height: 1.4; }

/* Banner de ofertas */
body[data-template="disparo"] .dsp-offers { margin: 16px 0 2px; padding: 11px; text-align: center; font-weight: 800; font-size: 13.5px; color: #92400e; background: var(--dsp-yellow-bg); border: 2px dashed var(--dsp-yellow); border-radius: 12px; letter-spacing: .02em; }

/* Cards de order bump */
body[data-template="disparo"] #bumpBlock { border: 2px dashed var(--dsp-yellow); border-radius: 14px; background: var(--dsp-yellow-bg); padding: 4px 12px; margin-top: 10px; }
body[data-template="disparo"] #bumps { display: flex; flex-direction: column; }
.dsp-bump { display: block; position: relative; padding: 16px 2px; cursor: pointer; }
.dsp-bump + .dsp-bump { border-top: 1px dashed #e8c766; }
.dsp-bump-check { position: absolute; opacity: 0; width: 0; height: 0; }
.dsp-bump-top { display: flex; gap: 14px; align-items: center; }
.dsp-bump-img { width: 76px; height: 76px; flex: none; border-radius: 12px; background: #fde68a; overflow: hidden; display: grid; place-items: center; }
.dsp-bump-img img { width: 100%; height: 100%; object-fit: cover; }
.dsp-bump-img.ph { background: #fef3c7; }
.dsp-bump-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dsp-bump-name { font-size: 14.5px; font-weight: 700; color: var(--dsp-ink); }
.dsp-bump-prices { display: flex; align-items: baseline; gap: 8px; }
.dsp-bump-prices s { color: #9ca3af; font-size: 13px; }
.dsp-bump-prices strong { color: var(--dsp-ink); font-size: 16px; font-weight: 800; }
.dsp-bump-desc { font-size: 12.5px; color: var(--dsp-muted); }
.dsp-bump-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 11px; border-radius: 10px; background: var(--dsp-green); color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: .02em; }
.dsp-bump-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; flex: none; display: grid; place-items: center; }
.dsp-bump.selected .dsp-bump-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.dsp-bump.selected .dsp-bump-btn { background: #16a34a; }

/* Botão Pagar */
body[data-template="disparo"] #submit { background: var(--dsp-green); color: #fff; border-radius: 10px; min-height: 54px; margin-top: 16px; }

/* Rodapé: só Pix + nome da loja + selo */
body[data-template="disparo"] .dsp-foot { margin-top: 18px; padding: 22px 16px; text-align: center; border-top: 1px solid #e5e7eb; }
.dsp-foot-title { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--dsp-ink); }
.dsp-foot-methods { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.dsp-pay { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--dsp-ink); }
.dsp-pay svg { width: 22px; height: 22px; color: var(--pix); }
.dsp-foot-store { margin: 0 0 14px; font-size: 15px; font-weight: 800; color: var(--dsp-green); }
.dsp-foot-safe { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--dsp-muted); }
.dsp-foot-safe svg { width: 22px; height: 22px; color: var(--dsp-green); }
