@font-face{font-family:Geist;src:url('assets/geist-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--green:#15233f;--green-dark:#1d3157;--brand:#15233f;--ink:#15233f;--text:#334155;--muted:#64748b;--line:#e2e8f0;--bg:#f5f6f8;--ok:#15803d;--bad:#b91c1c}
*{box-sizing:border-box;margin:0}
body{font-family:Geist,ui-sans-serif,system-ui,sans-serif;background:var(--bg);color:var(--text);font-size:15px;line-height:1.45;-webkit-text-size-adjust:100%}
[hidden]{display:none!important}
.topbar{display:flex;align-items:center;justify-content:center;gap:8px;height:32px;background:var(--brand);color:#fff;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.topbar svg,.ship-note svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.header{display:flex;justify-content:center;padding:14px 16px;background:#fff;border-bottom:1px solid var(--line)}
.logo{display:inline-flex;gap:8px;align-items:center;color:#15233f;font-size:20px;font-weight:900;letter-spacing:-.02em;text-decoration:none}.logo span{color:#16a34a}
.wrap{max-width:1040px;margin:0 auto;padding:16px 16px 48px}
.layout{display:grid;gap:14px}
.steps{display:grid;gap:14px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}
h1{color:var(--ink);font-size:22px;letter-spacing:-.03em;line-height:1.2;margin:4px 0 8px}
h2{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:17px;letter-spacing:-.02em;margin-bottom:14px}
.num{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;font-size:13px}
.product{display:flex;gap:12px;align-items:center;margin-bottom:14px}.product img{border-radius:10px;border:1px solid var(--line);object-fit:cover}.product strong{display:block;color:var(--ink);font-size:15px}.product small{color:var(--muted)}
fieldset{border:0;padding:0}legend{font-size:13px;font-weight:700;color:var(--ink);margin-bottom:8px}
.qty-options,.pay-options{display:grid;gap:8px}
.option{position:relative;display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s}
.option input{appearance:none;width:20px;height:20px;flex:0 0 20px;border:2px solid #cbd5e1;border-radius:50%;margin:0;display:grid;place-items:center}
.option input:checked{border-color:var(--brand)}.option input:checked::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--brand)}
.option input:focus-visible{outline:3px solid #86efac;outline-offset:2px}
.option:has(input:checked){border-color:var(--brand);box-shadow:0 0 0 1px var(--brand);background:#f8fafc}
.option span{display:flex;flex:1;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 8px}.option b{color:#0f172a}.option em{font-style:normal;font-weight:800;color:var(--ink)}.option small{width:100%;color:var(--muted);font-size:13px}
.badge{font-style:normal;flex-shrink:0;border-radius:999px;background:#facc15;color:#0f1a30;padding:3px 8px;font-size:11px;font-weight:800}
.coupon{margin-top:14px}.coupon label{font-size:13px;font-weight:700;color:var(--ink)}
.coupon-row{display:flex;gap:8px;margin-top:6px}.coupon-row input{text-transform:uppercase}
.hint{font-size:13px;color:var(--muted);margin-top:6px;min-height:0}.hint:empty{display:none}.hint.ok{color:var(--ok);font-weight:700}.hint.bad{color:var(--bad)}
.totals{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;display:grid;gap:6px;font-size:14px}
.totals div{display:flex;justify-content:space-between;gap:12px}.totals dt{color:var(--muted)}.totals dd{color:var(--ink);font-weight:600}
.totals .free{color:var(--ok);font-weight:800}
.totals .total{margin-top:6px;padding-top:10px;border-top:1px solid var(--line);font-size:18px}.totals .total dt{color:var(--ink);font-weight:800}.totals .total dd{font-weight:850;color:var(--ink);font-size:22px;letter-spacing:-.03em}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grid label,.installments,.coupon label{display:block;font-size:13px;font-weight:600;color:var(--ink)}
.grid .full{grid-column:1/-1}.grid .city{grid-column:span 1}.grid .uf{grid-column:span 1}
.cep-status{align-self:end;margin:0 0 12px}
input,select{display:block;width:100%;height:46px;margin-top:5px;padding:0 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font:inherit;font-size:16px}
input:focus,select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #15233f1f}
.coupon-row input{margin-top:0}
.ghost{flex-shrink:0;height:46px;padding:0 16px;border:1px solid var(--green);border-radius:10px;background:#fff;color:var(--green);font:inherit;font-weight:800;cursor:pointer}
.installments{margin-top:12px}
.ship-note{display:flex;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;border-radius:10px;background:#16a34a14;color:var(--ok);font-size:13px;font-weight:700}
.buy{display:flex;align-items:center;justify-content:center;width:100%;height:56px;margin-top:16px;border:0;border-radius:12px;background:var(--green);color:#fff;font:inherit;font-size:17px;font-weight:800;cursor:pointer;text-decoration:none;transition:background .2s}
.buy:hover{background:var(--green-dark)}.buy:disabled{opacity:.7;cursor:wait}.buy.small{width:auto;height:46px;margin:0;padding:0 16px;font-size:15px;flex-shrink:0}
.privacy{margin-top:10px;font-size:12px;color:var(--muted);text-align:center}
.form-error{margin-top:14px;padding:10px 12px;border-radius:10px;background:#fef2f2;color:var(--bad);font-size:14px;font-weight:600}
.center{max-width:520px;margin:8px auto 0;text-align:center}
.eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--ok)}
.muted{color:var(--muted)}
.pix-card{max-width:520px;margin:8px auto 0}
.pix-title{display:flex;align-items:center;gap:8px;font-size:20px}.pix-title svg{width:20px;height:20px;flex-shrink:0;fill:var(--ok)}
.qr{display:block;width:220px;height:220px;margin:12px auto 0;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff}
.pix-label{margin-top:16px;font-size:13px;font-weight:600;color:var(--text)}
.pix-code{margin-top:6px;max-height:96px;overflow-y:auto;padding:12px;border-radius:12px;background:var(--bg);color:var(--text);font:11px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all;user-select:all}
#pix-copy{margin-top:12px}
.pix-steps{margin-top:20px;padding:16px;border-radius:12px;background:var(--bg)}
.pix-steps>p{color:var(--ink);font-size:14px;font-weight:800;letter-spacing:-.01em}
.pix-steps ol{display:grid;gap:9px;margin-top:10px;padding:0;list-style:none}
.pix-steps li{display:flex;gap:10px;font-size:13px;line-height:1.4;color:var(--text)}
.pix-steps li span{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0;margin-top:1px;border-radius:50%;background:var(--green);color:#fff;font-size:11px;font-weight:700}
.pix-warn{display:flex;gap:10px;margin-top:12px;padding:14px;border:1px solid #b4530940;border-radius:12px;background:#fffbeb;color:#92400e}
.pix-warn svg{width:18px;height:18px;flex-shrink:0;margin-top:1px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.pix-warn p{font-size:12.5px;line-height:1.4}
.pulse{position:relative;width:8px;height:8px;border-radius:50%;background:var(--ok)}
.pulse::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--ok);opacity:.6;animation:ping 1.2s cubic-bezier(0,0,.2,1) infinite}
.waiting{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;font-size:13px;color:var(--muted)}
.spinner{width:16px;height:16px;border:2px solid #cbd5e1;border-top-color:var(--ok);border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes ping{75%,to{transform:scale(2.4);opacity:0}}
.check{display:grid;place-items:center;width:64px;height:64px;margin:4px auto 8px;border-radius:50%;background:#16a34a1f;color:var(--ok);font-size:34px;font-weight:900}
.link{margin-top:18px}
@media(min-width:860px){
 .wrap{padding-top:28px}
 .layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start}
 .summary{grid-column:2;grid-row:1;position:sticky;top:16px}
 .steps{grid-column:1;grid-row:1}
 .card{padding:22px}
}
@media(max-width:380px){.grid{grid-template-columns:1fr}.cep-status{margin:0}}
@media(max-width:480px){.grid label:not(.city):not(.uf):not(.half){grid-column:1/-1}}
.product .qty-line{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:6px;background:#16a34a14;color:var(--ok);font-weight:800}
input.invalid{border-color:var(--bad);box-shadow:0 0 0 3px #b91c1c1f}input.valid{border-color:var(--ok)}
.field-error{display:block;margin-top:5px;color:var(--bad);font-size:12px;font-weight:600}
.ship-options{display:grid;gap:8px;margin-top:16px}
.ship-options .free-text{color:var(--ok)}
.product img{width:96px;height:96px;flex:0 0 96px;object-fit:contain;background:#fff;padding:4px}
.option .price-badge{display:inline-flex;align-items:center;gap:8px}

.header{justify-content:stretch;padding:12px 16px}
.header-inner{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1040px;margin:0 auto}
.secure{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:13px;font-weight:700}
.secure svg{width:16px;height:16px;fill:none;stroke:var(--ok);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card-fields{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.card-fields .installments{margin-top:0}
.card-input{position:relative;display:block}
.card-brand{position:absolute;right:10px;top:50%;transform:translateY(-50%);margin-top:2px;font-size:11px;font-weight:800;letter-spacing:.04em;color:var(--muted);text-transform:uppercase}
.secure-note{display:flex;align-items:center;gap:6px;margin-top:10px}
.secure-note svg{width:14px;height:14px;flex-shrink:0;fill:none;stroke:var(--ok);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Cabeçalho fixo no topo ao rolar */
.header{position:sticky;top:0;z-index:20;background:#ffffffee;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
@media(min-width:860px){.summary{top:72px}}
/* Order bump */
.bump{margin-top:16px;border:2px dashed #eab308;border-radius:14px;background:#fffbeb;overflow:hidden;transition:background .2s,border-color .2s}
.bump.on{border-style:solid;border-color:var(--ok);background:#f0fdf4}
.bump-head{padding:6px 10px;background:#facc15;color:#1c1917;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-align:center}
.bump.on .bump-head{background:var(--ok);color:#fff}
.bump-check{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer}
.bump-check input{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:var(--ok);cursor:pointer}
.bump-check img{width:64px;height:64px;flex:0 0 64px;border-radius:10px;border:1px solid var(--line);background:#fff;object-fit:cover}
.bump-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.bump-title{color:var(--ink);font-size:14.5px;font-weight:800;line-height:1.3}
.bump-price{color:var(--ok);white-space:nowrap}
.bump-desc{color:var(--text);font-size:13px;line-height:1.35}
.bump-note{color:#b45309;font-size:12px;font-weight:700;line-height:1.3}
.bump.on .bump-note{display:none}

/* Resumo: nota, prazo, cupom recolhido, selos e rodapé com dados da empresa */
.sum-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:-4px 0 6px;font-size:13px;color:var(--muted)}
.sum-rating{color:#b45309;font-weight:700}
.sum-eta{display:inline-flex;align-items:center;gap:6px}.sum-eta b{color:var(--ok)}
.sum-eta svg,.trust-row svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:var(--ok);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
details.coupon summary{cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:var(--green);text-decoration:underline;text-underline-offset:2px}
details.coupon summary::-webkit-details-marker{display:none}
details.coupon[open] .coupon-row{margin-top:8px}
.field-hint{display:block;margin-top:4px;font-size:11.5px;font-weight:400;color:var(--muted)}
.trust-row{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;margin:12px 0 0;padding:0;list-style:none;font-size:12.5px;color:var(--text)}
.trust-row li{display:inline-flex;align-items:center;gap:5px}
.legal{max-width:1040px;margin:0 auto;padding:4px 16px 36px;text-align:center;font-size:12px;line-height:1.7;color:var(--muted)}
.legal b{color:var(--ink)}.legal a{color:var(--muted)}.legal a:hover{color:var(--green)}

/* Depoimentos de entrega abaixo do botão de pagar, um embaixo do outro */
.delivery-reviews{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.delivery-reviews-title{font-size:13px;font-weight:800;color:var(--ink)}
.delivery-reviews-note{margin-top:2px;font-size:11px;color:#64748b}
.delivery-reviews-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.delivery-review{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.delivery-review .stars{color:#e5a400;font-size:12px;letter-spacing:1px}
.delivery-review blockquote{margin:3px 0 0;font-size:13px;line-height:1.45;color:var(--text)}
.delivery-review figcaption{margin-top:5px;font-size:12px;font-weight:700;color:var(--ink)}

/* Resumo do pedido: cabeçalho que recolhe, produto com quantidade, cupom e totais em seções */
.card.summary{padding:0;overflow:hidden}
.sum-head{display:flex;align-items:center;gap:8px;width:100%;padding:16px 18px;border:0;background:none;font:inherit;text-align:left;cursor:pointer}
.sum-head h2{margin:0;font-size:16px;color:var(--ink)}
.sum-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:6px;background:#f1f5f9;color:var(--ink);font-size:12px;font-weight:800}
.sum-chevron{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.sum-head[aria-expanded=false] .sum-chevron{transform:rotate(180deg)}
.sum-head-total{margin-left:auto;color:var(--ink);font-size:18px;font-weight:850;white-space:nowrap}
.sum-section{margin:0;padding:16px 18px;border-top:1px solid var(--line)}
.summary .product{display:flex;gap:14px;align-items:flex-start;margin:0}
.summary .product img{width:80px;height:80px;flex:0 0 80px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#fff;object-fit:contain}
.product-info{flex:1;min-width:0}
.product-info strong{display:block;color:var(--ink);font-size:15px;line-height:1.3}
.product-info small{display:block;margin-top:3px;color:var(--muted);font-size:13px}
.product-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.stepper{display:inline-flex;align-items:center;height:40px;border:1px solid var(--line);border-radius:10px}
.stepper button{display:grid;place-items:center;width:38px;height:38px;border:0;background:none;color:var(--ink);cursor:pointer}
.stepper button:disabled{color:#cbd5e1;cursor:default}
.stepper svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.stepper output{min-width:22px;text-align:center;font-weight:800;color:var(--ink)}
.product-price{color:var(--ink);font-size:15px;white-space:nowrap}
.summary .sum-meta{padding-top:0;border-top:0;margin-top:-4px}
.summary .coupon{margin:0}
.summary .coupon-row input{text-transform:uppercase}
.summary .totals{margin:0;gap:8px}
.totals .discount{color:var(--ok)}
.totals .total dd{color:var(--ink)}
.installments-note{margin:-2px 0 0;text-align:right;font-size:12.5px;color:var(--muted)}
@media(min-width:860px){.sum-head{cursor:default;pointer-events:none}.sum-chevron{display:none}}
