.checkout-dialog{width:min(520px,calc(100% - 28px));max-height:min(88vh,820px)}
.checkout-form,.pix-payment,.pix-details{display:grid;gap:13px}
.checkout-form label,.pix-payment label{display:grid;gap:6px;font-size:12px;font-weight:750}
.checkout-form input:not([type="radio"]):not([type="checkbox"]),.pix-payment textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;background:#fffdf9;color:var(--ink);font:inherit;font-size:14px}
.checkout-form input:focus,.pix-payment textarea:focus{outline:3px solid #f2b938;outline-offset:2px}
.checkout-form select{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;background:#fffdf9;color:var(--ink);font:inherit;font-size:14px}
.checkout-form select:focus{outline:3px solid #f2b938;outline-offset:2px}
.checkout-total{display:flex;justify-content:space-between;gap:12px;margin:0;font-size:14px}
.checkout-total strong{font-size:18px}
.checkout-shipping-note,.checkout-payment-note,.pix-status{margin:0;color:var(--muted);font-size:12px}
.checkout-error{margin:0;color:#9b1021;font-size:13px;font-weight:700}
.checkout-cep-status{min-height:0;color:var(--muted);font-size:11px;font-weight:500;line-height:1.4}
.pix-payment{justify-items:stretch;text-align:center}
.pix-payment img{justify-self:center;max-width:100%;height:auto;border:1px solid var(--line);padding:8px;border-radius:10px;background:#fff}
.pix-payment textarea{resize:vertical;text-align:left;overflow-wrap:anywhere}
.pix-payment label{text-align:left}
.pix-status{font-weight:800;color:var(--ink)}
.pix-status[data-state="COMPLETED"]{color:#217447}
.pix-status[data-state="FAILED"]{color:#a51627}
.pix-copy{margin-top:0}
.checkout:disabled{opacity:.6;cursor:wait}
.payment-method{margin:0;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fffdf9;font-size:14px;font-weight:750}
.checkout-page .cart-page-header .cart-open{font-size:12px;font-weight:750}
.checkout-page .cart-page-header .cart-open .cart-word{display:inline!important}
.checkout-main{padding:25px 0 70px;min-height:68vh}
.checkout-heading{margin:34px 0 24px}
.checkout-heading .eyebrow{color:var(--red)}
.checkout-heading h1{font-size:clamp(36px,5vw,54px);line-height:1.02;letter-spacing:-.05em;margin:8px 0}
.checkout-heading p{color:var(--muted);font-size:14px;margin:0}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.checkout-panel,.checkout-order-summary{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow)}
.checkout-panel{padding:26px;display:grid;gap:25px}
.checkout-section{display:grid;gap:14px}
.checkout-section h2,.checkout-order-summary h2{font-size:20px;letter-spacing:-.03em;margin:0}
.checkout-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.checkout-order-summary{position:sticky;top:20px;padding:23px}
.checkout-order-summary h2{margin-bottom:16px}
.checkout-order-lines{list-style:none;padding:0;margin:0 0 17px;display:grid;gap:11px}
.checkout-order-lines li{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.4}
.checkout-order-lines li span{color:var(--muted)}
.checkout-order-lines li strong{white-space:nowrap}
.checkout-order-summary dl{margin:0;border-top:1px solid var(--line);padding-top:9px}
.checkout-order-summary dl>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:6px 0}
.checkout-order-summary [hidden]{display:none!important}
.checkout-order-summary dd{margin:0}
.checkout-order-summary #checkout-discount-row{color:var(--green);font-weight:800}
.checkout-order-summary .checkout-total{border-top:1px solid var(--line);padding-top:15px;margin-top:10px}
.checkout-bumps{background:#fffaf2;border:1px solid #ead9c3;border-radius:12px;padding:17px}
.checkout-section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px}
.checkout-section-heading .eyebrow{font-size:9px;color:var(--red)}
.checkout-section-heading p{max-width:24ch;margin:0;color:var(--muted);font-size:11px;text-align:right}
.checkout-order-bumps{display:grid;gap:10px}
.checkout-bump-card{display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--line);background:white;border-radius:10px;padding:10px}
.checkout-bump-card>img{width:74px;height:74px;object-fit:cover;border-radius:8px;background:#eee}
.checkout-bump-copy{min-width:0}
.checkout-bump-copy>strong{font-size:12px;line-height:1.3;display:block}
.checkout-bump-copy>p{font-size:10px;color:var(--red-dark);font-weight:750;margin:4px 0}
.checkout-bump-price{display:flex;align-items:center;gap:7px;color:var(--muted)!important}
.checkout-bump-price strong{font-size:14px;color:var(--ink)}
.checkout-bump-size-label{display:flex!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px!important;margin-top:5px;font-size:10px!important;color:var(--muted);font-weight:600!important}
.checkout-bump-size-label select{min-width:0;max-width:180px;border:1px solid var(--line);border-radius:6px;background:white;padding:5px;font:inherit;font-size:10px}
.checkout-bump-add{display:grid;justify-items:center;gap:4px;font-size:10px;font-weight:800;white-space:nowrap}
.checkout-payment-result{grid-column:1 / -1;scroll-margin-top:20px}
.checkout-payment-result[hidden],.checkout-form [hidden],.pix-payment [hidden]{display:none!important}
.checkout-payment-result h2{font-size:22px;margin:0}
.checkout-payment-result>p{margin:8px 0}
.checkout-payment-result .pix-payment{margin-top:15px}
@media(max-width:850px){.checkout-layout{grid-template-columns:1fr}.checkout-order-summary{position:static;grid-row:1}.checkout-panel{padding:20px}}
@media(max-width:540px){.checkout-main{padding-top:18px}.checkout-heading{margin:25px 0 18px}.checkout-two-columns{grid-template-columns:1fr}.checkout-section-heading{display:block}.checkout-section-heading p{text-align:left;margin-top:7px}.checkout-bump-card{grid-template-columns:58px minmax(0,1fr) auto;gap:9px;padding:8px}.checkout-bump-card>img{width:58px;height:58px}.checkout-bump-add{font-size:9px}.checkout-bump-copy>strong{font-size:11px}}
