/* Carrinho e checkout: hierarquia visual compartilhada entre celular e desktop. */
.lj-gaveta { --checkout-ink:#182230; --checkout-muted:#667085; --checkout-line:#e8ebef; }
.lj-gaveta-painel { width:min(520px,100%); background:#f7f8fa; }
.lj-gaveta-topo { flex-shrink:0; padding:20px 24px; background:#fff; border-color:var(--checkout-line); }
.lj-gaveta-topo h2 { font-size:20px; font-weight:650; letter-spacing:-.5px; color:var(--checkout-ink); }
.lj-gaveta-fechar,.lj-gaveta-voltar { background:#f5f6f8; border:1px solid var(--checkout-line); color:#475467; }
.lj-gaveta-corpo { min-height:0; padding:20px 24px 24px; overscroll-behavior:contain; }
.lj-gaveta-rodape { flex-shrink:0; padding:16px 24px max(18px,env(safe-area-inset-bottom)); background:#fff; border-color:var(--checkout-line); box-shadow:0 -5px 24px #18223005; }
.lj-gaveta-principal { min-height:48px; border-radius:12px; font-size:15px; font-weight:650; }
.lj-gaveta-total { margin:10px 0 14px; color:var(--checkout-ink); }
.lj-gaveta-total strong { font-size:25px; letter-spacing:-.7px; font-variant-numeric:tabular-nums; }
.lj-gaveta-linha { margin-bottom:5px; color:var(--checkout-muted); }
.lj-gaveta-nota { font-size:11px; line-height:1.5; color:var(--checkout-muted); }
.lj-gaveta-secundario { font-weight:500; color:#475467; text-underline-offset:3px; }
.lj-gaveta-itens { background:#fff; border:1px solid var(--checkout-line); border-radius:16px; padding:0 14px; }
.lj-gaveta-itens li { grid-template-columns:66px minmax(0,1fr) auto; padding:18px 0; gap:12px; border-color:var(--checkout-line); }
.lj-gaveta-itens li:last-child { border-bottom:0; }
.lj-gaveta-itens img { width:66px; height:84px; border-radius:9px; }
.lj-gi-info strong { font-size:13px; line-height:1.5; font-weight:600; }
.lj-gi-preco { font-size:12px; color:var(--checkout-muted); }
.lj-gi-subtotal { font-size:13px; font-weight:650; color:var(--checkout-ink); }
.lj-gi-acoes { flex-wrap:wrap; gap:8px 12px; }
.lj-gi-qtd { border-color:var(--checkout-line); border-radius:8px; }
.lj-gi-qtd button { width:32px; height:32px; font-weight:500; }
.lj-gi-remover { color:#667085; text-underline-offset:3px; }
.lj-checkout-intro { margin:0 0 18px; }
.lj-checkout-eyebrow { color:var(--checkout-muted); font-size:10px; font-weight:700; letter-spacing:1.7px; }
.lj-checkout-intro p { margin:6px 0 0; font-size:14px; color:var(--checkout-ink); }
.lj-gaveta .lj-checkout-products { margin:0 0 16px; border:1px solid var(--checkout-line); border-radius:14px; background:#fff; overflow:hidden; }
.lj-gaveta .lj-checkout-products summary { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:15px 16px; font-size:13px; color:var(--checkout-ink); }
.lj-checkout-products summary > span { display:grid; gap:4px; font-weight:600; }
.lj-checkout-products summary small { font-size:11px; font-weight:400; color:var(--checkout-muted); }
.lj-checkout-products summary > b { font-size:14px; font-weight:650; }
.lj-gaveta .lj-checkout-product { margin:0 16px; padding:12px 0; border-top:1px solid var(--checkout-line); }
.lj-checkout-section { margin:0 0 16px; padding:20px; border:1px solid var(--checkout-line); border-radius:16px; background:#fff; }
.lj-checkout-section-header { display:flex; align-items:flex-start; gap:12px; margin:0 0 20px; }
.lj-checkout-section-header > span { display:grid; place-items:center; flex:0 0 30px; height:30px; border:1px solid var(--checkout-line); border-radius:9px; background:#f8f9fb; color:#667085; font-size:11px; font-weight:650; }
.lj-vr .lj-checkout-section-header h3 { margin:0 0 4px; font-size:16px; letter-spacing:-.3px; font-weight:650; color:var(--checkout-ink); text-transform:none; }
.lj-checkout-section-header p { margin:0; font-size:12px; line-height:1.5; color:var(--checkout-muted); }
.lj-vr-campo { margin-bottom:15px; }
.lj-vr-campo label { margin-bottom:7px; font-size:12px; font-weight:550; color:#344054; }
.lj-vr-campo label small { font-size:10px; }
.lj-vr-campo label b { font-weight:500; }
.lj-vr-campo input,.lj-vr-campo select,.lj-vr-campo textarea { min-height:46px; padding:11px 12px; border:1px solid #dce1e7; border-radius:9px; color:var(--checkout-ink); background:#fff; font-size:16px; line-height:1.35; box-shadow:0 1px 2px #18223003; }
.lj-vr-campo input::placeholder,.lj-vr-campo textarea::placeholder { color:#98a2b3; font-size:13px; }
.lj-vr-campo input:focus-visible,.lj-vr-campo select:focus-visible,.lj-vr-campo textarea:focus-visible { border-color:var(--brand-text,#344054); box-shadow:0 0 0 3px #18223009; }
.lj-vr-linha { flex-wrap:nowrap; gap:12px; }
.lj-vr-campo.curto { flex:0 0 100px; }
.lj-gaveta .lj-identificar { margin:0 0 20px; padding:0; border:1px solid #dfe5ed; border-radius:11px; background:#f8fafc; }
.lj-identificar summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; list-style:none; color:var(--checkout-ink); font-size:13px; font-weight:600; cursor:pointer; }
.lj-identificar summary::-webkit-details-marker { display:none; }
.lj-identificar summary > span:first-child { display:grid; gap:4px; }
.lj-identificar summary small { font-size:11px; font-weight:400; color:var(--checkout-muted); }
.lj-identificar-conteudo { padding:0 14px 14px; }
.lj-identificar .lj-identificar-button { width:100%; min-height:44px; border:0; border-radius:9px; background:var(--checkout-ink); color:#fff; font-size:13px; font-weight:550; }
.lj-identificar-recuperar { display:block; margin:12px 0; font-size:11px; color:#475467; text-decoration:underline; text-underline-offset:3px; }
.lj-identificar.is-identified { border-color:#cde5d7; background:#f4fbf7; }
.lj-identificar.is-identified summary > span:last-child { color:#067647; }
.lj-vr-dica { font-size:12px; line-height:1.6; color:var(--checkout-muted); }
.lj-identificar-ajuda { margin-bottom:0; }
.lj-vr-casa { margin:0 0 12px; border:1px solid #dce1e7; border-radius:11px; padding:14px; gap:12px; }
.lj-vr-casa > span:nth-child(2) { flex:1; display:grid; gap:4px; }
.lj-vr-casa .lj-vr-casa-toggle { flex:0 0 18px; font-size:22px; font-weight:400; color:#667085; }
.lj-vr-casa[aria-expanded=true] .lj-vr-casa-toggle { transform:rotate(45deg); }
.lj-vr-casa > .lj-vr-casa-icone { flex:0 0 22px; width:22px; background:#475467; }
.lj-vr-casa + .lj-vr-endereco { margin:0 0 16px; }
.lj-vr-endereco { padding:14px; border:1px solid var(--checkout-line); border-radius:11px; background:#fafbfc; }
.lj-vr-endereco > .lj-vr-campo:last-child { margin-bottom:0; }
.lj-cep-linha { align-items:flex-end; }
.lj-cep-linha .curto { flex:1; }
.lj-vr-calcular { min-height:46px; margin-bottom:15px; padding:10px 14px; border:1px solid #dce1e7; border-radius:9px; background:#fff; color:var(--checkout-ink); font-size:12px; font-weight:600; }
.lj-vr-calcular:disabled { opacity:.65; cursor:wait; }
.lj-cep-status:empty,.lj-frete-status:empty,[data-identificar-status]:empty { display:none; }
.lj-cep-status,.lj-frete-status { margin:0 0 15px; padding:10px 12px; border-radius:8px; font-size:11px; background:#f0f3f7; color:#475467; }
.lj-cep-status[data-state=success],.lj-frete-status[data-state=success] { background:#eef8f2; color:#16613b; }
.lj-cep-status[data-state=error],.lj-frete-status[data-state=error] { background:#fff5ec; color:#934b16; }
.lj-vr-opcoes { gap:10px; }
.lj-vr-entrega,.lj-vr-opcoes > .lj-vr-opcao { border:1px solid #dce1e7; border-radius:11px; background:#fff; transition:border-color .15s,background .15s; }
.lj-vr-opcao { padding:14px; align-items:center; gap:12px; min-height:60px; }
.lj-vr-opcao input[type=radio] { flex:0 0 16px; width:16px; height:16px; margin:0; }
.lj-vr-opcao > span { flex:1; min-width:0; gap:4px 12px; }
.lj-vr-opcao strong { font-size:13px; font-weight:600; }
.lj-vr-opcao em { margin-left:auto; font-size:12px; font-weight:650; }
.lj-vr-opcao small { font-size:11px; line-height:1.6; }
.lj-vr-opcao:has(input:checked),.lj-vr-entrega:has(input:checked) { border-color:var(--brand-text,#344054); background:#f8f9fb; box-shadow:0 0 0 1px var(--brand-text,#344054); }
.lj-vr-cupom { margin:20px 0 0; padding-top:18px; border-top:1px solid var(--checkout-line); }
.lj-vr-cupom > label { font-size:12px; font-weight:550; }
.lj-checkout-observacao { margin-top:18px; margin-bottom:0; }
.lj-cart-feedback { position:fixed; left:50%; bottom:24px; z-index:1055; transform:translateX(-50%); display:flex; align-items:center; gap:12px; max-width:calc(100vw - 32px); width:max-content; padding:14px 18px; border:1px solid #e4e7ec; border-radius:14px; background:#fff; color:#182230; box-shadow:0 8px 32px #18223024; font-size:13px; }
.lj-cart-feedback[hidden] { display:none; }
.lj-cart-feedback-check { display:grid; place-items:center; flex:0 0 26px; height:26px; border-radius:50%; background:#ecfdf3; color:#067647; }
.lj-cart-feedback button { flex-shrink:0; padding:4px 0; border:0; background:transparent; color:#182230; font-size:12px; font-weight:650; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:600px) {
  .lj-gaveta-painel { width:100%; }
  .lj-gaveta-topo { padding:16px; }
  .lj-gaveta-corpo { padding:16px; }
  .lj-gaveta-rodape { padding:14px 16px max(16px,env(safe-area-inset-bottom)); }
  .lj-checkout-section { padding:16px; border-radius:13px; }
  .lj-vr-endereco { padding:12px; }
  .lj-vr-campo.curto { flex-basis:82px; }
  .lj-cep-linha .curto { flex:1; }
  .lj-vr-calcular { padding:10px 12px; }
  .lj-cart-feedback { bottom:max(82px,calc(env(safe-area-inset-bottom) + 20px)); gap:9px; padding:12px; font-size:11px; }
  .lj-cart-feedback > span:nth-child(2) { max-width:145px; }
  .lj-cart-feedback button { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { .lj-gaveta-painel,.lj-gaveta-fundo { transition:none; } }

.lj-vr-campo label [hidden] { display:none; }

.lj-vr-campo label small { margin-left:4px; }
.lj-gaveta-carregando { padding:40px 12px; text-align:center; color:#667085; font-size:13px; }

.lj-continuar-visitante{display:block;width:100%;margin-top:16px;padding:12px 8px;border:1px solid #d9e1e8;border-radius:10px;background:#fff;color:#334155;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.lj-continuar-visitante:hover{background:#f1f5f9}.lj-login-obrigatorio{padding:14px;border-radius:12px;background:#eff6ff;color:#1e40af;font-size:13px;line-height:1.6}.lj-login-obrigatorio a{font-weight:700;text-decoration:underline}

/* Finalização em etapas: uma decisão de cada vez, com resumo sempre à mão. */
.lj-gaveta { --checkout-accent:var(--brand-text,#182230); }
.lj-cart-intro { margin:2px 0 20px; }
.lj-cart-intro p { margin:6px 0 0; color:var(--checkout-muted); font-size:13px; line-height:1.6; }
.lj-checkout-progress { display:flex; gap:0; margin:0 0 22px; padding:0; }
.lj-checkout-progress button { position:relative; display:flex; flex:1; flex-direction:column; align-items:center; gap:8px; padding:0 4px; border:0; background:transparent; color:#667085; font:inherit; font-size:11px; font-weight:550; cursor:pointer; }
.lj-checkout-progress button::before { content:""; position:absolute; height:1px; left:-50%; right:50%; top:16px; background:#dce1e7; }
.lj-checkout-progress button:first-child::before { display:none; }
.lj-progress-number { position:relative; z-index:1; display:grid; place-items:center; width:34px; height:34px; border:1px solid #dce1e7; border-radius:50%; background:#f7f8fa; font-size:12px; font-weight:650; }
.lj-checkout-progress button[aria-current=step] { color:var(--checkout-ink); font-weight:700; }
.lj-checkout-progress button[aria-current=step] .lj-progress-number { color:var(--brand-ink,#fff); background:var(--brand,#182230); border-color:var(--brand,#182230); box-shadow:0 0 0 4px #fff; }
.lj-checkout-progress button.is-complete .lj-progress-number { background:#edf7f1; color:#167044; border-color:#cde6d8; }
.lj-checkout-progress button:disabled { cursor:default; color:#98a2b3; }
.lj-checkout-progress button:focus-visible { outline:2px solid var(--checkout-accent); outline-offset:4px; border-radius:8px; }
.lj-gaveta .lj-checkout-section[hidden] { display:none; }
.lj-gaveta .lj-checkout-section { margin-bottom:0; padding:22px; border-color:#e6e9ed; box-shadow:0 2px 5px #18223002; }
.lj-vr .lj-checkout-section-header h3 { font-size:21px; letter-spacing:-.6px; font-weight:650; outline:none; }
.lj-checkout-section-header > span { display:none; }
.lj-checkout-section-header p { font-size:13px; margin-top:7px; }
.lj-checkout-section-header { margin-bottom:24px; }
.lj-checkout-footer-total { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:5px 0 15px; color:var(--checkout-ink); }
.lj-checkout-footer-total > div { min-width:0; }
.lj-checkout-footer-total span { display:block; font-size:13px; font-weight:600; }
.lj-checkout-footer-total small { display:block; margin-top:4px; color:var(--checkout-muted); font-size:10px; line-height:1.5; }
.lj-checkout-footer-total strong { flex-shrink:0; font-size:25px; font-weight:650; letter-spacing:-.8px; font-variant-numeric:tabular-nums; }
.lj-gaveta .lj-gaveta-principal { display:flex; justify-content:center; align-items:center; gap:18px; min-height:50px; }
.lj-gaveta-principal > span { font-size:19px; font-weight:400; }
.lj-gaveta-nota { display:block; margin-top:10px; text-align:center; }
.lj-gaveta .lj-cupom-details { border-top:1px solid var(--checkout-line); padding-top:16px; }
.lj-cupom-details summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:2px 0; font-size:13px; font-weight:600; color:#475467; cursor:pointer; list-style:none; }
.lj-cupom-details summary::-webkit-details-marker { display:none; }
.lj-cupom-details summary > span:last-child { font-size:20px; font-weight:400; }
.lj-cupom-details[open] summary > span:last-child { transform:rotate(45deg); }
.lj-cupom-content { padding-top:16px; }
.lj-cupom-content > label { display:block; margin-bottom:8px; font-size:12px; }
.lj-cupom-content .lj-vr-linha { align-items:center; }
.lj-cupom-content .lj-vr-calcular { margin-bottom:0; }
.lj-cupom-content input { min-width:0; width:100%; flex:1; min-height:46px; padding:11px 12px; border:1px solid #dce1e7; border-radius:9px; font-size:16px; text-transform:uppercase; }
.lj-checkout-review { margin:0 0 24px; border:1px solid var(--checkout-line); border-radius:12px; background:#fafbfc; }
.lj-checkout-review > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 12px; padding:14px; }
.lj-checkout-review > div + div { border-top:1px solid var(--checkout-line); }
.lj-checkout-review span { color:var(--checkout-muted); font-size:9px; letter-spacing:1px; font-weight:650; }
.lj-checkout-review strong,.lj-checkout-review small { grid-column:1/-1; overflow-wrap:anywhere; }
.lj-checkout-review strong { color:var(--checkout-ink); font-size:12px; font-weight:600; }
.lj-checkout-review small { color:var(--checkout-muted); font-size:11px; line-height:1.6; }
.lj-checkout-review button { align-self:start; border:0; background:transparent; color:#475467; font:inherit; font-size:11px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.lj-gaveta .lj-vr-opcao { padding:16px; }
.lj-vr-opcao > .lj-option-icon { flex:0 0 30px; display:grid; place-items:center; color:#667085; }
.lj-option-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.lj-vr-opcao > .lj-option-description { display:grid; gap:5px; flex:1; }
.lj-vr-opcao > .lj-option-price { flex:0 0 auto; max-width:95px; text-align:right; font-size:12px; font-weight:650; color:var(--checkout-ink); }
.lj-vr-opcao .lj-option-description strong { font-size:13px; line-height:1.5; }
.lj-vr-opcao .lj-option-description small { color:var(--checkout-muted); }
.lj-vr-opcao .lj-option-description em { margin:0; color:#167044; }
.lj-gaveta .lj-vr-entrega > .lj-vr-opcao { border:0; border-radius:11px; }
.lj-vr-entrega:has(input:checked) .lj-option-icon { color:var(--checkout-accent); }
.lj-gaveta .lj-gi-info strong { overflow-wrap:anywhere; }
.lj-checkout-products summary { cursor:pointer; }
.lj-checkout-products summary > b::after { content:"⌄"; margin-left:10px; color:#98a2b3; }
.lj-checkout-products[open] summary > b::after { content:"⌃"; }
@media(max-width:600px) {
  .lj-gaveta .lj-checkout-section { padding:18px 16px; }
  .lj-gaveta .lj-vr-opcao { gap:10px; padding:14px 12px; }
  .lj-vr-opcao > .lj-option-icon { flex-basis:24px; }
  .lj-vr-opcao > .lj-option-price { max-width:80px; font-size:11px; }
  .lj-checkout-progress { margin-bottom:20px; }
  .lj-checkout-footer-total strong { font-size:23px; }
}
@media(max-width:350px) {
  .lj-gaveta-corpo { padding:12px; }
  .lj-checkout-footer-total small { max-width:155px; }
  .lj-vr-opcao > .lj-option-icon { display:none; }
}
.lj-checkout-review > summary { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px; cursor:pointer; list-style:none; }
.lj-checkout-review > summary::-webkit-details-marker { display:none; }
.lj-checkout-review > summary > span:first-child { color:#344054; font-size:12px; font-weight:600; letter-spacing:0; min-width:0; }
.lj-checkout-review > summary small { display:block; margin-top:5px; font-size:11px; font-weight:400; overflow-wrap:anywhere; }
.lj-checkout-review > summary > span:last-child { flex:0 0 auto; color:#98a2b3; font-size:18px; }
.lj-checkout-review[open] > summary { border-bottom:1px solid var(--checkout-line); }
.lj-checkout-review[open] > summary > span:last-child { transform:rotate(180deg); }
.lj-checkout-section > [data-consulta-cadastro-status]:empty { display:none; }

/* O Pix permanece junto ao pedido, dentro do carrinho. */
.lj-pedido-pix { padding:20px; border:1px solid var(--checkout-line); border-radius:16px; background:#fff; margin-bottom:16px; }
.lj-pedido-resumo { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; padding:0 0 16px; border-bottom:1px solid var(--checkout-line); margin-bottom:16px; }
.lj-pedido-pagamento h3 { margin:6px 0 10px; font-size:19px; font-weight:650; color:var(--checkout-ink); }
.lj-pedido-pagamento p { font-size:13px; line-height:1.6; color:var(--checkout-muted); overflow-wrap:anywhere; }
.lj-pedido-resumo h3 { grid-column:1; margin:0; font-size:17px; }
.lj-pedido-resumo p { grid-column:1; margin:0; font-size:12px; }
.lj-pedido-resumo .lj-gaveta-total { grid-column:2; grid-row:1 / span 2; flex-direction:column; align-items:flex-end; justify-content:center; margin:0; gap:2px; }
.lj-pedido-resumo .lj-gaveta-total > span { font-size:11px; color:var(--checkout-muted); }
.lj-pedido-resumo .lj-gaveta-total > strong { font-size:22px; white-space:nowrap; }
.lj-pedido-qr { display:block; width:100%; max-width:196px; height:auto; margin:16px auto; }
.lj-pedido-pix .lj-vr-campo input { font-family:monospace; font-size:13px; }
.lj-pedido-pix .lj-pedido-recebedor { margin:10px 0 16px; text-align:center; font-size:11px; }
.lj-pix-copia { display:flex; align-items:stretch; gap:8px; }
.lj-pix-copia input { min-width:0; flex:1; }
.lj-pix-copiar { flex:0 0 auto; padding:10px 12px; border:1px solid #dce1e7; border-radius:9px; background:#f8fafc; color:#344054; font-size:12px; font-weight:600; }
.lj-confirmar-pagamento { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:48px; padding:13px 14px; border:1px solid #15803d; border-radius:10px; background:#15803d; color:#fff !important; font-size:14px; font-weight:600; line-height:1.4; text-align:center; text-decoration:none; cursor:pointer; }
.lj-confirmar-pagamento:hover,.lj-confirmar-pagamento:focus { background:#166534; border-color:#166534; color:#fff; text-decoration:none; }
.lj-confirmar-pagamento:focus-visible,.lj-pix-copiar:focus-visible { outline:3px solid #86efac; outline-offset:3px; }
.lj-pagamento-acoes { margin-top:16px; }
.lj-pagamento-links { display:flex; justify-content:center; gap:18px; margin-top:16px; }
.lj-pagamento-links button { padding:2px 0; border:0; background:none; color:#667085; font-size:11px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.lj-pagamento-acoes [data-pagamento-status] { margin:10px 0 0; font-size:12px; }
.lj-pedido-acesso { margin-top:16px; }
.lj-pedido-acesso summary { cursor:pointer; font-size:13px; }
.lj-pedido-pagamento [data-pagamento-status]:empty { display:none; }
@media(max-width:600px) {
  .lj-confirmar-pagamento { font-size:13px; gap:6px; padding:13px 10px; }
}
@media(max-width:350px) {
  .lj-pedido-pix { padding:16px; }
  .lj-confirmar-pagamento { font-size:13px; }
}
