/* Formulário COD (substitui o formulário embutido do original, mesmo visual "v4") */
.bf-form{--bg:#f0f2f4;--card:#fff;--line:#d9dde3;--ink:#16191d;--muted:#5d6570;--navy:#1d3567;--navy-bg:#eef2fa;
  --green:#15803d;--cta1:#2fa54f;--cta2:#1f8a3c;--cta-edge:#17692d;--err:#c62828;
  font-family:"Open Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);
  background:var(--bg);border-radius:18px;padding:20px 10px 24px;max-width:100%;box-sizing:border-box;
  -webkit-font-smoothing:antialiased;line-height:1.35;text-align:left}
.bf-form *{box-sizing:border-box;font-family:inherit}
.bf-form h2,.bf-form h3,.bf-form p{letter-spacing:normal;text-transform:none}
.bf-in{max-width:100%;margin:0 auto}
.bf-title{font-size:22px;font-weight:800;text-align:center;margin:0 0 6px;letter-spacing:.2px;line-height:1.2;color:var(--ink)}
.bf-sub{font-size:15.5px;font-weight:600;text-align:center;color:#2f353d;margin:0 0 16px;line-height:1.4}
.bf-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 14px}
.bf-prod{display:flex;align-items:center;gap:14px;padding-bottom:14px;border-bottom:1px solid #e6e8ec;margin-bottom:14px}
.bf-prod img{width:116px;height:96px;object-fit:contain;flex:none}
.bf-prod-name{font-size:20px;font-weight:800;margin:0 0 4px}
.bf-stars{font-size:13px;color:var(--muted);font-weight:600;display:flex;align-items:center;gap:6px}
.bf-stars b{color:#c27c0e;letter-spacing:1px;font-size:14px}
.bf-stars .bf-cnt{display:none}
.bf-packhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:8px}
.bf-packhead strong{font-size:15.5px;font-weight:800}
.bf-chip{background:#e7f6ec;color:var(--green);font-size:12.5px;font-weight:700;border-radius:999px;padding:4px 9px;white-space:nowrap}
.bf-pack{position:relative;display:flex;align-items:center;gap:12px;border:1.5px solid var(--line);border-radius:12px;
  padding:14px 14px;margin-top:10px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.bf-pack:first-of-type{margin-top:0}
.bf-pack.sel{border:2px solid var(--navy);background:var(--navy-bg);padding:13.5px 13.5px}
.bf-pack input{position:absolute;opacity:0;pointer-events:none}
.bf-radio{width:22px;height:22px;border-radius:50%;border:2px solid #8b929b;flex:none;display:grid;place-items:center;background:#fff}
.bf-pack.sel .bf-radio{border-color:var(--navy)}
.bf-pack.sel .bf-radio:after{content:"";width:12px;height:12px;border-radius:50%;background:var(--navy)}
.bf-pack-main{flex:1;min-width:0}
.bf-pack-title{font-size:18px;font-weight:800;line-height:1.25}
.bf-save{font-size:14px;font-weight:700;color:var(--green);margin-top:4px}
.bf-pack-price{text-align:right;flex:none}
.bf-pack-price b{display:block;font-size:21px;font-weight:800;white-space:nowrap}
.bf-pack-price s{font-size:13px;color:#7a828c;white-space:nowrap}
.bf-tag{position:absolute;top:-11px;left:14px;background:var(--navy);color:#fff;font-size:11.5px;font-weight:800;
  border-radius:6px;padding:2px 8px;letter-spacing:.2px}
.bf-pack.has-tag{margin-top:20px}
.bf-h2{font-size:20px;font-weight:800;margin:22px 0 12px;letter-spacing:.2px}
.bf-f{margin-bottom:12px}
.bf-f label{display:block;font-size:17px;font-weight:700;margin-bottom:7px}
.bf-f label small{font-weight:400;font-size:12px;color:var(--muted)}
.bf-f input,.bf-f select,.bf-f textarea{width:100%;height:54px;border:1px solid #cdd2d9;border-radius:9px;background:#fff;
  font:inherit;font-size:16px;color:var(--ink);padding:0 14px;outline:none;-webkit-appearance:none;appearance:none}
.bf-f textarea{height:84px;padding:12px 14px;resize:vertical}
.bf-f select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}
.bf-f select:invalid{color:#6b7280}
.bf-f input::placeholder,.bf-f textarea::placeholder{color:#9aa1aa}
.bf-f input:focus,.bf-f select:focus,.bf-f textarea:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(29,53,103,.12)}
.bf-f.err input,.bf-f.err select{border-color:var(--err);background:#fff8f8}
.bf-msg{display:none;color:var(--err);font-size:13px;font-weight:600;margin-top:5px}
.bf-f.err .bf-msg{display:block}
.bf-help{font-size:13px;color:#4b525c;margin-top:5px}
.bf-tel{display:flex;border:1px solid #cdd2d9;border-radius:9px;overflow:hidden;background:#fff}
.bf-tel span{display:flex;align-items:center;gap:7px;padding:0 13px;background:#efefef;border-right:1px solid #cdd2d9;font-weight:700;font-size:16px;flex:none}
.bf-tel span svg{width:22px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.08);flex:none}
.bf-tel input{border:0!important;border-radius:0;box-shadow:none!important}
.bf-f.err .bf-tel{border-color:var(--err)}
.bf-row{display:flex;gap:10px}.bf-row>.bf-f{flex:1;min-width:0}.bf-row>.bf-f.bf-narrow{flex:0 0 34%}
.bf-note-t{display:inline-block;background:none;border:0;padding:0;margin:2px 0 14px;font:inherit;font-size:15px;font-weight:700;
  color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bf-sum{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 15px;margin-top:2px}
.bf-sum-r{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:16px;margin:4px 0}
.bf-sum-r:first-child{font-weight:800}
.bf-sum-r s{color:#6c737d;font-weight:400;margin-right:4px}
.bf-sum-r em{font-style:normal;color:var(--green);font-weight:800}
.bf-sum-tot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e3e6ea;margin-top:11px;padding-top:11px;font-weight:800;font-size:15.5px}
.bf-sum-tot b{font-size:25px}
.bf-cta{display:block;width:100%;margin-top:14px;border:0;border-radius:12px;padding:17px 10px;cursor:pointer;
  background:linear-gradient(180deg,var(--cta1),var(--cta2));box-shadow:0 4px 0 var(--cta-edge);color:#fff;
  font:inherit;font-size:23px;font-weight:800;letter-spacing:.3px}
.bf-cta:active{transform:translateY(2px);box-shadow:0 2px 0 var(--cta-edge)}
.bf-cta[disabled]{opacity:.7;cursor:wait}
.bf-under{text-align:center;font-size:14px;font-weight:700;color:#3c434c;margin:12px 0 14px}
.bf-alert{display:none;background:#fdecea;color:#8e1c1c;border:1px solid #f4c4c0;border-radius:10px;padding:10px 12px;font-size:14px;margin-top:12px}
.bf-alert.on{display:block}
.bf-how{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 16px 6px}
.bf-how h3{font-size:17px;font-weight:800;margin:0 0 10px;line-height:1.3}
.bf-how ol{list-style:none;margin:0;padding:0}
.bf-how li{display:flex;gap:12px;align-items:flex-start;font-size:15.5px;line-height:1.45;padding:10px 0;border-top:1px solid #eceef1}
.bf-how li:first-child{border-top:0}
.bf-how li span{flex:none;width:22px;height:22px;border-radius:50%;background:#111;color:#fff;font-size:12.5px;font-weight:800;display:grid;place-items:center;margin-top:2px}
.bf-badges{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.bf-badges div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 4px 10px;text-align:center;font-size:12px;font-weight:700;line-height:1.3}
.bf-badges svg{display:block;margin:0 auto 6px;width:20px;height:20px;stroke:#333;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bf-foot{text-align:center;font-size:12.5px;font-weight:600;color:#4b525c;margin:14px 0 0}
.bf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* desktop: pacotes à esquerda, produto à direita (como o original) */
.bf-card{display:grid;grid-template-columns:1fr}
.bf-prod{order:0}.bf-packwrap{order:1}
@media (min-width:600px){
  .bf-form{padding:28px 18px 26px}
  .bf-title{font-size:26px}.bf-sub{font-size:16px}
  .bf-card{grid-template-columns:minmax(0,1fr) 210px;gap:22px;align-items:center}
  .bf-prod{order:2;flex-direction:column;text-align:center;border:0;padding:0;margin:0;gap:8px}
  .bf-prod img{width:150px;height:126px}
  .bf-stars{justify-content:center}.bf-stars .bf-cnt{display:inline}
  .bf-pack-title{font-size:21px}.bf-pack-price b{font-size:25px}.bf-save{font-size:15.5px}.bf-pack{padding:16px 18px}.bf-pack.sel{padding:15.5px 17.5px}.bf-prod-name{font-size:22px}
  .bf-h2{font-size:20px}.bf-f label{font-size:17px}
  .bf-sum-r{font-size:16px}.bf-sum-tot{font-size:16px}.bf-sum-tot b{font-size:26px}
  .bf-cta{font-size:26px;padding:19px 10px}
  .bf-how h3{font-size:17px}.bf-how li{font-size:16px}
  .bf-badges div{font-size:13px;padding:14px 4px 12px}
}
