#loops-cart-toggle{position:fixed;bottom:85px;right:20px;z-index:65;background:#2563eb;color:#fff;padding:12px 18px;border-radius:40px;font-weight:800;box-shadow:0 8px 30px #0008}#loops-cart-modal[hidden]{display:none!important}#loops-cart-modal{position:fixed;inset:0;z-index:100;background:#000b;display:flex;justify-content:flex-end}#loops-cart-panel{background:#101c32;color:#fff;width:min(440px,100%);height:100%;overflow:auto;padding:24px;box-shadow:-8px 0 30px #0008}#loops-cart-panel h2{font-size:24px;font-weight:800;margin-bottom:16px}#loops-cart-panel button{cursor:pointer}#loops-cart-items article{padding:14px 0;border-bottom:1px solid #ffffff22}#loops-cart-items button{padding:5px 12px;background:#243858;border-radius:8px;margin:4px}#loops-cart-checkout{display:block;width:100%;background:#22c55e;color:#07120b;padding:14px;border-radius:12px;font-weight:800;margin-top:20px}#loops-cart-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:24px 0}#loops-cart-products article{border:1px solid #ffffff25;border-radius:14px;padding:14px;background:#121e31;color:white}#loops-cart-products img{width:100%;height:150px;object-fit:contain}#loops-cart-products button{background:#2563eb;color:white;padding:9px 14px;border-radius:9px;margin-top:8px}#loops-cart-store{max-width:1200px;margin:auto;padding:40px 20px;color:white}#loops-cart-store h2{font-size:28px;font-weight:800}#loops-cart-message{padding:10px;color:#fbbf24}
#loops-cart-store{padding:20px!important}#loops-cart-products{display:none!important}#loops-cart-store>p:first-of-type{display:none}#loops-cart-store h2{font-size:1.25rem}#loops-cart-store h2:after{content:' — ver catálogo completo';font-size:.9rem;color:#67e8f9}#loops-cart-panel button:focus-visible,.cartlink:focus-visible{outline:3px solid #67e8f9;outline-offset:3px}@media(max-width:600px){#loops-cart-toggle{bottom:80px;right:12px;padding:11px 14px}#loops-cart-panel{padding:18px}}

#loops-cart-panel .loops-check-label{display:block;font-weight:750;margin:14px 0 6px;color:#e5f1ff}#loops-cart-panel select,#loops-cart-panel textarea,#loops-cart-panel input{box-sizing:border-box;width:100%;border:1px solid #415a80;border-radius:10px;background:#15243d;color:#fff;padding:11px;font:inherit}#loops-cart-panel [hidden]{display:none!important}

