.kb-cart-open{overflow:hidden!important}.kb-cart-overlay{position:fixed;inset:0;background:#0009;z-index:2147483600;opacity:0;visibility:hidden;transition:.2s}.kb-cart-overlay.open{opacity:1;visibility:visible}.kb-cart-drawer{position:fixed;right:0;top:0;bottom:0;width:min(432px,100vw);background:#fff;z-index:2147483601;transform:translateX(100%);transition:transform .25s;display:flex;flex-direction:column;font:14px Arial,sans-serif;color:#222;box-shadow:-8px 0 30px #0002}.kb-cart-drawer.open{transform:translateX(0)}.kb-cart-head{height:72px;min-height:72px;border-bottom:1px solid #e5e5e5;display:flex;align-items:center;justify-content:space-between;padding:0 28px;letter-spacing:.05em}.kb-cart-head button{border:0;background:transparent;font-size:27px;cursor:pointer}.kb-cart-lines{overflow:auto;flex:1;padding:8px 28px}.kb-cart-line{display:flex;gap:15px;padding:18px 0;border-bottom:1px solid #e5e5e5}.kb-cart-line>a img,.kb-checkout-line img{width:72px;height:72px;object-fit:cover;border-radius:6px}.kb-cart-line-main{flex:1;min-width:0}.kb-cart-title{display:block;color:#222;text-decoration:none;font-weight:600;line-height:1.4}.kb-cart-brand{color:#777;font-size:12px;margin:3px 0 8px}.kb-cart-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.kb-cart-qty{display:inline-flex;align-items:center;border:1px solid #e5e5e5;border-radius:20px;height:30px}.kb-cart-qty button{border:0;background:transparent;width:29px;cursor:pointer;font-size:16px}.kb-cart-qty span{min-width:18px;text-align:center}.kb-cart-remove{border:0;background:none;text-decoration:underline;color:#777;font-size:11px;padding:5px 0;cursor:pointer}.kb-cart-foot{border-top:1px solid #e5e5e5;padding:20px 28px 24px}.kb-cart-total{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-bottom:8px}.kb-cart-foot p{color:#777;margin:0 0 16px}.kb-cart-primary,.kb-cart-secondary{display:block;text-align:center;padding:13px 15px;border-radius:6px;text-decoration:none!important;font-weight:700;font-size:13px;letter-spacing:.03em;margin-top:10px}.kb-cart-primary{background:#202020;color:#fff!important}.kb-cart-secondary{border:1px solid #222;color:#222!important}.kb-cart-empty{padding:32px 0;color:#777}.kb-page{max-width:1050px;margin:40px auto 80px;padding:0 24px;font:14px Arial,sans-serif;color:#222}.kb-page h1{font-size:28px;margin-bottom:24px}.kb-page-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:40px;align-items:start}.kb-page-box,.kb-page-summary{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:16px 22px}.kb-page-summary{padding:24px}.kb-page-summary .kb-cart-total{margin:0 0 14px}.kb-page-summary p{color:#777;line-height:1.5}.kb-checkout{max-width:1150px;margin:40px auto;padding:0 24px 80px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:60px;font:14px Arial,sans-serif;color:#222}.kb-checkout h1{font-size:25px;margin:0 0 28px}.kb-checkout h2{font-size:16px;margin:30px 0 15px}.kb-checkout label{display:block;color:#666;font-size:12px;margin:12px 0 6px}.kb-checkout input{width:100%;height:44px;border:1px solid #ccc;border-radius:6px;padding:10px;font:inherit}.kb-checkout-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.kb-checkout-side{background:#f7f7f7;border:1px solid #eee;border-radius:9px;padding:24px;height:max-content}.kb-checkout-line{display:flex;gap:12px;align-items:center;border-bottom:1px solid #ddd;padding:10px 0}.kb-checkout-line img{width:60px;height:60px}.kb-checkout-line span{flex:1}.kb-checkout-line small{display:block;color:#777;margin-top:5px}.kb-checkout-line strong{white-space:nowrap}.kb-test-note{background:#fff8e8;border:1px solid #efdaab;border-radius:6px;padding:14px;line-height:1.5;color:#6c520a;margin-top:24px}@media(max-width:760px){.kb-page-grid,.kb-checkout{grid-template-columns:1fr;gap:22px}.kb-cart-head{height:62px;min-height:62px}.kb-cart-lines,.kb-cart-foot{padding-left:20px;padding-right:20px}}
 /* Fluxo brasileiro de demonstração, inspirado no carrinho/checkout Casa Inês. */
[hidden]{display:none!important}
.kb-cart-primary{background:#8e1116;color:#fff!important}
.kb-discount-banner{padding:12px;border-radius:6px;font-size:12px;line-height:1.45;text-align:center;margin-bottom:14px}
.kb-discount-next{background:#fff3f3;color:#ae2020;border:1px solid #ffcccc}
.kb-discount-win{background:#e9f8ef;color:#176b3a;border:1px solid #bfe8cf}
.kb-totals{display:grid;gap:8px;margin:12px 0}
.kb-totals>div,#kb-thankyou-totals>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.kb-totals>div:not(.kb-cart-total){font-size:13px;color:#555}
.kb-totals .kb-discount-row{color:#176b3a!important}
.kb-totals .kb-cart-total,#kb-thankyou-totals .kb-cart-total{border-top:1px solid #ddd;padding-top:12px;margin-top:4px;font-size:16px}
.kb-cart-error{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:2147483602;max-width:min(480px,90vw);padding:13px 18px;background:#fff3f3;border:1px solid #edb7b7;border-radius:6px;color:#9b1b1b;box-shadow:0 6px 24px #0003;display:none;font:14px Arial,sans-serif}
.kb-cart-error.visible{display:block}
.kb-checkout-body{background:#fafafa;margin:0}
.kb-topbar{background:#fff;border-top:4px solid #a41420;border-bottom:1px solid #e5e5e5;padding:20px 24px}
.kb-topbar-inner{max-width:1150px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;font:12px Arial,sans-serif;color:#666}
.kb-brand{font:300 30px/1 Arial,sans-serif;letter-spacing:-2px;color:#222;text-decoration:none}
.kb-brand small{display:block;text-align:right;font:10px/1.4 Arial,sans-serif;letter-spacing:5px}
.kb-checkout{margin-top:24px;gap:70px}
.kb-checkout h1{font-size:16px;text-transform:uppercase;font-weight:600;margin:30px 0 16px}
.kb-checkout h2{font-size:16px;margin:0 0 20px}
.kb-checkout label{margin-top:14px}
.kb-checkout input:not([type=radio]),.kb-checkout textarea{box-sizing:border-box}
.kb-checkout input[type=radio]{width:18px;height:18px;flex:none;accent-color:#8e1116;margin:2px 4px 0 0}
.kb-checkout-three{grid-template-columns:1fr 1fr 80px}
.kb-checkout-side{background:#f7f7f9;border-radius:0;min-height:320px;padding:36px;position:sticky;top:20px}
.kb-trust{color:#e59a00;font-size:17px;padding:6px 0 12px}
.kb-trust strong,.kb-trust strong~*{color:#333}
.kb-payment-box{border:1px solid #ddd;border-radius:8px;background:#fff;overflow:hidden}
.kb-payment-option{display:flex!important;gap:12px;align-items:flex-start;margin:0!important;padding:18px;border-bottom:1px solid #e5e5e5;color:#222!important;font-size:14px!important}
.kb-payment-option:last-child{border-bottom:0}
.kb-payment-option span{display:block}
.kb-payment-option strong{display:block;font-size:14px}
.kb-payment-option small{display:block;font-size:13px;color:#666;margin-top:5px}
.kb-payment-option em{font-style:normal;color:#146c3e;background:#e7f8ed;padding:3px 7px;border-radius:20px;font-size:11px}
.kb-payment-disabled{opacity:.55}
.kb-payment-disabled em{background:#eee;color:#666}
.kb-pay-button{width:100%;border:0;border-radius:7px;background:#218c50;color:#fff;font:700 15px Arial,sans-serif;padding:17px;margin:20px 0 0;cursor:pointer}
.kb-pay-button:hover{background:#187343}.kb-pay-button:disabled{background:#bbb;cursor:not-allowed}
.kb-demo-warning{font:13px/1.5 Arial,sans-serif;background:#fff8e8;border:1px solid #efd9a2;border-radius:6px;padding:12px;color:#684b0b;margin:20px 0 0}
.kb-secure-note{text-align:center;color:#777;font-size:12px;margin:14px 0 20px}
.kb-back-link{color:#666;text-decoration:none;font-size:13px}
.kb-pix-result h1{font-size:24px;text-transform:none;margin:18px 0}
.kb-pix-box{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:28px;max-width:550px}
.kb-pix-qr{width:230px;max-width:80%;margin:0 auto 22px;padding:8px;border:1px solid #ddd;border-radius:8px;background:#fff}
.kb-pix-result label{font-size:13px;font-weight:700;margin:0 0 8px}
.kb-pix-result textarea{width:100%;min-height:82px;resize:vertical;border:1px solid #ccc;border-radius:6px;padding:10px;font:13px/1.4 monospace}
.kb-pix-result .kb-cart-secondary{width:100%;box-sizing:border-box;background:#fff;cursor:pointer}
#kb-copy-status{font-size:12px;color:#176b3a;min-height:1em}
.kb-thankyou{max-width:720px;margin:65px auto;padding:0 24px 80px;font:14px/1.5 Arial,sans-serif;color:#222}
.kb-thankyou h1{font-size:28px;line-height:1.2}
.kb-thankyou h2{font-size:18px}
.kb-thankyou-check{background:#218c50;color:#fff;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:28px}
.kb-thankyou-id{color:#777}
.kb-thankyou-box{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:24px;margin:28px 0}
#kb-thankyou-totals{display:grid;gap:9px;margin-top:18px}
#kb-thankyou-totals>div:not(.kb-cart-total){font-size:13px;color:#555}
.kb-thankyou .kb-cart-primary{max-width:250px}
@media(max-width:760px){.kb-checkout{margin-top:8px}.kb-checkout-side{position:static;min-height:0;padding:22px}.kb-checkout-three{grid-template-columns:1fr 1fr 70px}.kb-topbar{padding:16px 20px}.kb-brand{font-size:25px}.kb-pix-box{padding:18px}}
/* As vitrines Shopify copiadas dependem da API de seções da loja original e ficam vazias neste espelho. */
body.template-product .halo-recently-viewed-block-sections,
body.template-product [id*="__product-recommendations"].shopify-section{display:none!important}
