/* Legacy private test checkout rules */
.payment-checkout{border-top:1px solid #ddd;margin-top:1rem;padding-top:1rem}.payment-checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.payment-checkout-grid label{display:grid;gap:.25rem}.payment-checkout input,.payment-checkout select{width:100%;box-sizing:border-box}.payment-checkout button{margin:.3rem .3rem .3rem 0}@media(max-width:480px){.payment-checkout-grid{grid-template-columns:1fr}}
.payment-checkout [hidden],[hidden]{display:none!important}
.payment-checkout-pj-hint{grid-column:1/-1;margin:2px 0 4px;padding:8px 10px;border-left:3px solid #4AB25A;border-radius:4px;background:#f3faf5;color:#1f3d28;font-size:.82rem;line-height:1.4}

/* Official Nuvemshop 2-Column Checkout Parity (/loja/carrinho) */
*{box-sizing:border-box}
body.nuvem-chk-body{margin:0;background:#f2f2f2;color:#333;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;font-size:14px;line-height:1.45}
.nuvem-chk-topbar{background:#ffffff;border-bottom:1px solid #e6e6e6;padding:12px 24px}
.nuvem-chk-topbar-inner{max-width:1120px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nuvem-chk-logo-link{display:inline-flex;align-items:center;text-decoration:none}
.nuvem-chk-logo{height:48px;width:auto;object-fit:contain}
.nuvem-chk-lang-bar{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.nuvem-chk-lang-bar.is-inline{align-self:flex-end}
.nuvem-chk-lang-pill{padding:5px 10px;border:1px solid #d6d6d6;border-radius:999px;background:#fff;color:#333;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s}
.nuvem-chk-lang-pill:hover{border-color:#999;background:#f8f8f8}
.nuvem-chk-lang-pill.is-active{border-color:#EE6C7B;background:#fff3f5;color:#b83244}
.nuvem-chk-country-select{background:#fff;font-weight:500}

#nuvem-checkout-app{max-width:1040px;margin:0 auto;padding:24px 16px 56px}
.nuvem-chk-state-box{max-width:520px;margin:48px auto;padding:32px 24px;background:#fff;border:1px solid #e2e2e2;border-radius:6px;text-align:center}

.nuvem-chk-container{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,0.9fr);gap:48px;align-items:start}
.nuvem-chk-left{display:flex;flex-direction:column;gap:22px}

/* 3-Step Progress Bar: Carrinho — Entrega — Pagamento */
.nuvem-chk-stepper{display:flex;align-items:center;justify-content:space-between;padding:4px 12px 14px}
.nuvem-chk-step{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:#888;font-size:12.5px}
.nuvem-chk-step-circle{width:28px;height:28px;border-radius:50%;border:1.5px solid #aaa;background:#f2f2f2;display:grid;place-items:center;font-size:12px;color:#666}
.nuvem-chk-step.is-active{color:#111;font-weight:600}
.nuvem-chk-step.is-active .nuvem-chk-step-circle{border-color:#222;color:#111;background:#fff}
.nuvem-chk-step.is-done{color:#555}
.nuvem-chk-step.is-done .nuvem-chk-step-circle{border-color:#999;color:#555;background:#f7f7f7}
.nuvem-chk-step-line{flex:1;height:1px;background:#ccc;margin:0 8px 18px}
.nuvem-chk-step-line.is-done{background:#888}

.nuvem-chk-error-banner{padding:12px 14px;border:1px solid #f5c2c7;border-radius:5px;background:#fff5f5;color:#a61b29;font-size:13.5px;font-weight:500}

/* Sections, 2-Table Layout, Required (*) & Red Validation */
.nuvem-chk-section{display:flex;flex-direction:column;gap:12px}
.nuvem-chk-h2{margin:0 0 2px;font-size:16.5px;font-weight:500;color:#222}
.nuvem-chk-data-table{background:#ffffff;border:1px solid #d8d8d8;border-radius:6px;padding:14px 16px 16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.nuvem-chk-table-title{margin:0 0 2px;padding-bottom:8px;border-bottom:1px solid #ececec;font-size:13.5px;font-weight:600;color:#222;letter-spacing:.01em}
.nuvem-chk-field{display:flex;flex-direction:column;gap:4px;min-width:0}
.nuvem-chk-label{font-size:12.5px;font-weight:500;color:#333;display:inline-flex;align-items:center;gap:3px}
.nuvem-chk-req{color:#d92d20;font-weight:700;font-size:13.5px;line-height:1}
.nuvem-chk-opt-tag{font-size:11.5px;font-weight:400;color:#777}
.nuvem-chk-field-err{font-size:11.5px;font-weight:500;color:#d92d20;line-height:1.3;margin-top:1px}
.nuvem-chk-field.is-invalid .nuvem-chk-label{color:#b42318;font-weight:600}
.nuvem-chk-field.is-invalid .nuvem-chk-input,.nuvem-chk-field.is-invalid .nuvem-chk-select,.nuvem-chk-field.is-invalid .nuvem-chk-number-box{border-color:#d92d20!important;background:#fff6f6!important;box-shadow:0 0 0 2px rgba(217,45,32,.11)}
.nuvem-chk-input,.nuvem-chk-select,.nuvem-chk-textarea{width:100%;height:42px;padding:0 12px;border:1px solid #c9c9c9;border-radius:4px;background:#f7f7f7;color:#222;font-size:14px;transition:border-color .15s,background .15s,box-shadow .15s}
.nuvem-chk-textarea{height:auto;padding:10px 14px;resize:vertical;margin-top:8px}
.nuvem-chk-input:focus,.nuvem-chk-select:focus,.nuvem-chk-textarea:focus{outline:none;border-color:#555;background:#fff}
.nuvem-chk-select:disabled,.nuvem-chk-input:disabled{opacity:.65;cursor:not-allowed}
.nuvem-chk-checkbox-row{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:#555;cursor:pointer;user-select:none}
.nuvem-chk-checkbox-row input[type="checkbox"]{width:15px;height:15px;accent-color:#111}

/* CEP & Shipping Radio Cards */
.nuvem-chk-cep-lookup-row{display:flex;gap:10px}
.nuvem-chk-inline-link{font-size:12.5px;color:#333;text-decoration:underline;align-self:flex-start}
.nuvem-chk-ship-cards{display:flex;flex-direction:column;gap:8px}
.nuvem-chk-ship-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;background:#e8e8e8;border:1px solid transparent;border-radius:4px;cursor:pointer}
.nuvem-chk-ship-card.is-selected{background:#e6e6e6;border-color:#bdbdbd}
.nuvem-chk-ship-left{display:flex;align-items:flex-start;gap:10px}
.nuvem-chk-ship-box{width:16px;height:16px;border:1.5px solid #222;border-radius:50%;background:#fff;display:inline-grid;place-items:center;margin-top:2px;flex:0 0 16px}
.nuvem-chk-ship-box.is-checked::after{content:"";width:8px;height:8px;background:#111;border-radius:50%}
.nuvem-chk-ship-text{display:flex;flex-direction:column;gap:2px}
.nuvem-chk-ship-title{font-size:13.5px;color:#111;font-weight:500}
.nuvem-chk-ship-eta{font-size:12px;color:#666}
.nuvem-chk-ship-price{font-size:14px;color:#111;font-weight:600;white-space:nowrap}
.nuvem-chk-more-options{align-self:center;background:none;border:0;padding:4px 10px;font-size:13px;color:#222;cursor:pointer}

/* Address Summary & Editable State/City Grid */
.nuvem-chk-address-card{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #c9c9c9;border-radius:4px;background:#f4f4f4}
.nuvem-chk-address-lines{display:flex;flex-direction:column;gap:3px;font-size:13.5px;color:#222}
.nuvem-chk-address-lines p{margin:0}
.nuvem-chk-link-action{background:none;border:0;padding:0;font-size:12.5px;color:#333;text-decoration:underline;cursor:pointer;white-space:nowrap}
.nuvem-chk-addr-edit-grid{display:flex;flex-direction:column;gap:12px}
.nuvem-chk-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.nuvem-chk-number-box{display:flex;align-items:center;justify-content:space-between;height:42px;padding:0 10px 0 12px;border:1px solid #c9c9c9;border-radius:4px;background:#f7f7f7;gap:8px;transition:border-color .15s,background .15s,box-shadow .15s}
.nuvem-chk-number-input{border:0;background:transparent;height:100%;width:100%;font-size:14px;color:#222;outline:none}
.nuvem-chk-nonumber-lbl{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;color:#666;cursor:pointer}

/* Fiscal CPF / CNPJ + IE directly below CNPJ */
.nuvem-chk-doc-tabs{display:inline-flex;border:1px solid #c9c9c9;border-radius:4px;overflow:hidden;align-self:flex-start}
.nuvem-chk-doc-tab{padding:7px 14px;border:0;background:#f4f4f4;color:#444;font-size:12.5px;cursor:pointer}
.nuvem-chk-doc-tab.is-active{background:#222;color:#fff;font-weight:600}
.nuvem-chk-ie-input{border-color:#9ca3af;background:#fff}

/* Buttons */
.nuvem-chk-cta-wrap{display:flex;justify-content:center;gap:12px;margin-top:8px;flex-wrap:wrap}
.nuvem-chk-primary-btn{display:inline-flex;align-items:center;justify-content:center;min-width:240px;height:46px;padding:0 28px;border:0;border-radius:5px;background:#EE6C7B;color:#fff;font-size:14.5px;font-weight:500;text-decoration:none;cursor:pointer;transition:background .15s}
.nuvem-chk-primary-btn.is-full{width:100%}
.nuvem-chk-primary-btn:hover:not(:disabled){background:#e05666}
.nuvem-chk-primary-btn:disabled{opacity:.65;cursor:not-allowed}
.nuvem-chk-secondary-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border:1px solid #333;border-radius:4px;background:#fff;color:#222;font-size:13.5px;font-weight:500;text-decoration:none;cursor:pointer}

/* Step 2: Greeting, Recap & Payment Accordion */
.nuvem-chk-thanks-banner{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #c7dfc9;border-radius:5px;background:#dfeee0;color:#419645;font-size:13.5px;line-height:1.4}
.nuvem-chk-thanks-icon{font-size:18px;flex:0 0 auto}
.nuvem-chk-recap-card{display:flex;flex-direction:column;gap:14px;padding:6px 2px}
.nuvem-chk-recap-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:start;font-size:13px;color:#333}
.nuvem-chk-recap-body p{margin:0 0 2px}
.nuvem-chk-recap-sub{color:#666;font-size:12px}

.nuvem-chk-pay-accordion{border:1px solid #d8d8d8;border-radius:5px;background:#f7f7f7;overflow:hidden}
.nuvem-chk-pay-item{border-bottom:1px solid #e0e0e0}
.nuvem-chk-pay-item:last-child{border-bottom:0}
.nuvem-chk-pay-item.is-selected{background:#ffffff}
.nuvem-chk-pay-header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;cursor:pointer}
.nuvem-chk-pay-left{display:flex;align-items:center;gap:12px}
.nuvem-chk-radio{width:18px;height:18px;border-radius:50%;border:1.5px solid #999;background:#fff;display:inline-grid;place-items:center;flex:0 0 18px}
.nuvem-chk-radio.is-checked{border-color:#222}
.nuvem-chk-radio.is-checked::after{content:"";width:9px;height:9px;border-radius:50%;background:#222}
.nuvem-chk-pay-label-wrap{display:flex;flex-direction:column;gap:4px}
.nuvem-chk-pay-title{font-size:14.5px;color:#222;font-weight:400}
.nuvem-chk-pay-green-pill{display:inline-block;align-self:flex-start;padding:2px 8px;border-radius:4px;background:#45ac55;color:#fff;font-size:11.5px;font-weight:600}
.nuvem-chk-pay-icon{font-size:16px;font-weight:700;color:#222}
.nuvem-chk-pay-body{padding:0 18px 18px 48px;font-size:13px;color:#555}
.nuvem-chk-pay-desc{margin:0 0 8px;line-height:1.45}
.nuvem-chk-mp-brick{margin-top:10px}

.nuvem-chk-return-card{padding:24px;background:#fff;border:1px solid #dedede;border-radius:6px;display:flex;flex-direction:column;gap:12px}
.nuvem-chk-return-badge.is-paid{display:inline-block;align-self:flex-start;padding:5px 12px;border-radius:999px;background:#e6f6ec;color:#0f6b38;font-weight:700;font-size:13px}

/* Right Sticky Order Summary */
.nuvem-chk-summary{position:sticky;top:24px;display:flex;flex-direction:column;gap:16px}
.nuvem-chk-summary-items{display:flex;flex-direction:column;gap:12px}
.nuvem-chk-summary-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center}
.nuvem-chk-summary-thumb{width:54px;height:54px;background:#fff;border-radius:4px;padding:4px;display:grid;place-items:center;overflow:hidden;border:1px solid #e6e6e6}
.nuvem-chk-summary-img{width:100%;height:100%;object-fit:contain}
.nuvem-chk-summary-info{display:flex;flex-direction:column;font-size:13px;color:#111}
.nuvem-chk-summary-qty{color:#555;font-size:12.5px}
.nuvem-chk-summary-price{font-size:13.5px;color:#111}
.nuvem-chk-summary-totals{display:flex;flex-direction:column;gap:8px;padding-top:8px}
.nuvem-chk-summary-row{display:flex;justify-content:space-between;align-items:baseline;font-size:13.5px;color:#222}
.nuvem-chk-summary-row.is-total{margin-top:4px;font-size:16px;color:#111}
.nuvem-chk-coupon-wrap{text-align:center;padding-top:6px}
.nuvem-chk-coupon-toggle{background:none;border:0;font-size:12.5px;color:#222;text-decoration:underline;cursor:pointer}
.nuvem-chk-coupon-form{display:flex;gap:6px}
.nuvem-chk-coupon-btn{width:44px;height:44px;border:1px solid #c9c9c9;border-radius:4px;background:#fff;font-size:18px;cursor:pointer}
.nuvem-chk-coupon-msg{margin:6px 0 0;font-size:12px;color:#a61b29}

.nuvem-chk-footer{max-width:1040px;margin:0 auto 28px;padding:12px 16px;color:#777;font-size:12px;text-align:center}

@media(max-width:820px){
 .nuvem-chk-container{grid-template-columns:1fr;gap:28px}
 .nuvem-chk-summary{position:static;order:-1;padding-bottom:16px;border-bottom:1px solid #dcdcdc}
 .nuvem-chk-two-col{grid-template-columns:1fr}
}