/* LOOPS: controles do carrinho — visual premium e responsivo */
#loops-cart-panel{background:#0c1930;color:#f4f8ff}
#loops-cart-panel #loops-cart-items .loops-cart-item{padding:17px 0;border-bottom:1px solid #6550dc80;background:transparent}
#loops-cart-panel .loops-cart-item-info{display:flex;flex-direction:column;gap:5px;margin-bottom:13px}
#loops-cart-panel .loops-cart-item-name{font-size:1rem;font-weight:800;color:#fff;overflow-wrap:anywhere}
#loops-cart-panel .loops-cart-item-price{font-size:1.12rem;font-weight:850;color:#23d9f6}
#loops-cart-panel .loops-cart-qty-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#loops-cart-panel #loops-cart-items .loops-cart-qty-controls button{margin:0;min-width:42px;min-height:40px;padding:8px 12px;border:1px solid transparent;border-radius:10px;font-size:16px;font-weight:800;color:#fff;transition:filter .15s,transform .15s}
#loops-cart-panel #loops-cart-items .loops-cart-qty-controls button:hover{filter:brightness(1.17)}
#loops-cart-panel #loops-cart-items .loops-cart-qty-controls button:active{transform:scale(.97)}
#loops-cart-panel #loops-cart-items .loops-cart-qty-minus{background:#272f68;border-color:#6975f7}
#loops-cart-panel #loops-cart-items .loops-cart-qty-plus{background:#0869f9;border-color:#3999ff}
#loops-cart-panel #loops-cart-items .loops-cart-remove{background:#b91d4b;border-color:#fb3970;font-size:14px;min-width:110px}
#loops-cart-panel .loops-cart-qty-number{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 8px;background:#101c36;border:1px solid #334b79;border-radius:10px;font-weight:800;color:#fff}
#loops-cart-panel #loops-cart-total{color:#23d9f6;font-weight:900;font-size:1.3rem;margin:18px 0}
#loops-cart-panel #loops-cart-close{float:right;background:#182853;border:1px solid #5b65f0;color:#fff;padding:8px 12px;border-radius:10px;font-weight:750}
@media(max-width:480px){#loops-cart-panel .loops-cart-qty-controls{gap:6px}#loops-cart-panel #loops-cart-items .loops-cart-qty-controls button{min-width:38px;min-height:38px;padding:7px 10px}#loops-cart-panel .loops-cart-qty-number{min-width:34px;min-height:38px}}

/* Foto do produto no resumo do carrinho */
#loops-cart-panel #loops-cart-items .loops-cart-item{display:flex;align-items:center;gap:14px;min-width:0}
#loops-cart-panel .loops-cart-item-photo{display:block;flex:0 0 96px;width:96px;height:110px;object-fit:contain;background:#0a1429;border:1px solid #334b79;border-radius:12px;padding:6px}
#loops-cart-panel .loops-cart-item-details{flex:1;min-width:0}
@media(max-width:480px){#loops-cart-panel #loops-cart-items .loops-cart-item{gap:10px}#loops-cart-panel .loops-cart-item-photo{flex-basis:76px;width:76px;height:90px;padding:4px}}

/* LOOPS — seleção de pagamento responsiva */
#loops-cart-panel .loops-payment-section{margin:22px 0 20px;padding:clamp(14px,2vw,22px);border:1px solid #344d7b;border-radius:18px;background:linear-gradient(135deg,#142440,#0c1830)}
#loops-cart-panel .loops-payment-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}
#loops-cart-panel .loops-section-kicker{font-size:11px;letter-spacing:.12em;color:#76aaff;font-weight:800}
#loops-cart-panel .loops-payment-heading h3{margin:5px 0;font-size:clamp(18px,2.5vw,23px);color:#fff}
#loops-cart-panel .loops-payment-heading p{margin:0;color:#b6c7e4;font-size:13px}
#loops-cart-panel .loops-secure-label{font-size:12px;color:#a5f3d0;background:#113b38;border:1px solid #2a6e5e;padding:7px 10px;border-radius:20px}
#loops-cart-panel .loops-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#loops-cart-panel .loops-payment-option{cursor:pointer;position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:135px;padding:15px;border:1px solid #385078;border-radius:14px;background:#182b49;transition:border-color .15s,background .15s,transform .15s}
#loops-cart-panel .loops-payment-option:hover{border-color:#72a8ff;background:#1b3558}
#loops-cart-panel .loops-payment-option:has(input:checked){border:2px solid #34c6ff;background:#153658;padding:14px;box-shadow:0 0 0 2px #34c6ff19}
#loops-cart-panel .loops-payment-option:has(input:focus-visible){outline:3px solid #fff;outline-offset:3px}
#loops-cart-panel .loops-payment-option input{position:absolute;opacity:0;width:1px;height:1px}
#loops-cart-panel .loops-payment-icon{font-size:25px;line-height:1;color:#67dcff}
#loops-cart-panel .loops-payment-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
#loops-cart-panel .loops-payment-copy strong{color:#fff;font-size:16px}
#loops-cart-panel .loops-payment-copy small{color:#b6c8e1;font-size:12px;line-height:1.4}
#loops-cart-panel .loops-payment-check{position:absolute;top:12px;right:12px;border:1px solid #536b8c;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;font-size:12px;color:transparent}
#loops-cart-panel .loops-payment-option:has(input:checked) .loops-payment-check{background:#13a7f6;color:white;border-color:#13a7f6}
#loops-cart-panel .loops-payment-hint{font-size:12px;color:#bed3ee;margin:13px 0 0;line-height:1.5}
#loops-cart-panel [hidden]{display:none!important}
@media(max-width:650px){#loops-cart-panel .loops-payment-grid{grid-template-columns:1fr}#loops-cart-panel .loops-payment-option{min-height:76px;flex-direction:row;align-items:center;padding:12px 40px 12px 12px}#loops-cart-panel .loops-payment-option:has(input:checked){padding:11px 39px 11px 11px}#loops-cart-panel .loops-payment-icon{width:35px;flex-shrink:0}#loops-cart-panel .loops-payment-check{top:50%;transform:translateY(-50%)}}

/* Checkout compacto: produto, modelo, preço e pagamento em primeiro plano */
#loops-cart-panel .loops-cart-item-model{display:block;color:#9eb4d5;font-size:12px;line-height:1.35}
#loops-cart-panel .loops-cart-item-info{gap:3px;margin-bottom:8px}
#loops-cart-panel #loops-cart-items .loops-cart-item{padding:12px!important;gap:12px}
#loops-cart-panel .loops-cart-item-photo{flex-basis:76px;width:76px;height:82px}
#loops-cart-panel .loops-payment-section{margin:12px 0;padding:14px}
#loops-cart-panel .loops-payment-heading{margin-bottom:10px}
#loops-cart-panel .loops-payment-heading h3{font-size:17px}
#loops-cart-panel .loops-payment-heading p,#loops-cart-panel .loops-payment-hint{font-size:11px}
#loops-cart-panel .loops-payment-option{min-height:90px;padding:10px;gap:5px}
#loops-cart-panel .loops-payment-option:has(input:checked){padding:9px}
#loops-cart-panel .loops-payment-icon{font-size:21px}
#loops-cart-panel .loops-payment-copy strong{font-size:14px}
#loops-cart-panel .loops-payment-copy small{font-size:10px}
#loops-cart-panel .loops-check-label{margin:9px 0 4px;font-size:12px}
#loops-cart-panel input,#loops-cart-panel select{padding:9px!important;font-size:14px!important}
#loops-cart-panel .loops-legacy-timing,#loops-cart-panel #loops-trade{display:none!important}
#loops-cart-panel .loops-address-intro{margin-top:10px;font-size:13px;font-weight:750}
#loops-cart-panel .loops-address-intro small{display:block;font-weight:400;color:#9eb4d5}
#loops-cart-panel .loops-address-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
#loops-cart-panel .loops-address-fields label[for=loops-street],#loops-cart-panel .loops-address-fields #loops-street,#loops-cart-panel .loops-address-fields label[for=loops-complement],#loops-cart-panel .loops-address-fields #loops-complement{grid-column:1/-1}
#loops-cart-panel #loops-cart-checkout{margin-top:14px}
@media(max-width:650px){#loops-cart-panel .loops-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#loops-cart-panel .loops-payment-option{flex-direction:column;min-height:82px;padding:9px 5px;text-align:center}#loops-cart-panel .loops-payment-option:has(input:checked){padding:8px 4px}#loops-cart-panel .loops-payment-icon{width:auto}#loops-cart-panel .loops-payment-copy small{display:none}#loops-cart-panel .loops-payment-check{top:7px;right:7px;transform:none;width:15px;height:15px}#loops-cart-panel .loops-address-fields{gap:0 8px}}

/* Checkout enxuto inspirado no catálogo digital: apenas pagamento, sem repetir cadastro. */
#loops-cart-panel .loops-account-status{border:1px solid #344c73;background:#112540;color:#c5d7f2;padding:12px 14px;border-radius:12px;font-size:13px;margin-top:12px}
#loops-cart-panel .loops-payment-option{min-height:100px!important}
#loops-cart-panel .loops-payment-section{margin:16px 0!important}
#loops-cart-panel #loops-cart-checkout{max-width:100%;background:#2563eb;color:#fff}
#loops-cart-panel .loops-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:520px){#loops-cart-panel .loops-payment-grid{grid-template-columns:1fr}#loops-cart-panel .loops-payment-option{min-height:62px!important;flex-direction:row!important;align-items:center!important}}
.loops-payment-retry{display:inline-flex;align-items:center;justify-content:center;margin:10px 0;padding:11px 18px;background:#2563eb;color:white;border:1px solid #60a5fa;border-radius:9px;font-weight:700;cursor:pointer}.loops-payment-retry:disabled{opacity:.65;cursor:wait}

.loops-embedded{background:#111f38;border:1px solid #39527c;border-radius:16px;padding:clamp(12px,3vw,24px);margin-top:18px;color:#fff}.loops-embedded h3{margin:0 0 12px}.loops-embedded textarea{display:block;width:100%;min-height:80px;box-sizing:border-box;background:#0b1729;color:#fff;border:1px solid #496083;border-radius:8px;padding:10px;margin:12px 0}.loops-pix-qr{width:220px;max-width:100%;display:block;margin:12px auto;background:white;padding:8px;border-radius:8px}#loops-mp-brick{min-height:180px}

/* Checkout integrado LOOPS: visual escuro e leitura confortável */
#loops-cart-panel .loops-embedded{margin-top:14px;padding:clamp(12px,2vw,20px);background:linear-gradient(150deg,#132540,#0d192e);border:1px solid #36557e;border-radius:16px;box-shadow:0 12px 32px #0002}
#loops-cart-panel .loops-embedded h3{font-size:clamp(16px,2vw,20px);line-height:1.3;color:#f8fafc;margin:0 0 5px}
#loops-cart-panel .loops-embedded-status{color:#b8d0ee;font-size:12px;margin:0 0 12px;line-height:1.5}
#loops-cart-panel #loops-mp-brick{width:100%;min-width:0;min-height:180px;overflow:visible}
#loops-cart-panel #loops-mp-brick iframe{max-width:100%}
#loops-cart-panel .loops-pix-qr{width:min(210px,100%);height:auto;object-fit:contain;background:#fff;border-radius:12px;padding:12px;margin:14px auto}
#loops-cart-panel .loops-embedded textarea{width:100%;min-height:76px;background:#0b1729;border:1px solid #4b658a;border-radius:10px;color:#f8fafc;resize:vertical;font-size:13px}
#loops-cart-panel .loops-embedded button{background:#2563eb;color:#fff;border-radius:9px;border:0;padding:10px 15px;font-weight:700;min-height:40px}
@media(max-width:600px){#loops-cart-panel .loops-embedded{padding:10px;border-radius:12px}#loops-cart-panel .loops-embedded h3{font-size:16px}#loops-cart-panel .loops-embedded-status{font-size:11px}}
/* Checkout integrado compacto: PIX sem Payment Brick duplicado */
.loops-embedded{background:#101d34;border:1px solid #314b70;border-radius:14px;padding:16px;margin-top:14px;color:#f8fafc;max-width:100%;box-sizing:border-box}
.loops-embedded-title{margin:0 0 8px;font-size:1rem;color:#fff}
.loops-embedded-status{font-size:.88rem;color:#cbd5e1;margin:6px 0 14px}
.loops-pix-qr{display:block;width:min(230px,100%);height:auto;margin:12px auto;background:#fff;padding:10px;border-radius:12px}
.loops-pix-label{display:block;font-size:.85rem;font-weight:700;margin-bottom:7px}
.loops-pix-code{width:100%;box-sizing:border-box;resize:vertical;border:1px solid #45638d;background:#15243e;color:#fff;border-radius:9px;padding:12px;font-size:.82rem}
.loops-pix-copy{background:#2563eb;color:white;border:0;border-radius:9px;padding:12px 16px;font-weight:700;cursor:pointer;margin-top:10px}
.loops-pix-note{color:#9fb3d0;font-size:.8rem;margin:12px 0 0}
.loops-mp-card{max-width:100%;overflow:hidden}
@media(max-width:600px){.loops-embedded{padding:12px}.loops-pix-qr{width:min(200px,100%)}}

/* Checkout único LOOPS 2026: somente resumo + pagamento */
body #loops-cart-panel{background:#101d33!important;border:1px solid #334b70!important;padding:clamp(16px,3vw,28px)!important}
body #loops-cart-panel h2{font-size:clamp(18px,2.5vw,22px);margin:0 0 16px}
body #loops-cart-items{display:grid;grid-template-columns:1fr!important;gap:10px}
body #loops-cart-items article{background:#152640!important;border:1px solid #334b70!important;padding:12px!important}
body #loops-cart-panel .loops-payment-section{padding:14px!important;margin:16px 0 10px!important;background:#111f37!important}
body #loops-cart-panel .loops-payment-option{min-height:84px!important;padding:12px!important}
body #loops-cart-panel .loops-payment-option:has(input:checked){padding:11px!important}
body #loops-cart-panel .loops-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body #loops-cart-panel .loops-payment-icon{font-size:20px}
body #loops-cart-panel .loops-payment-copy small{font-size:11px}
body #loops-cart-panel .loops-account-status{font-size:12px;padding:10px;margin:8px 0}
body #loops-cart-panel #loops-cart-checkout{background:linear-gradient(95deg,#0877ef,#5448df);border:0;min-height:46px;margin:12px 0 8px!important}
body #loops-cart-panel .loops-profile-link{display:inline-block;margin-top:12px;font-size:12px;color:#9acbff}
body #loops-cart-panel #loops-cart-feedback:empty{display:none}
body #loops-cart-panel .loops-embedded{margin:14px 0!important}
@media(max-width:540px){body #loops-cart-panel .loops-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}body #loops-cart-panel .loops-payment-option{min-height:78px!important;flex-direction:column!important;text-align:center;padding:8px 4px!important}body #loops-cart-panel .loops-payment-option:has(input:checked){padding:7px 3px!important}body #loops-cart-panel .loops-payment-copy small{display:none}body #loops-cart-panel .loops-payment-check{top:6px;right:6px;transform:none}body #loops-cart-panel .loops-cart-item-photo{width:70px;height:75px;flex-basis:70px}}
