.checkout-dialog{width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 48px);height:760px;margin:auto;padding:0;border:0;background:#fff;border-radius:16px;overflow:hidden;color:#191b20}.checkout-dialog [hidden]{display:none!important}
.checkout-dialog[open]{display:flex;flex-direction:column}.checkout-header{position:relative;flex:none;padding:24px 28px 18px;border-bottom:1px solid #e8e9ec}.checkout-header .mono{font-size:10px;color:#6a6e76;margin-bottom:8px}.checkout-header h2{font-size:25px;letter-spacing:-.035em;padding-right:36px}.checkout-header .dialog-close{top:21px;right:20px;box-shadow:none;border:1px solid #e8e9ec;width:40px;height:40px;font-size:25px}.checkout-steps{display:flex;gap:18px;padding-top:18px;font-size:12px;color:#777c85}.checkout-steps span{display:flex;align-items:center;gap:6px}.checkout-steps b{border:1px solid #dfe2e7;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:10px}.checkout-steps .active{color:var(--blue);font-weight:600}.checkout-steps .active b{background:var(--blue);color:white;border-color:var(--blue)}
.checkout-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:24px 28px 28px;scroll-behavior:smooth}.checkout-product{display:flex;gap:17px;align-items:center;padding-bottom:22px}.checkout-product img{width:55px;height:86px;object-fit:contain;flex:none}.checkout-product strong{display:block;font-size:15px}.checkout-product p{font-size:13px;color:#6a6e76;margin-top:5px}.checkout-product small{display:block;font-size:12px;margin-top:6px;color:var(--blue)}.checkout-content h3:not(#checkout-brick *){font-size:20px;letter-spacing:-.04em;margin-bottom:9px}.checkout-help{font-size:13px;line-height:1.6;color:#676c74;margin-bottom:20px}.checkout-fields label,.checkout-cep label{display:block;font-size:12px;font-weight:550;color:#454b54}.checkout-fields input,.checkout-fields select,.checkout-cep input{display:block;width:100%;min-width:0;min-height:49px;background:#fff;border:1px solid #dce0e6;border-radius:8px;font:16px 'DM Sans',Arial,sans-serif;padding:11px 13px;margin-top:7px;color:#191b20}.checkout-fields input:focus,.checkout-fields select:focus,.checkout-cep input:focus{outline:2px solid var(--blue);outline-offset:1px}.checkout-cep{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}.checkout-small-button{min-height:49px;background:#24282e;color:#fff;border-radius:8px;padding:12px 18px;font-size:14px;font-weight:550}.checkout-small-button:disabled{opacity:.55}.checkout-error{font-size:13px;line-height:1.6;color:#9a2541;margin-top:14px;overflow-wrap:anywhere}.checkout-loading{display:flex;align-items:center;gap:10px;font-size:13px;color:#656b74;padding:15px 0}.checkout-spinner{display:inline-block;width:17px;height:17px;border:2px solid #dfe3e9;border-top-color:var(--blue);border-radius:50%;animation:checkout-spin .8s linear infinite;flex:none}@keyframes checkout-spin{to{transform:rotate(360deg)}}
.checkout-options{display:grid;gap:9px;margin-top:20px}.checkout-options label{position:relative;border:1px solid #e0e3e9;border-radius:10px;padding:15px;min-height:75px;display:grid;grid-template-columns:18px 1fr auto;gap:10px;align-items:center;cursor:pointer}.checkout-options label:has(input:checked){border-color:var(--blue);background:color-mix(in srgb,var(--blue) 4%,white)}.checkout-options input{appearance:auto;width:17px;height:17px;min-height:0;margin:0;accent-color:var(--blue);padding:0}.checkout-options strong{display:block;font-size:14px;color:#262b31}.checkout-options small{display:block;font-size:11px;color:#6d737c;margin-top:4px;font-weight:400}.checkout-options b{font-size:15px;color:#20242a;white-space:nowrap}.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkout-fields .full{grid-column:1/-1}.checkout-fields label small{color:#818791;font-weight:400}.checkout-address-cep{font-size:12px;color:#6c717a;padding:13px;background:#f5f6f8;border-radius:8px;margin-bottom:17px}.checkout-address-cep button{float:right;background:none;color:var(--blue);text-decoration:underline;font-size:12px;padding:0}.checkout-privacy{font-size:11px;line-height:1.6;color:#6c727c;margin-top:17px}.checkout-privacy button{padding:0;background:none;color:inherit;text-decoration:underline;font-size:inherit}.checkout-totals{border-top:1px solid #e8e9ec;padding-top:16px;margin-bottom:18px;display:grid;gap:9px;font-size:13px;color:#666c76}.checkout-totals>div{display:flex;justify-content:space-between;gap:10px}.checkout-totals .checkout-grand-total{color:#191b20;font-size:18px;padding-top:6px;font-weight:600}.checkout-totals b{font-weight:550}.checkout-footer{flex:none;padding:17px 28px max(20px,env(safe-area-inset-bottom));border-top:1px solid #e5e8ed;background:white}.checkout-footer-line{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.checkout-footer-line span{font-size:12px;color:#747983}.checkout-footer-line strong{font-size:22px;letter-spacing:-.04em}.checkout-next{width:100%;min-height:51px;border-radius:8px;background:var(--blue);color:white;font-weight:600;font-size:15px;transition:opacity .2s}.checkout-next:disabled{opacity:.45}.checkout-back{display:block;margin:14px auto 0;padding:4px;background:none;color:#646a74;text-decoration:underline;font-size:12px;min-height:32px}.checkout-preparing{padding:20px;background:#f4f5f7;border-radius:12px}.checkout-preparing h3{font-size:19px}.checkout-preparing p{font-size:13px;line-height:1.65;color:#626974;margin:12px 0}.checkout-preparing a{display:inline-flex;margin-top:8px;font-size:14px;font-weight:600;min-height:48px;align-items:center;gap:8px;color:var(--blue)}.checkout-test-label{font-size:11px;background:#fff6dc;padding:10px 12px;border-radius:7px;color:#7d5d15;margin-bottom:16px}.checkout-status-title{font-size:22px!important;margin-top:14px}.checkout-status-note{font-size:13px;color:#606974;line-height:1.65;margin-bottom:20px}.checkout-order-id{font-size:11px;overflow-wrap:anywhere;color:#747b86;margin-top:12px}.checkout-retry{display:block;min-height:47px;border:1px solid #dce1e8;border-radius:8px;background:white;padding:12px 17px;margin-top:14px;font-size:14px}.checkout-support{font-size:13px;text-decoration:underline;display:inline-block;margin-top:18px}.checkout-mp-note{text-align:center;font-size:11px;color:#6b737f;margin:14px 0}
@media(max-width:640px){.checkout-dialog{width:100%;max-width:none;max-height:none;position:fixed;left:0;top:var(--checkout-top,0px);height:var(--checkout-height,100dvh);margin:0;border-radius:0}.checkout-header{padding:14px 20px 12px}.checkout-header h2{font-size:23px}.checkout-header .dialog-close{top:14px;right:16px}.checkout-content{padding:20px}.checkout-footer{padding:15px 20px max(16px,env(safe-area-inset-bottom))}.checkout-steps{gap:16px;padding-top:12px}.checkout-fields{gap:12px}.checkout-fields input,.checkout-fields select{min-height:48px}.checkout-fields label.full-mobile{grid-column:1/-1}.checkout-product{padding-bottom:19px}}
.checkout-shipping-loading{display:flex;align-items:center;gap:10px;padding:16px 0 0;font-size:13px;line-height:1.5;color:#656b74}.checkout-shipping-error{font-size:13px;line-height:1.6;color:#9a2541;overflow-wrap:anywhere}.checkout-shipping-error:not(:empty){margin-top:14px}.checkout-shipping-error:empty,.checkout-options:empty{display:none}
@media(max-width:360px){.checkout-header{padding:12px 16px}.checkout-steps{gap:10px;font-size:11px;white-space:nowrap}.checkout-content{padding:16px}.checkout-product{padding-bottom:16px}.checkout-product img{width:42px;height:64px}.checkout-help{margin-bottom:14px}}
/* The store owns the method chooser; Mercado Pago owns the secure fields.
   SDK selectors use HTML inheritance, never generated class names. */
#checkout-shipping-name{margin-bottom:0}
.checkout-pix-form{padding-top:20px;min-width:0}.checkout-pix-form label,.pix-manual label{display:block;font-size:13px;font-weight:500;color:#454b54}.checkout-pix-form input{display:block;width:100%;min-width:0;min-height:50px;background:white;border:1px solid #dddfda;border-radius:8px;font:16px 'DM Sans',Arial,sans-serif;padding:12px 14px;margin-top:8px;color:#191b1c}.checkout-pix-form input:focus{outline:2px solid #191b1c;outline-offset:1px}.checkout-pix-form input[aria-invalid=true]{border-color:#a03145}.checkout-pix-form>p{font-size:12px;line-height:1.55;margin-top:8px;color:#737770}.checkout-pix-form .checkout-pix-field-error{color:#a03145}.checkout-pix-field-error:empty{display:none}.checkout-pix-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:52px;border:1px solid #191b1c;border-radius:9px;background:#191b1c;color:white;font-size:15px;font-weight:600;padding:13px 16px;touch-action:manipulation;transition:background-color .18s,opacity .18s}.checkout-pix-form .checkout-pix-primary{margin-top:18px}.checkout-pix-primary:disabled{opacity:.45}.checkout-pix-primary svg{width:19px;height:19px;flex:none}.checkout-pix-code{padding:0;min-width:0}.pix-value{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px}.pix-value>span{font-size:13px;color:#737770}.pix-value>strong{font-size:27px;font-weight:550;letter-spacing:-.035em;white-space:nowrap}.pix-qr-frame{display:grid;place-items:center;margin:0 auto;width:200px;height:200px;border:1px solid #e5e7e2;border-radius:12px;background:#fff}.pix-qr-frame img{width:176px;height:176px;object-fit:contain;image-rendering:auto}.pix-validity{text-align:center;font-size:12px;font-variant-numeric:tabular-nums;color:#617469;margin:12px 0}.pix-instructions{font-size:13px;line-height:1.55;color:#6a716a;text-align:center;margin-bottom:16px}.pix-copy-status{font-size:12px;line-height:1.5;color:#617469;margin-top:9px;text-align:center}.pix-copy-status:empty{display:none}.pix-manual{margin-top:14px}.pix-manual textarea{display:block;width:100%;min-width:0;resize:none;border:1px solid #dddfda;border-radius:8px;background:#fff;font:13px 'IBM Plex Mono',monospace;color:#191b1c;padding:12px;overflow-wrap:anywhere;margin-top:8px;user-select:text!important;-webkit-user-select:text!important;touch-action:manipulation}.pix-manual p{font-size:12px;line-height:1.5;margin-top:8px;color:#737770}
.checkout-dialog[data-payment-view=pix] .checkout-product,.checkout-dialog[data-payment-view=pix] .checkout-cart-lines,.checkout-dialog[data-payment-view=pix] [data-checkout-panel="3"]>h3,.checkout-dialog[data-payment-view=pix] .checkout-totals,.checkout-dialog[data-payment-view=pix] #checkout-shipping-name,.checkout-dialog[data-payment-view=pix] #checkout-order-id{display:none}.checkout-dialog[data-payment-view=pix] .checkout-status-title{margin-top:0}.checkout-dialog[data-payment-view=pix] .checkout-status-note{font-size:13px;margin-bottom:18px}.checkout-dialog[data-payment-view=pix] .checkout-payment{margin-top:0}.checkout-dialog[data-payment-view=pix] #checkout-check-status{width:100%;margin-top:12px;border-color:#dddfda;background:#fff;color:#454b54}.checkout-dialog[data-payment-view=pix] .checkout-support{display:block;text-align:center;margin-top:14px;font-size:12px}.checkout-dialog[data-payment-view=pix] .checkout-mp-note{margin-bottom:0}
.checkout-dialog[data-payment-view=pix] .checkout-status-note{display:none}
@media(max-width:640px){.checkout-dialog[data-payment-view=pix] .checkout-header h2{display:none}.checkout-dialog[data-payment-view=pix] .checkout-header .mono{padding-right:40px}.checkout-dialog[data-payment-view=pix] .checkout-steps{padding-top:10px}.checkout-dialog[data-payment-view=pix] .pix-qr-frame{width:176px;height:176px}.checkout-dialog[data-payment-view=pix] .pix-qr-frame img{width:156px;height:156px}.checkout-dialog[data-payment-view=pix] .checkout-support,.checkout-dialog[data-payment-view=pix] .checkout-mp-note{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:14px 0 0;font-size:10px;line-height:1.5}.checkout-dialog[data-payment-view=pix] .checkout-support{width:40%}.checkout-dialog[data-payment-view=pix] .checkout-mp-note{width:60%}.checkout-dialog[data-payment-view=pix] .checkout-mp-note:before{display:none}}
@media(max-height:620px) and (max-width:640px){.checkout-dialog[data-payment-view=pix] .checkout-content{padding:14px 16px}.checkout-dialog[data-payment-view=pix] .checkout-status-title{font-size:20px!important}.checkout-dialog[data-payment-view=pix] .pix-value{margin-bottom:12px}.checkout-dialog[data-payment-view=pix] .pix-qr-frame{width:164px;height:164px}.checkout-dialog[data-payment-view=pix] .pix-qr-frame img{width:148px;height:148px}.checkout-dialog[data-payment-view=pix] .pix-validity{margin:9px 0}.checkout-dialog[data-payment-view=pix] .pix-instructions{font-size:12px;margin-bottom:12px}.checkout-dialog[data-payment-view=pix] .checkout-support,.checkout-dialog[data-payment-view=pix] .checkout-mp-note{margin-top:12px}}
.checkout-error:empty{display:none}
@media(max-width:640px){.checkout-dialog[data-payment-view=pix] .checkout-header .dialog-close{top:4px}.checkout-dialog[data-payment-view=pix] .checkout-steps{padding-top:18px}}
@media(max-height:620px) and (max-width:640px){.checkout-dialog[data-payment-view=pix] .checkout-header{padding:10px 16px 8px}.checkout-dialog[data-payment-view=pix] .checkout-steps{padding-top:18px}.checkout-dialog[data-payment-view=pix] .checkout-content{padding-bottom:10px}.checkout-dialog[data-payment-view=pix] #checkout-check-status{min-height:44px;padding:10px 17px;margin-top:8px}}
.checkout-payment{margin-top:24px;min-width:0}
.checkout-payment>h3{font-size:16px!important;letter-spacing:-.025em!important;margin-bottom:14px!important}
.payment-method-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.payment-method{position:relative;min-width:0;min-height:116px;padding:16px 18px;text-align:left;border:1px solid #dedfdb;border-radius:12px;background:#fafbf9;color:#191b1c;transition:background-color .18s,border-color .18s,box-shadow .18s;touch-action:manipulation}
.payment-method-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:12px}
.payment-method-icon{width:26px;height:26px;flex:none}
.payment-method-check{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#191b1c;color:white;opacity:0;transform:scale(.7);transition:opacity .18s,transform .18s}
.payment-method-check svg{width:14px;height:14px}
.payment-method strong{display:block;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:-.015em}
.payment-method small{display:block;font-size:11px;font-weight:400;color:#767970;line-height:1.5;margin-top:3px}
.payment-method[aria-pressed=true]{background:#fff;border-color:#191b1c;box-shadow:0 0 0 1px #191b1c}
.payment-method[aria-pressed=true] .payment-method-check{opacity:1;transform:scale(1)}
.payment-method:focus-visible{outline:2px solid #191b1c;outline-offset:4px}
.payment-method:disabled{cursor:default}
.payment-method-hint{font-size:12px;line-height:1.5;color:#787c75;margin-top:13px}
.payment-form-loading{display:flex;align-items:center;gap:10px;min-height:66px;color:#737770;font-size:13px;margin-top:18px}
.checkout-payment #checkout-brick{min-width:0;font-family:'DM Sans',Arial,sans-serif}
.checkout-payment #checkout-brick:not(:empty){margin-top:22px}
.checkout-payment #checkout-brick input:not([type=radio]),.checkout-payment #checkout-brick select{background:#fff;border-color:#dddfda;border-radius:8px;font-family:'DM Sans',Arial,sans-serif;font-size:16px;color:#191b1c}
.checkout-payment #checkout-brick input:autofill{box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:#191b1c}
.checkout-payment #checkout-brick div:has(>input[type=radio]){display:none}
.checkout-payment #checkout-brick form>div:has(>div>input[type=radio]){border:0;border-radius:0;background:none;overflow:visible}
.checkout-payment #checkout-brick div:has(>button[type=submit]){width:100%;max-width:none;display:block}
.checkout-payment #checkout-brick button[type=submit]{width:100%!important;max-width:none;min-height:52px;margin-top:20px;border-radius:10px;letter-spacing:-.01em}
.checkout-totals{border:0;border-radius:0;background:none;padding:14px 0 16px;gap:10px;margin:4px 0 10px;border-bottom:1px solid #e6e7e2}
.checkout-grand-total{border-top:1px solid #e6e7e2;margin-top:4px;padding-top:14px!important;align-items:baseline}
.checkout-grand-total b{font-size:27px;letter-spacing:-.05em;font-weight:600}
.checkout-mp-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;line-height:1.5;color:#80847d}
.checkout-mp-note:before{content:'';width:12px;height:14px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Crect x='2' y='7' width='12' height='9' rx='2' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M5 7V4a3 3 0 0 1 6 0v3' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat}
@media(hover:hover){.payment-method:not(:disabled):hover{border-color:#8d9189;background:#fff}.payment-method[aria-pressed=true]:hover{border-color:#191b1c}}
@media(max-width:640px){.payment-method{padding:15px 16px;min-height:114px}.checkout-payment{margin-top:22px}}
@media(max-width:350px){.payment-method-picker{gap:10px}.payment-method{padding:14px 12px}.payment-method small{font-size:10px}.payment-method-icon{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.checkout-spinner{animation:none}.checkout-content{scroll-behavior:auto}.payment-method,.payment-method-check{transition:none}}
