html.stp-modal-open,body.stp-modal-open{overflow:hidden!important}
.stp-modal{--stp-primary:#0f4d3a;--stp-accent:#79c438;position:fixed;inset:0;z-index:999999;display:none;font-family:inherit;color:#17211d}.stp-modal.is-open{display:block}.stp-modal-backdrop{position:absolute;inset:0;background:rgba(6,18,13,.52);backdrop-filter:blur(2px)}
.stp-modal-panel{position:absolute;top:50%;left:50%;width:min(470px,calc(100vw - 28px));max-height:92vh;transform:translate(-50%,-50%);border:1px solid #e2e8e4;border-radius:18px;background:#fff;box-shadow:0 28px 90px rgba(9,28,20,.24);overflow:hidden}
.stp-modal-scroll{max-height:92vh;overflow:auto;padding:0 18px 20px;scrollbar-width:thin}.stp-modal-close{appearance:none;-webkit-appearance:none;position:absolute;top:12px;right:12px;z-index:6;width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:0;border:1px solid #dfe6e2;border-radius:999px;background:#fff;color:#2e4339;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(12,34,24,.10);transition:transform .16s ease,background .16s ease,border-color .16s ease}.stp-modal-close:hover{background:#f6f9f7;border-color:#cfd9d3}.stp-modal-close:active{transform:scale(.94)}.stp-modal-close svg{display:block;width:16px;height:16px;overflow:visible}.stp-modal-close svg path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.stp-modal-head{position:sticky;top:0;z-index:4;margin:0 -18px 12px;padding:18px 58px 13px 18px;border-bottom:1px solid #edf1ee;background:rgba(255,255,255,.97);backdrop-filter:blur(8px)}.stp-modal-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:var(--stp-accent)}.stp-modal-head h2{margin:3px 0 2px!important;font-size:20px!important;line-height:1.15!important;color:#10231b!important}.stp-modal-head p{margin:0!important;color:#718079;font-size:11px!important}
.stp-modal-loading{display:flex;align-items:center;gap:9px;margin:10px 0;padding:10px 12px;border-radius:10px;background:#f5faf6;color:#28533f;font-size:11px}.stp-modal-loading span{width:16px;height:16px;border:2px solid #cbe2d2;border-top-color:var(--stp-primary);border-radius:50%;animation:stpSpin .7s linear infinite}.stp-modal-error{margin:10px 0;padding:10px 12px;border:1px solid #ffd5d5;border-radius:10px;background:#fff5f5;color:#a51f1f;font-size:11px;font-weight:700}@keyframes stpSpin{to{transform:rotate(360deg)}}.stp-modal-form.is-loading{opacity:.72;pointer-events:none}
.stp-mini-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:8px 0}.stp-mini-title strong{font-size:12.5px;color:#102d22}.stp-mini-title small{font-size:9.5px;color:#7b8881}.stp-order-preview{margin-bottom:12px}
.stp-modal-packs{display:grid;gap:7px}.stp-modal-pack{position:relative;width:100%;display:grid;grid-template-columns:18px 43px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border:1px solid #dce3df;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.stp-modal-pack.is-selected{border:2px solid var(--stp-accent);background:#fbfef9;box-shadow:0 0 0 2px color-mix(in srgb,var(--stp-accent) 10%,transparent)}.stp-modal-pack-radio{width:17px;height:17px;border:1.5px solid #949f99;border-radius:50%}.stp-modal-pack.is-selected .stp-modal-pack-radio{border:2px solid var(--stp-accent);box-shadow:inset 0 0 0 4px #fff;background:var(--stp-accent)}.stp-modal-pack-img{position:relative;width:42px;height:42px;display:grid;place-items:center;border-radius:7px;background:#f7f9f8}.stp-modal-pack-img img{max-width:38px;max-height:38px;object-fit:contain}.stp-modal-pack-img i{position:absolute;right:-4px;bottom:-4px;min-width:18px;height:18px;padding:0 3px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#174d39;color:#fff;font-size:8px;font-style:normal;font-weight:900}.stp-modal-pack-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.stp-modal-pack-copy strong{font-size:12.5px;color:#0b422f;line-height:1.2}.stp-modal-pack-copy small{font-size:10px;color:#707b75;margin-top:2px}.stp-modal-pack-copy small b{color:#0b5239}.stp-modal-pack-copy em{font-size:9px;font-style:normal;color:#22703d;background:#eaf8e5;border:1px solid #d3edcb;border-radius:5px;padding:3px 6px;margin-top:4px;font-weight:800}.stp-modal-pack-price{display:flex;min-width:74px;flex-direction:column;align-items:flex-end;text-align:right}.stp-modal-pack-price small{font-size:7.5px;color:#8e9792}.stp-modal-pack-price del{font-size:9.5px;color:#9ca3a0}.stp-modal-pack-price b{font-size:16px;line-height:1.05;color:#0b422f;white-space:nowrap}.stp-modal-pack-badge{position:absolute;right:8px;top:-8px;z-index:1;padding:3px 8px;border-radius:999px;background:#649b30;color:#fff;font-size:8.5px;font-weight:900;white-space:nowrap}
.stp-cart-items{display:grid;gap:6px}.stp-cart-line{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;padding:8px;border:1px solid #e2e7e4;border-radius:9px;background:#fff}.stp-cart-line img{width:36px;height:36px;object-fit:contain;border-radius:6px;background:#f7f8f7}.stp-cart-line span{display:grid;gap:1px;min-width:0}.stp-cart-line strong{font-size:11.5px;color:#17372a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stp-cart-line small{font-size:9px;color:#7b857f}.stp-cart-line>b{font-size:12px;color:#0f4d3a}
.stp-ticket{margin:9px 0 4px;padding:8px 10px;border-radius:9px;background:#f0f2ed}.stp-ticket>div{display:flex;justify-content:space-between;gap:12px;padding:2px 0;font-size:11px;color:#184536}.stp-ticket strong{font-weight:900}.stp-ticket .stp-discount-row strong{color:#e24a4a}.stp-ticket-total{margin-top:4px;padding-top:6px!important;border-top:1px solid #d8ded9;font-size:13px!important;font-weight:900}.stp-ticket-total strong{font-size:18px}
.stp-stepper{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:6px;margin:12px 0 16px}.stp-stepper>span{height:2px;background:#e6ebe8;border-radius:99px}.stp-step-pill{display:flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:#9aa39f;font:inherit;cursor:pointer}.stp-step-pill:disabled{cursor:default}.stp-step-pill i{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#edf0ee;color:#718079;font-size:10px;font-style:normal;font-weight:900}.stp-step-pill span{font-size:9.5px;font-weight:850}.stp-step-pill.is-active i,.stp-step-pill.is-done i{background:var(--stp-accent);color:#fff}.stp-step-pill.is-active span,.stp-step-pill.is-done span{color:#244a39}.stp-step-pill.is-done i:after{content:"✓"}.stp-step-pill.is-done i{font-size:0}
.stp-step{animation:stpStepIn .18s ease}.stp-step-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:11px}.stp-step-heading>div>span{display:block;font-size:8px;font-weight:900;letter-spacing:.12em;color:var(--stp-accent)}.stp-step-heading h3{margin:2px 0 0!important;font-size:17px!important;color:#112a20!important}.stp-step-heading>small{max-width:190px;text-align:right;font-size:9px;color:#7b8780;line-height:1.35}@keyframes stpStepIn{from{opacity:.3;transform:translateY(3px)}to{opacity:1;transform:none}}
.stp-customer-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stp-field{display:grid;gap:4px;margin:0}.stp-field>span{font-size:10.5px;font-weight:800;color:#2e4138}.stp-field input,.stp-field select,.stp-field textarea{width:100%!important;min-height:43px!important;border:1px solid #d0d8d3!important;border-radius:9px!important;background:#fff!important;padding:0 11px!important;box-shadow:none!important;outline:0!important;font-size:13px!important}.stp-field textarea{padding-top:9px!important}.stp-field input:focus,.stp-field select:focus,.stp-field textarea:focus{border-color:var(--stp-primary)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--stp-primary) 10%,transparent)!important}
.stp-returning-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dce6df;border-radius:11px;background:#f7fbf8}.stp-returning-card>div{display:grid;gap:3px}.stp-returning-hello{font-size:11px;color:#5d6e65}.stp-returning-data{font-size:12px;color:#12382a;line-height:1.4}.stp-edit-customer{padding:7px 9px;border:1px solid #d5ddd8;border-radius:8px;background:#fff;color:#28533f;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}
.stp-next-button,.stp-place-order{width:100%;min-height:68px;margin-top:14px;border:0;border-radius:13px;background:var(--stp-accent);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;box-shadow:0 8px 18px rgba(77,143,42,.18);cursor:pointer}.stp-next-button span,.stp-place-order span{font-size:18px;font-weight:850;line-height:1.12}.stp-next-button small,.stp-place-order small{font-size:11px;font-weight:650;line-height:1.2;opacity:.96;margin-top:2px}.stp-next-button:disabled,.stp-place-order:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.stp-step-actions{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;align-items:stretch;margin-top:12px}.stp-step-actions .stp-next-button,.stp-step-actions .stp-place-order{margin-top:0}.stp-back-button{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:56px;margin:0;padding:0 12px;border:1px solid #d7e0da;border-radius:11px;background:#fff;color:#355247;display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:12px;font-weight:750;line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;box-shadow:none;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.stp-back-button:hover{background:#f6f9f7;border-color:#c5d1ca}.stp-back-button:active{transform:scale(.98)}.stp-back-button>span{font-size:15px;line-height:1;font-weight:500}
.stp-location-block{margin-top:4px}.stp-location-search-stage[hidden]{display:none!important}.stp-location-search-wrap{display:flex;align-items:center;min-height:52px;border:1px solid #cfd8d2;border-radius:12px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease}.stp-location-search-wrap:focus-within{border-color:var(--stp-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--stp-primary) 10%,transparent)}.stp-pin{width:44px;text-align:center;color:var(--stp-primary);font-size:18px}.stp-location-search-wrap input{flex:1;min-width:0;min-height:50px!important;border:0!important;outline:0!important;box-shadow:none!important;padding:0 12px 0 2px!important;background:transparent!important;font-size:14px!important;color:#1f2937!important}.stp-location-results{position:relative;z-index:8;margin-top:6px;max-height:220px;overflow:auto;border:1px solid #dde3df;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.12)}.stp-location-option{display:flex;width:100%;flex-direction:column;align-items:flex-start;padding:10px 12px;border:0;border-bottom:1px solid #edf0ee;background:#fff;cursor:pointer;text-align:left}.stp-location-option:hover{background:#f5faf7}.stp-location-option strong{font-size:12.5px;color:#0f4030}.stp-location-option small{font-size:10px;color:#77817c;margin-top:2px}.stp-location-empty{padding:11px;color:#667085;font-size:10px}.stp-location-selected{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 10px 10px 11px;border:1px solid #d8e2dc;border-radius:12px;background:#f8fbf9}.stp-location-selected[hidden]{display:none!important}.stp-location-selected-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#edf6f1;color:var(--stp-primary);font-size:17px}.stp-location-selected>div{min-width:0;display:grid;gap:2px}.stp-location-selected small{font-size:9px;color:#75817a}.stp-location-selected strong{font-size:12.5px;line-height:1.25;color:#17372b;white-space:normal}.stp-change-location{appearance:none!important;min-height:34px!important;padding:7px 10px!important;border:1px solid #cfd9d3!important;border-radius:9px!important;background:#fff!important;color:var(--stp-primary)!important;font-size:10px!important;font-weight:750!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important}.stp-change-location:hover{background:#f2f8f4!important;border-color:#afc5b8!important}
.stp-shipping-stage{margin-top:12px}.stp-shipping-options{display:grid;gap:7px}.stp-shipping-option{position:relative;width:100%;display:grid;grid-template-columns:18px 38px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border:1px solid #d8dedb;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.stp-shipping-option:hover{border-color:#afc2b8}.stp-shipping-option.is-selected{border:2px solid var(--stp-primary);background:#f3faf0}.stp-shipping-radio{width:17px;height:17px;border:1.5px solid #9aa39e;border-radius:50%}.stp-shipping-option.is-selected .stp-shipping-radio{border:2px solid var(--stp-accent);box-shadow:inset 0 0 0 4px #fff;background:var(--stp-accent)}.stp-method-logo{width:36px;height:36px;display:grid;place-items:center;border-radius:7px;background:#f4f6f4;overflow:hidden}.stp-method-logo img{max-width:32px;max-height:32px;object-fit:contain}.stp-method-logo span{font-size:17px;color:#0f4d3a}.stp-method-copy{display:grid;gap:1px}.stp-method-copy small{font-size:7.5px;font-weight:900;letter-spacing:.06em;color:#7a847f}.stp-method-copy strong{font-size:12px;color:#0f4d3a}.stp-method-copy em{font-style:normal;font-size:9px;color:#69736e}.stp-method-price{text-align:right;color:#0d523a;font-size:11px;font-weight:900}.stp-method-price b{display:block;margin-top:3px;padding:2px 5px;border-radius:5px;background:#e8f6e1;color:#2c6a2a;font-size:7.5px}.stp-loading-line,.stp-no-options{padding:10px;border-radius:8px;background:#f7f9f8;color:#68736d;font-size:10px}.stp-extra-fields{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid #e0e5e2;border-radius:9px;background:#f9faf9}.stp-address-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stp-carrier-agency-status{display:block;margin-top:4px;font-size:9px;color:#77817c}
.stp-payment-stage{display:grid;gap:9px}.stp-payment-methods{display:grid;gap:7px}.stp-payment-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border:1px solid #d8dedb;border-radius:9px;background:#fff;cursor:pointer}.stp-payment-option:has(input:checked){border:2px solid var(--stp-primary);background:#f6fbf4}.stp-payment-option input{position:absolute;opacity:0}.stp-payment-radio{width:17px;height:17px;border:1.5px solid #9aa39e;border-radius:50%}.stp-payment-option:has(input:checked) .stp-payment-radio{border:2px solid var(--stp-accent);box-shadow:inset 0 0 0 4px #fff;background:var(--stp-accent)}.stp-payment-copy{display:grid;gap:2px}.stp-payment-copy strong{font-size:12px;color:#0e4735}.stp-payment-copy small{font-size:9px;color:#758079}.stp-payment-icon img{max-height:24px;max-width:72px}.stp-gateway-fields{padding:9px 10px;border-radius:8px;background:#f7f9f8;font-size:10px}.stp-gateway-fields p{margin:0 0 6px}.stp-gateway-fields input,.stp-gateway-fields select{max-width:100%}
.stp-whatsapp-help{width:100%;display:grid;grid-template-columns:70px 1fr;gap:1px 9px;align-items:center;padding:10px 12px;border:1px solid #cfe6d6;border-radius:10px;background:#f3fbf5;color:#174d39;text-align:left;cursor:pointer}.stp-whatsapp-help>span{grid-row:1/3;display:grid;place-items:center;padding:6px;border-radius:8px;background:#25d366;color:#fff;font-size:10px;font-weight:900}.stp-whatsapp-help strong{font-size:11.5px}.stp-whatsapp-help small{font-size:8.5px;color:#708078}.stp-whatsapp-help.is-loading{opacity:.5;pointer-events:none}
.stp-cod-box{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid #cfe6d6;border-radius:11px;background:#f5fbf6}.stp-cod-box i{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--stp-accent);color:#fff;font-style:normal;font-weight:900}.stp-cod-box>div{display:grid;gap:2px}.stp-cod-box strong{font-size:12px;color:#15412f}.stp-cod-box span{font-size:9px;color:#718079}.stp-cod-box>b{font-size:15px;color:#0f4d3a;white-space:nowrap}
.stp-invoice-block{margin-top:10px}.stp-invoice-toggle{width:100%;display:grid;grid-template-columns:28px 1fr;gap:0 7px;align-items:center;padding:9px 10px;border:1px solid #e0e5e2;border-radius:9px;background:#fff;text-align:left;color:#27483a;cursor:pointer}.stp-invoice-toggle>span{grid-row:1/3}.stp-invoice-toggle strong{font-size:10.5px}.stp-invoice-toggle small{font-size:8.5px;color:#7a867f}.stp-invoice-toggle.is-active{border-color:#bfd2c7;background:#f8fbf9}.stp-invoice-fields{display:grid;grid-template-columns:130px 1fr;gap:8px;margin-top:8px;padding:9px;border-radius:9px;background:#f8faf9}.stp-terms{margin:10px 0 0;padding:7px 9px;border-radius:7px;background:#fafbfa;font-size:9.5px}.stp-terms label{display:flex;gap:7px;align-items:flex-start}.stp-terms input{margin-top:2px}.stp-thanks-box{margin:14px 0;padding:14px;border:1px solid #dbe5df;border-radius:12px;background:#f8fbf9}.stp-thanks-box strong,.stp-thanks-box span{display:block}.stp-thanks-box span{margin-top:3px;color:#667085}
@media(max-width:620px){
 .stp-modal-panel{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-height:94dvh;border-radius:18px 18px 0 0}.stp-modal-scroll{max-height:94dvh;padding:0 12px 18px}.stp-modal-head{margin:0 -12px 11px;padding-left:12px}.stp-step-heading>small{display:none}.stp-customer-fields{grid-template-columns:1fr}.stp-address-fields{grid-template-columns:1fr}.stp-invoice-fields{grid-template-columns:1fr}.stp-modal-pack{grid-template-columns:17px 38px minmax(0,1fr) auto;padding:8px;gap:6px}.stp-modal-pack-img{width:38px;height:38px}.stp-modal-pack-img img{max-width:34px;max-height:34px}.stp-modal-pack-copy strong{font-size:11.5px}.stp-modal-pack-price{min-width:65px}.stp-modal-pack-price b{font-size:14px}.stp-shipping-option{grid-template-columns:17px 34px minmax(0,1fr);gap:7px}.stp-method-price{grid-column:3;text-align:left;font-size:10px}.stp-method-logo{width:34px;height:34px}.stp-mini-title small{display:none}.stp-stepper{margin-top:8px}.stp-step-pill span{display:none}.stp-returning-card{align-items:flex-start;flex-direction:column}.stp-edit-customer{align-self:flex-start}.stp-step-actions{grid-template-columns:78px 1fr}
}
@media(max-width:390px){.stp-modal-pack{grid-template-columns:17px 36px minmax(0,1fr)}.stp-modal-pack-price{grid-column:3;align-items:flex-start;text-align:left}.stp-modal-pack-badge{right:6px}.stp-ticket-total strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){.stp-step,.stp-modal-loading span{animation:none!important}}
.stp-step-pill.is-done i:after{font-size:10px;line-height:1}.stp-stepper>span{transition:background .18s ease}.stp-step-pill.is-done+span{background:var(--stp-accent)}

/* v0.6 — limpieza visual del popup */
#stpCheckoutModal [hidden]{display:none!important}
.stp-field-full{grid-column:1/-1}
.stp-document-row{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr);gap:9px}
.stp-trust-row{display:grid;gap:5px;margin:11px 0 2px;padding:10px 11px;border:1px solid #e1e8e3;border-radius:10px;background:#f8fbf9;color:#567066;font-size:9.5px;line-height:1.35}
.stp-trust-row span:first-child{color:#183f30;font-size:10.5px}.stp-trust-row strong{font-weight:900}
.stp-order-compact{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 10px;padding:10px 12px;border:1px solid #dfe6e1;border-radius:10px;background:#f8fbf9}
.stp-order-compact-copy{display:grid;gap:2px;min-width:0}.stp-order-compact-copy small{font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#7c8a83}.stp-order-compact-copy strong{font-size:11.5px;line-height:1.2;color:#143e2e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stp-order-compact-copy span{font-size:9px;color:#75827b}.stp-order-compact-total{flex:0 0 auto;font-size:14px;color:#0f4d3a;white-space:nowrap}
.stp-returning-card[hidden],.stp-customer-fields[hidden],.stp-trust-row[hidden],.stp-order-preview[hidden],.stp-order-compact[hidden]{display:none!important}
@media(max-width:620px){.stp-document-row{grid-template-columns:1fr}.stp-order-compact{padding:9px 10px}.stp-order-compact-total{font-size:13px}}


.stp-fixed-logo-field{display:flex;flex-direction:column;justify-content:flex-start}.stp-fixed-courier-logo{display:flex;align-items:center;justify-content:center;min-height:60px;padding:8px;border:1px solid #e1e6e3;border-radius:10px;background:#fff}.stp-fixed-courier-logo img{max-width:56px;max-height:56px;object-fit:contain}
.stp-carrier-agency-list{display:grid;gap:10px}.stp-agency-card{display:grid;gap:10px;padding:12px;border:1px solid #d8dfda;border-radius:14px;background:#fff}.stp-agency-card.is-selected{border:2px solid var(--stp-primary);background:#f7fbf4;box-shadow:0 0 0 2px color-mix(in srgb,var(--stp-accent) 12%,transparent)}.stp-agency-top{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start}.stp-agency-logo{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#f3f5f4;overflow:hidden}.stp-agency-logo img{max-width:36px;max-height:36px;object-fit:contain}.stp-agency-copy{display:grid;gap:2px}.stp-agency-copy strong{font-size:12.5px;line-height:1.25;color:#0f3328}.stp-agency-copy small{font-size:10px;color:#5d6963;font-weight:700}.stp-agency-distance{display:inline-block;width:max-content;margin-top:3px;padding:3px 8px;border-radius:999px;background:#e8f5d8;color:#4f6c18;font-size:10px;font-weight:900}.stp-agency-body p{margin:0 0 4px;font-size:10.5px;line-height:1.45;color:#56635d}.stp-agency-phone,.stp-agency-ref{display:block;font-size:9.5px;color:#6f7b75}.stp-agency-pick{width:100%;padding:10px 12px;border:0;border-radius:8px;background:#f62020;color:#fff;font-size:11px;font-weight:900;cursor:pointer}.stp-agency-card.is-selected .stp-agency-pick{background:#118c2f}
@media(max-width:640px){.stp-carrier-agency-list{gap:8px}.stp-agency-card{padding:10px;border-radius:12px}.stp-agency-top{grid-template-columns:38px minmax(0,1fr);gap:10px}.stp-agency-logo{width:36px;height:36px}.stp-agency-logo img{max-width:32px;max-height:32px}.stp-agency-copy strong{font-size:11.5px}.stp-agency-copy small,.stp-agency-body p,.stp-agency-distance{font-size:9.5px}}


/* v0.6.2 — selector de agencia interno + contraentrega directa */
.stp-modal-close{z-index:40!important;pointer-events:auto!important}
.stp-agency-picker{position:absolute;inset:0;z-index:30;display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;animation:stpAgencyIn .18s ease}.stp-agency-picker[hidden]{display:none!important}.stp-agency-picker-head{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:10px;align-items:center;padding:14px 14px 12px;border-bottom:1px solid #e8eeea;background:#fff}.stp-agency-picker-head>div{display:grid;gap:1px}.stp-agency-picker-head span{font-size:8px;font-weight:900;letter-spacing:.12em;color:var(--stp-accent)}.stp-agency-picker-head h3{margin:0!important;font-size:16px!important;color:#112e22!important}.stp-agency-picker-head small{font-size:9px;color:#74817a}.stp-agency-picker-back,.stp-agency-picker-x{width:34px;height:34px;border:1px solid #dce4df;border-radius:9px;background:#fff;color:#173d2e;font-weight:900;font-size:17px;cursor:pointer}.stp-agency-picker-scroll{flex:1;overflow:auto;padding:12px 14px 18px}.stp-agency-choice-summary{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #d8e4dc;border-radius:10px;background:#f7fbf8}.stp-agency-choice-logo{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:#fff;overflow:hidden}.stp-agency-choice-logo img{max-width:36px;max-height:36px;object-fit:contain}.stp-agency-choice-summary>div{display:grid;gap:2px}.stp-agency-choice-summary small{font-size:8px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#78867e}.stp-agency-choice-summary strong{font-size:11.5px;color:#143c2d}.stp-agency-choice-summary em{font-size:9px;font-style:normal;color:#68766f;line-height:1.35}.stp-open-agency-picker{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr);gap:0 8px;align-items:center;margin-top:8px;padding:10px 11px;border:1px solid #cfdcd4;border-radius:10px;background:#fff;color:#173e2f;text-align:left;cursor:pointer}.stp-open-agency-picker>span{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#edf6e8;color:#2e6b34}.stp-open-agency-picker strong{font-size:11px}.stp-open-agency-picker small{font-size:8.5px;color:#718078}.stp-carrier-agency-status{margin-top:5px!important}
.stp-cod-step2-checkout{margin-top:10px;padding:11px;border:1px solid #cfe5d5;border-radius:12px;background:#f5fbf6}.stp-cod-step2-note{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center}.stp-cod-step2-note i{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--stp-accent);color:#fff;font-style:normal;font-weight:900}.stp-cod-step2-note>div{display:grid;gap:2px}.stp-cod-step2-note strong{font-size:11.5px;color:#15412f}.stp-cod-step2-note span{font-size:9px;color:#718079}.stp-cod-step2-order{width:100%;min-height:70px;margin-top:12px;border:0;border-radius:11px;background:var(--stp-accent);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;box-shadow:0 8px 18px rgba(77,143,42,.18);cursor:pointer}.stp-cod-step2-order span{font-size:18px;font-weight:850;line-height:1.12}.stp-cod-step2-order small{font-size:11px;font-weight:650;line-height:1.2;margin-top:2px}.stp-cod-step2-order:disabled{opacity:.42;box-shadow:none;cursor:not-allowed}.stp-cod-acceptance{display:block;margin-top:6px;text-align:center;font-size:8px;color:#74827a}.stp-final-heading{padding:10px 11px;border:1px solid #dce8df;border-radius:11px;background:linear-gradient(135deg,#f7fbf8,#fff)}
@keyframes stpAgencyIn{from{opacity:.5;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:620px){.stp-agency-picker{border-radius:18px 18px 0 0}.stp-agency-picker-scroll{padding:10px 10px 18px}.stp-agency-picker-head{padding:12px 10px}.stp-cod-step2-order{min-height:66px}}


/* v0.6.3 — checkout más legible, agencias inline y tarjetas de envío */
.stp-modal-close{z-index:120!important;pointer-events:auto!important;touch-action:manipulation!important}
.stp-modal-head h2{font-size:22px!important}.stp-modal-head p{font-size:12px!important}
.stp-stepper{margin:14px 0 18px}.stp-step-pill i{width:29px;height:29px;font-size:11px}.stp-step-pill span{font-size:11px}.stp-step-heading h3{font-size:19px!important}.stp-step-heading>div>span{font-size:9px}.stp-field>span{font-size:11.5px}.stp-field input,.stp-field select,.stp-field textarea{font-size:14px!important;min-height:46px!important}
.stp-inline-agency-picker{margin-top:10px;padding:11px;border:1px solid #dce5df;border-radius:12px;background:#f8fbf9}.stp-inline-agency-picker[hidden]{display:none!important}.stp-inline-agency-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.stp-inline-agency-head>div{display:grid;gap:1px}.stp-inline-agency-head span{font-size:8px;font-weight:900;letter-spacing:.11em;color:var(--stp-accent)}.stp-inline-agency-head strong{font-size:14px;color:#12382a}.stp-inline-agency-head small{font-size:9px;color:#718078}.stp-inline-agency-close{border:1px solid #d5dfd9;border-radius:8px;background:#fff;color:#315446;font-size:9px;font-weight:850;padding:7px 9px;cursor:pointer}
.stp-shipping-option{grid-template-columns:20px 42px minmax(0,1fr) minmax(86px,auto);gap:10px;padding:12px 11px;border-radius:11px}.stp-method-logo{width:40px;height:40px}.stp-method-logo img{max-width:36px;max-height:36px}.stp-method-copy small{font-size:8.5px}.stp-method-copy strong{font-size:13.5px}.stp-method-copy em{font-size:10.5px;line-height:1.35;margin-top:2px}.stp-method-price{display:grid;gap:2px;justify-items:end;text-align:right;min-width:86px}.stp-method-price>strong{font-size:13px;color:#0d523a;white-space:nowrap}.stp-method-price>small{font-size:8.5px;line-height:1.2;color:#76827c;max-width:105px}.stp-method-price .stp-pay-receive{margin-top:4px;padding:5px 7px;border-radius:7px;background:#e6f6dd;color:#27672d;font-size:10px;line-height:1;font-weight:950;white-space:nowrap}.stp-shipping-option.is-cod{border:2px solid color-mix(in srgb,var(--stp-accent) 65%,#b8c8bf);background:linear-gradient(135deg,#f8fff4,#fff)}.stp-shipping-option.is-cod .stp-method-copy strong{font-size:14px}.stp-shipping-option.deal-destination .stp-method-price>strong{color:#2f6d34}.stp-shipping-option.deal-covered .stp-method-price>strong{padding:3px 7px;border-radius:999px;background:#e8f7df;color:#26692d}
.stp-cod-step2-checkout{padding:14px;border-width:2px}.stp-cod-step2-note strong{font-size:14px}.stp-cod-step2-note span{font-size:10.5px}.stp-cod-step2-order{min-height:70px}.stp-cod-step2-order span{font-size:18px}.stp-cod-step2-order small{font-size:11px}.stp-cod-step2-order small b{font-size:13px}
.stp-payment-option{padding:12px!important}.stp-payment-copy strong{font-size:13px!important}.stp-payment-copy small{font-size:10px!important;line-height:1.4}.stp-manual-pay-box{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #dfe6e1;border-radius:10px;background:#f8fbf9}.stp-pay-qr{width:112px;height:112px;object-fit:contain;border-radius:9px;background:#fff;border:1px solid #e2e7e4}.stp-manual-pay-copy{display:grid;gap:4px}.stp-manual-pay-copy strong{font-size:13px;color:#153d2d}.stp-manual-pay-copy span{font-size:11px;color:#314b40}.stp-manual-pay-copy small{font-size:9.5px;color:#718078}
@media(max-width:620px){.stp-step-pill span{display:inline;font-size:9.5px}.stp-stepper{gap:4px}.stp-stepper>span{min-width:12px}.stp-step-heading h3{font-size:18px!important}.stp-shipping-option{grid-template-columns:18px 38px minmax(0,1fr) 82px;gap:7px;padding:11px 9px}.stp-method-logo{width:36px;height:36px}.stp-method-copy strong{font-size:12.5px}.stp-method-copy em{font-size:10px}.stp-method-price{grid-column:auto!important;text-align:right!important;justify-items:end!important;min-width:78px;font-size:11px}.stp-method-price>strong{font-size:11.5px}.stp-method-price>small{font-size:7.8px}.stp-method-price .stp-pay-receive{font-size:8.5px;padding:4px 5px}.stp-inline-agency-picker{padding:9px}.stp-cod-step2-note strong{font-size:13px}.stp-cod-step2-order span{font-size:17px}.stp-manual-pay-box{align-items:flex-start}.stp-pay-qr{width:96px;height:96px}}
@media(max-width:370px){.stp-shipping-option{grid-template-columns:17px 34px minmax(0,1fr) 70px;gap:5px}.stp-method-price{min-width:66px}.stp-method-price>strong{font-size:10.5px}.stp-method-price>small{font-size:7px}.stp-method-copy strong{font-size:11.5px}.stp-method-copy em{font-size:9px}}

/* v0.6.4 — selector de agencia enfocado, adelantos y CTA final */
.stp-open-agency-picker{border:0!important;background:linear-gradient(135deg,var(--stp-primary),color-mix(in srgb,var(--stp-primary) 76%,#fff))!important;color:#fff!important;box-shadow:0 8px 18px color-mix(in srgb,var(--stp-primary) 18%,transparent)!important;padding:12px 13px!important}
.stp-open-agency-picker>span{background:rgba(255,255,255,.16)!important;color:#fff!important}.stp-open-agency-picker strong{font-size:13px!important;color:#fff!important}.stp-open-agency-picker small{font-size:9.5px!important;color:rgba(255,255,255,.88)!important}
.stp-agency-choice-summary.is-fresh{box-shadow:0 0 0 4px color-mix(in srgb,var(--stp-accent) 18%,transparent);transition:box-shadow .25s ease}
.stp-step[data-step="2"].is-agency-picking .stp-shipping-stage,.stp-step[data-step="2"].is-agency-picking .stp-cod-step2-checkout,.stp-step[data-step="2"].is-agency-picking>.stp-step-actions{display:none!important}
.stp-step[data-step="2"].is-agency-picking .stp-inline-agency-picker{display:block!important;background:#fff;border:1px solid #d7e0da;box-shadow:0 16px 38px rgba(15,42,30,.12);padding:13px;margin-top:12px}
.stp-inline-agency-close{font-size:10px!important;padding:8px 11px!important;font-weight:900!important}
.stp-agency-pick{min-height:42px;font-size:12px!important;box-shadow:0 5px 12px rgba(246,32,32,.13)}
/* Contraentrega: destaca la información, no pinta toda la tarjeta. */
.stp-shipping-option.is-cod,.stp-shipping-option.is-cod.is-selected{background:#fff!important;border-color:#d8dedb!important;box-shadow:none!important}
.stp-shipping-option.is-cod.is-selected{border-width:2px!important;border-color:var(--stp-primary)!important}
.stp-shipping-option.is-cod .stp-method-copy>small{color:#1d6b3a!important;font-size:9.5px!important;font-weight:950!important}.stp-shipping-option.is-cod .stp-pay-receive{background:transparent!important;color:#166534!important;font-size:11px!important;padding:0!important;margin-top:5px!important}
.stp-advance-shipping{display:inline-flex;width:max-content;margin-top:4px;padding:4px 7px;border-radius:999px;background:#fff5d9;color:#7a4d00;font-size:8.5px;font-weight:900}
.stp-advance-box{display:grid;gap:4px;margin:0 0 11px;padding:12px 13px;border:1px solid #f2d58d;border-radius:11px;background:#fffbef}.stp-advance-box[hidden]{display:none!important}.stp-advance-box>span{font-size:8px;font-weight:950;letter-spacing:.11em;color:#a86800}.stp-advance-box>strong{font-size:13px;color:#593a00}.stp-advance-box>small{font-size:9.5px;color:#776444}.stp-advance-box b{font-weight:950}
.stp-whatsapp-help{margin-top:9px!important}
.stp-pay-now-amount{display:inline-block;margin-top:4px;font-size:11px!important;color:#143d2d!important}.stp-pay-now-amount b{font-size:13px}
@media(max-width:620px){.stp-open-agency-picker{padding:11px!important}.stp-agency-pick{min-height:40px}.stp-advance-shipping{font-size:8px}.stp-shipping-option.is-cod .stp-pay-receive{font-size:10px!important}}

/* v0.6.5 — guía visual y pago adelanto/total */
.stp-guided-focus{box-shadow:0 0 0 4px color-mix(in srgb,var(--stp-accent) 20%,transparent)!important;transition:box-shadow .2s ease}
.stp-open-agency-picker.stp-needs-action{animation:stpAgencyNudge 3.4s ease-in-out infinite;transform-origin:center}
@keyframes stpAgencyNudge{0%,82%,100%{transform:translateX(0) scale(1)}86%{transform:translateX(-3px) scale(1.01)}89%{transform:translateX(3px) scale(1.01)}92%{transform:translateX(-2px) scale(1.01)}95%{transform:translateX(2px) scale(1.01)}}
.stp-pay-amount-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.stp-pay-amount-option{display:grid;gap:2px;padding:9px 10px;border:1px solid #e1cf9e;border-radius:9px;background:#fff;color:#5b461b;text-align:left;cursor:pointer}
.stp-pay-amount-option span{font-size:9px;font-weight:850;color:#7f692f}
.stp-pay-amount-option b{font-size:13px;color:#4e3600}
.stp-pay-amount-option.is-selected{border:2px solid #d59b1a;background:#fff8df;box-shadow:0 0 0 2px rgba(213,155,26,.08)}
.stp-advance-balance-text{margin-top:2px!important}
@media(prefers-reduced-motion:reduce){.stp-open-agency-picker.stp-needs-action{animation:none!important}}
@media(max-width:620px){.stp-pay-amount-choice{grid-template-columns:1fr 1fr;gap:6px}.stp-pay-amount-option{padding:8px}.stp-pay-amount-option b{font-size:12px}}

/* v0.6.6 — destino visible y tipografía más legible */
.stp-step3-destination{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 0 12px;padding:11px 12px;border:1px solid #dce5df;border-radius:11px;background:#f8fbf9}.stp-step3-destination[hidden]{display:none!important}.stp-step3-destination-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#eef5f0;color:var(--stp-primary);font-size:17px}.stp-step3-destination>div{display:grid;gap:2px;min-width:0}.stp-step3-destination-kicker{font-size:9px;letter-spacing:.07em;color:#6b7a72;font-weight:700}.stp-step3-destination-title{font-size:13px;color:#153c2e;font-weight:700;line-height:1.3}.stp-step3-destination-meta{font-size:10.5px;color:#66756e;font-style:normal;line-height:1.4}.stp-step3-destination-edit{padding:7px 9px;border:1px solid #d4ddd7;border-radius:8px;background:#fff;color:#285340;font-size:10px;font-weight:650;cursor:pointer}
.stp-modal-kicker{font-size:10px;font-weight:700}.stp-modal-head p{font-size:12.5px!important}.stp-mini-title strong{font-size:13.5px;font-weight:700}.stp-mini-title small{font-size:10.5px}.stp-ticket>div{font-size:12px}.stp-ticket strong{font-weight:700}.stp-ticket-total{font-weight:700}.stp-step-pill span{font-size:11px;font-weight:650}.stp-step-pill i{font-weight:700}.stp-step-heading>div>span{font-size:9.5px;font-weight:700}.stp-step-heading>small{font-size:10.5px}.stp-field>span{font-size:12px;font-weight:650}.stp-returning-hello{font-size:12px}.stp-returning-data{font-size:12.5px;font-weight:650}.stp-edit-customer{font-size:10.5px;font-weight:650}.stp-next-button span,.stp-place-order span{font-size:18px;font-weight:800;line-height:1.12}.stp-next-button small,.stp-place-order small{font-size:11px;font-weight:600;line-height:1.2}.stp-method-copy small{font-weight:650}.stp-method-copy strong{font-weight:700}.stp-method-price{font-weight:700}.stp-agency-copy strong{font-weight:700}.stp-agency-pick{font-weight:750}.stp-payment-copy strong{font-weight:700!important}.stp-payment-copy small{font-size:10.5px!important}.stp-invoice-toggle strong{font-weight:700}.stp-trust-row{font-size:10.5px}
@media(max-width:620px){.stp-step3-destination{grid-template-columns:34px minmax(0,1fr);padding:10px}.stp-step3-destination-edit{grid-column:2;width:max-content}.stp-step3-destination-title{font-size:12.5px}.stp-step3-destination-meta{font-size:10px}.stp-field>span{font-size:11.5px}.stp-method-copy strong{font-size:13px}.stp-method-copy em{font-size:10.5px}.stp-method-price>strong{font-size:12px}.stp-method-price>small{font-size:8.5px}}



/* v0.6.7 — precio limpio, logo destino y legibilidad final */
.stp-step3-destination-icon.has-logo{padding:3px;background:#fff;border:1px solid #e0e6e2;overflow:hidden}.stp-step3-destination-icon.has-logo img{display:block;max-width:30px;max-height:30px;object-fit:contain}.stp-method-copy small{font-weight:700}.stp-method-copy strong{font-weight:700}.stp-method-price{font-weight:700}.stp-method-price .stp-pay-receive{font-weight:800}.stp-step-heading>div>span{font-weight:700}.stp-step-pill{font-weight:650}.stp-field>span{font-weight:650}.stp-step3-destination-kicker{font-size:9.5px}.stp-step3-destination-meta{font-size:11px}.stp-payment-copy strong{font-size:13px;font-weight:700}.stp-payment-copy small{font-size:10px}.stp-trust-row{font-weight:500}
@media(max-width:620px){.stp-method-copy small{font-size:9px}.stp-method-copy strong{font-size:13px}.stp-method-copy em{font-size:10.5px}.stp-method-price>strong{font-size:12.5px}.stp-step3-destination-meta{font-size:10.5px}.stp-payment-copy strong{font-size:12.5px}.stp-payment-copy small{font-size:9.5px}}

/* v0.6.8 · pagos manuales + comprobante */
.stp-gateway-fields{padding:10px!important;background:#f8faf9!important;border:1px solid #e2e8e4;border-radius:12px}
.stp-manual-pay-box{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px!important;padding:0!important;border:0!important;background:transparent!important}
.stp-pay-total-mini{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:10px;background:var(--stp-primary);color:#fff}
.stp-pay-total-mini span{font-size:10.5px;color:rgba(255,255,255,.78)}
.stp-pay-total-mini strong{font-size:18px;font-weight:800;color:#fff;white-space:nowrap}
.stp-pay-qr-wrap{display:grid;justify-items:center;gap:6px;padding:10px;border:1px solid #e1e7e3;border-radius:10px;background:#fff}
.stp-pay-qr-wrap small{font-size:10px;color:#6b7770;text-align:center}
.stp-pay-qr{width:150px!important;height:150px!important;border-radius:12px!important}
.stp-manual-pay-copy{display:grid!important;gap:8px!important;padding:2px 0}
.stp-manual-pay-copy>strong{font-size:14px!important;font-weight:750!important;color:#193e30!important}
.stp-pay-bank{font-size:10px!important;font-weight:700!important;color:#718078!important;text-transform:uppercase;letter-spacing:.04em}
.stp-pay-holder{font-size:10.5px!important;color:#66736c!important}.stp-pay-holder b{color:#34473d}
.stp-pay-data-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid #dfe5e1;border-radius:9px;background:#fff}
.stp-pay-data-row>span{display:grid;gap:2px;min-width:0}.stp-pay-data-row small{font-size:9px!important;color:#7c8781!important}.stp-pay-data-row b{font-size:13px;color:#173d2f;overflow-wrap:anywhere}
.stp-copy-pay{flex:0 0 auto;min-height:32px;padding:6px 9px;border:1px solid color-mix(in srgb,var(--stp-primary) 34%,#d8dedb);border-radius:8px;background:#fff;color:var(--stp-primary);font-size:9px;font-weight:800;cursor:pointer}.stp-copy-pay.is-copied{background:#effaf2;border-color:#86c997;color:#23763b}
.stp-current-pay-note{font-size:10px!important;line-height:1.4!important;color:#6d7972!important}
.stp-receipt-section{display:grid;gap:8px;margin-top:10px}
.stp-receipt-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.stp-receipt-heading>div{display:grid;gap:2px}.stp-receipt-heading span{font-size:8px;font-weight:800;letter-spacing:.08em;color:var(--stp-primary)}.stp-receipt-heading strong{font-size:13px;font-weight:750;color:#1d382d}.stp-receipt-heading em{padding:4px 7px;border-radius:999px;background:#fff0e8;color:#a54f18;font-size:8.5px;font-style:normal;font-weight:800}.stp-receipt-heading em.is-optional{background:#eef3f0;color:#647269}
.stp-receipt-upload{position:relative;min-height:104px;display:grid;place-items:center;padding:13px;border:1.5px dashed #bfcac3;border-radius:11px;background:#fff;overflow:hidden;cursor:pointer;transition:.18s ease}
.stp-receipt-upload:hover{border-color:var(--stp-primary);background:color-mix(in srgb,var(--stp-primary) 3%,#fff)}
.stp-receipt-file{position:absolute!important;z-index:5!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
.stp-receipt-content{display:grid;justify-items:center;gap:4px;text-align:center;pointer-events:none}.stp-receipt-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:999px;background:color-mix(in srgb,var(--stp-accent) 18%,#fff);color:var(--stp-primary);font-size:17px;font-weight:800}.stp-receipt-title{font-size:12px;font-weight:750;color:#293d34}.stp-receipt-desc,.stp-receipt-filename,.stp-receipt-status{font-size:9.5px;color:#79847e;line-height:1.35}.stp-receipt-filename{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2f7d45;font-weight:650}
.stp-receipt-progress{width:min(260px,90%);display:flex;align-items:center;gap:8px;margin-top:5px}.stp-receipt-progress>span{flex:1;height:6px;border-radius:999px;background:#e6ebe8;overflow:hidden}.stp-receipt-progress i{display:block;width:0;height:100%;border-radius:inherit;background:var(--stp-accent);transition:width .14s ease}.stp-receipt-progress b{min-width:28px;font-size:9px;color:var(--stp-primary)}
.stp-receipt-note{margin:0!important;font-size:9.5px!important;line-height:1.4!important;color:#7c8781!important;text-align:center}
.stp-receipt-upload.is-uploading{border-style:solid;border-color:#e7a23d;background:#fffaf2}.stp-receipt-upload.is-uploading .stp-receipt-icon{animation:stpReceiptSpin .8s linear infinite;background:#fff2d8;color:#b46a00}.stp-receipt-upload.is-success{border-style:solid;border-color:#70bd80;background:#f2fbf4}.stp-receipt-upload.is-success .stp-receipt-icon{background:#dff4e4;color:#25803b}.stp-receipt-upload.is-error{border-style:solid;border-color:#e88f8f;background:#fff6f6}.stp-receipt-upload.is-error .stp-receipt-icon{background:#ffe4e4;color:#b63737}.stp-receipt-upload.stp-needs-attention{animation:stpReceiptAttention .48s ease-in-out 2}
@keyframes stpReceiptSpin{to{transform:rotate(360deg)}}
@keyframes stpReceiptAttention{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media(max-width:620px){.stp-gateway-fields{padding:9px!important}.stp-pay-total-mini strong{font-size:17px}.stp-pay-qr{width:136px!important;height:136px!important}.stp-pay-data-row b{font-size:12.5px}.stp-receipt-upload{min-height:96px;padding:11px}.stp-receipt-title{font-size:11.5px}}


/* v0.6.9 · selector de pagos compacto arriba + detalle único debajo */
.stp-payment-stage{gap:12px!important}
.stp-payment-methods{display:grid!important;gap:9px!important}
.stp-payment-option{position:relative!important;display:grid!important;grid-template-columns:20px 46px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:76px!important;padding:11px 13px!important;border:1px solid #dce3df!important;border-radius:13px!important;background:#fff!important;box-shadow:0 1px 1px rgba(18,42,31,.015)!important;cursor:pointer!important;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease!important}
.stp-payment-option:hover{border-color:color-mix(in srgb,var(--stp-accent) 55%,#cfd8d2)!important;box-shadow:0 4px 14px rgba(22,55,39,.045)!important}
.stp-payment-option:has(input:checked){border:1.7px solid var(--stp-accent)!important;background:color-mix(in srgb,var(--stp-accent) 5%,#fff)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--stp-accent) 8%,transparent)!important}
.stp-payment-option input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.stp-payment-radio{width:19px!important;height:19px!important;border:1.6px solid #c5cec9!important;border-radius:50%!important;background:#fff!important;transition:.15s ease!important}
.stp-payment-option:has(input:checked) .stp-payment-radio{border:2px solid var(--stp-accent)!important;background:var(--stp-accent)!important;box-shadow:inset 0 0 0 5px #fff!important}
.stp-payment-icon{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border:1px solid #dde5e0!important;border-radius:10px!important;background:#f5f9f6!important;overflow:hidden!important}
.stp-payment-icon img{display:block!important;max-width:34px!important;max-height:34px!important;width:auto!important;height:auto!important;object-fit:contain!important;margin:0!important}
.stp-payment-icon .stp-payment-fallback-icon{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;color:var(--stp-primary)!important}
.stp-payment-fallback-icon svg{width:25px!important;height:25px!important;stroke:currentColor!important;stroke-width:1.8!important}
.stp-payment-copy{display:grid!important;gap:4px!important;min-width:0!important}
.stp-payment-copy strong{font-size:13.5px!important;line-height:1.2!important;font-weight:720!important;color:#172b22!important}
.stp-payment-copy small{font-size:10.5px!important;line-height:1.38!important;font-weight:450!important;color:#6e7973!important}
.stp-payment-details{overflow:hidden;border:1px solid #dfe7e2;border-radius:13px;background:#fff;box-shadow:0 4px 18px rgba(24,52,39,.035);scroll-margin-top:72px;transition:box-shadow .18s ease,border-color .18s ease}
.stp-payment-details[hidden]{display:none!important}
.stp-payment-details.is-arriving{border-color:color-mix(in srgb,var(--stp-accent) 55%,#dfe7e2);box-shadow:0 0 0 3px color-mix(in srgb,var(--stp-accent) 9%,transparent),0 6px 20px rgba(24,52,39,.05)}
.stp-payment-details-head{display:flex;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid #e4ebe7;background:color-mix(in srgb,var(--stp-primary) 4%,#f8fbf9)}
.stp-payment-details-head>span{width:8px;height:8px;border-radius:50%;background:var(--stp-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--stp-accent) 13%,transparent)}
.stp-payment-details-head strong{font-size:11px!important;font-weight:750!important;color:#20382d!important}
.stp-payment-details-content{padding:11px}
.stp-payment-details .stp-gateway-fields{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.stp-payment-details .stp-gateway-fields[hidden]{display:none!important}
.stp-gateway-fields-empty p{margin:0!important;padding:11px 12px!important;border-radius:9px!important;background:#f7faf8!important;color:#68766f!important;font-size:10.5px!important;line-height:1.4!important}
@media(max-width:620px){
  .stp-payment-stage{gap:10px!important}.stp-payment-methods{gap:8px!important}.stp-payment-option{grid-template-columns:19px 44px minmax(0,1fr)!important;min-height:72px!important;padding:10px 11px!important;gap:9px!important;border-radius:12px!important}.stp-payment-icon{width:42px!important;height:42px!important}.stp-payment-icon img{max-width:33px!important;max-height:33px!important}.stp-payment-copy strong{font-size:13px!important}.stp-payment-copy small{font-size:10px!important}.stp-payment-details-head{padding:9px 10px}.stp-payment-details-content{padding:9px}.stp-payment-details{scroll-margin-top:58px}
}


/* CTA inteligente: solo se anima cuando el siguiente paso ya está listo. */
#stpCheckoutModal .stp-ready-nudge{animation:stpReadyNudge .58s ease-in-out 0s 2!important;transform-origin:center center}
@keyframes stpReadyNudge{0%,100%{transform:translateX(0) scale(1)}20%{transform:translateX(-3px) scale(1.008)}40%{transform:translateX(3px) scale(1.012)}60%{transform:translateX(-2px) scale(1.008)}80%{transform:translateX(2px) scale(1.004)}}
@media(prefers-reduced-motion:reduce){#stpCheckoutModal .stp-ready-nudge{animation:none!important}}
