/* =================================================================
   compra.css · versão 20261116b (pedido da Jéssika 16/11/2026)
   Revisão para facilitar a escolha e a compra pelo WhatsApp:
   1. primeira tela mais curta, com apresentação, ações e entrega/pagamento;
   2. página inicial sem seções repetidas (estilos das seções que ficaram);
   3. janela do produto com fotos à esquerda e informações à direita no computador;
   5. aviso de confirmação pelo WhatsApp perto do envio.
   Carregado por último. Para desfazer, basta tirar este arquivo das páginas.
   ================================================================= */

/* ---------- 1. Primeira tela ---------- */
html body .vp .vp-titulo{pointer-events:none}
html body .vp-titulo .vp-acoes,html body .vp-titulo .vp-info{pointer-events:auto}
html body .vp-titulo h1{text-wrap:balance}
html body .vp-titulo p{max-width:50ch;margin-left:auto;margin-right:auto}
.vp-acoes{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px}
.vp-bt{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;font-weight:700;font-size:16.5px;line-height:1.1;text-decoration:none;transition:background-color .2s,color .2s,border-color .2s}
.vp-bt-pri{background:#1F4C37;color:#FAF8F3;border:1.5px solid #1F4C37}
.vp-bt-pri:hover{background:#173929}
.vp-bt-sec{background:rgba(255,255,255,.9);color:#1F4C37;border:1.5px solid #1F4C37}
.vp-bt-sec:hover{background:#1F4C37;color:#FAF8F3}
.vp-info{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 8px;margin:14px 0 0;padding:0}
.vp-info li{display:inline-flex;align-items:center;gap:6px;font-size:14.5px;font-weight:600;color:#1F4C37;background:rgba(255,255,255,.85);border-radius:999px;padding:6px 12px}
.vp-info li::before{content:"";width:7px;height:7px;border-radius:50%;background:#819870;flex:0 0 auto}

@media(min-width:900px){
  html body .vp .vp-palco{height:640px}
  html body .vp-titulo{top:16px!important;width:min(92%,760px)}
  html body .vp-neon{width:64px;margin-bottom:4px}
  html body .vp-neon b{display:none}
  html body .vp-titulo small{margin-bottom:4px}
  html body .vp-titulo h1{font-size:clamp(38px,3.2vw,46px)!important;line-height:1.02}
  html body .vp-titulo p{margin-top:8px!important;font-size:16.5px;line-height:1.5;max-width:50ch}
  .vp-acoes{margin-top:14px}
  .vp-info{margin-top:10px}
  .vp-info li{font-size:13.5px;padding:4px 11px}
}
@media(min-width:1600px){html body .vp .vp-palco{height:680px}}
@media(min-width:641px) and (max-width:899px){
  html body .vp .vp-palco{height:640px}
  html body .vp-titulo{top:16px!important}
  html body .vp-neon{width:72px;margin-bottom:6px}
  html body .vp-titulo h1{font-size:44px!important;line-height:1.02}
}
@media(max-width:640px){
  html body .busca-topo .vp-vertodos{display:none}
  html body .vp-neon{display:none}
  html body .vp .vp-palco{height:var(--palco-cel,600px)!important}
  html body .vp-titulo{top:14px!important;width:calc(100% - 32px)!important}
  html body .vp-titulo small{font-size:11.5px;margin-bottom:6px;letter-spacing:.16em}
  html body .vp-titulo h1{font-size:31px!important;line-height:1.04}
  html body .vp-titulo h1 em{display:inline!important}
  html body .vp-titulo p{font-size:15.5px;line-height:1.45;margin-top:8px!important;max-width:34ch}
  .vp-acoes{margin-top:12px;gap:8px;flex-wrap:nowrap}
  .vp-bt{flex:1 1 0;min-height:46px;padding:0 10px;font-size:15px;text-align:center}
  .vp-info{margin-top:10px;gap:5px}
  .vp-info li{font-size:13px;padding:5px 10px}
}
@media(max-width:360px){
  html body .vp-titulo h1{font-size:27px!important}
  .vp-bt{font-size:14px}
}

/* balcão (sacola) mais curto */
html body .vp-balcao .vpd-in{padding-block:22px 26px}
html body .vp-txt h2{font-size:clamp(28px,2.6vw,38px)}
html body .vpd-cesta{width:min(100%,260px)}
html body .vpd-cesta .vpd-dica{white-space:normal;max-width:88%;text-align:center;line-height:1.2}
@media(max-width:860px){
  html body .vp-balcao .vpd-in{padding:18px 16px 22px!important;gap:10px 14px}
}
@media(max-width:640px){
  html body .vp-txt p,html body .vp-txt .vpd-info{display:none}
  html body .vp-txt .vpd-etq-sec{display:none}
  html body .vp-txt h2{font-size:26px}
  html body .vp-cestaBox .vpd-etq-sec,html body .vp-caixa .vpd-etq-sec{font-size:11px;margin-bottom:4px}
  html body .vpd-cesta{width:100%;max-width:190px}
  html body .vpd-cesta .vpd-dica{font-size:11.5px;padding:5px 8px}
  html body .vp-caixa .vpd-ok{font-size:12.5px;line-height:1.35}
}

/* ---------- 2. Página inicial: seções que ficaram, com o mesmo ritmo ---------- */
html body .ed-cats{padding-top:56px}
html body #produtos{margin-top:64px}
html body #produtos > .ed-etq{margin:0 0 6px}
html body #lista .ver-todos-inicio{grid-column:1/-1;justify-self:center;margin-top:8px}
.pf{margin-top:72px}
.pf .ed-cab{margin-bottom:6px}
.pf > .sub{margin:0 0 14px}
.pf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.pf-chips button{min-height:44px}
.pf .atalhos-presente{margin-top:26px}
@media(max-width:640px){
  html body .ed-cats{padding-top:40px}
  html body #produtos{margin-top:44px}
  .pf{margin-top:52px}
  .pf-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding-inline:16px}
  .pf-chips::-webkit-scrollbar{display:none}
  .pf-chips button{flex:0 0 auto}
}

/* botões e áreas de toque confortáveis */
html body .bt,html body .add,html body .ed-link,html body .chips button{min-height:44px}
html body .prod .add{border-radius:999px}

/* ---------- 3. Janela do produto ---------- */
#dlgProduto .det-col-foto,#dlgProduto .det-col-info{min-width:0}
#dlgProduto .det-col-info > :first-child:empty{display:none}
#dlgProduto .det-estoque{margin-top:6px;font-weight:600;color:#1F4C37}
@media(min-width:900px){
  html body #dlgProduto{max-width:1040px;width:calc(100% - 64px)}
  html body #dlgProduto .dlg{max-height:min(88vh,860px)}
  html body #dlgProduto .dlg-topo{padding-block:10px}
  html body #dlgProduto .dlg-topo h2{font-size:18px}
  html body #detCorpo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 32px;padding:18px 28px 22px}
  html body #dlgProduto .det-col-foto{position:sticky;top:0;align-self:start}
  html body #dlgProduto .det-col-foto .det-foto{aspect-ratio:1/1;max-height:min(62vh,520px)}
  html body #dlgProduto .det-col-info .det-nm{font-size:30px;line-height:1.1}
  html body #dlgProduto .dlg-pe{padding-left:calc(50% + 14px);padding-right:28px}
}
@media(max-width:899px){
  html body #dlgProduto .det-col-foto .det-foto{aspect-ratio:auto;height:min(34vh,290px)}
  html body #dlgProduto .det-col-foto .galeria .det-foto{height:min(34vh,290px)}
  html body #dlgProduto .det-col-info{margin-top:10px}
}
html body #dlgProduto .pe-linha{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center}
html body #dlgProduto .pe-linha .passo{flex:none;width:auto;min-width:0}
html body #dlgProduto #detAdd{min-width:0;min-height:52px;flex-wrap:wrap;column-gap:10px;row-gap:0;justify-content:center;text-align:center;padding-inline:14px}
@media(max-width:420px){
  html body #dlgProduto #detAdd{font-size:15.5px;flex-direction:column;line-height:1.15}
}

/* ---------- 5. Sacola: o aviso "A gente confirma a disponibilidade, o valor final e a entrega pelo WhatsApp
   antes do pagamento." já fica logo abaixo do botão; aqui o botão não corta o total no celular ---------- */
html body #dlgSacola .nota-envio{font-weight:600;color:#1F4C37}
@media(max-width:420px){
  html body .bt.enviar-whats{font-size:15.5px;gap:8px;padding:14px 12px}
  html body .bt.enviar-whats span{font-size:15.5px}
  html body .bt.enviar-whats b{padding-left:8px;white-space:nowrap}
}

/* categorias mais baixas no celular (produtos aparecem antes) */
@media(max-width:640px){
  html body .ed-cats-grade .ed-cat{aspect-ratio:1/1}
  html body .ed-cats-grade .ed-cat-txt b{font-size:18.5px;line-height:1.1}
  html body .ed-cats-grade .ed-cat-txt small{font-size:13px}
  html body .vpd-cesta .vpd-dica{display:none}
}

/* atalhos da primeira tela param com o título visível embaixo do menu */
#produtos,#presentes,#edCats{scroll-margin-top:96px}
@media(max-width:640px){#produtos,#presentes,#edCats{scroll-margin-top:80px}}

/* 20261116c: quadros das lojas online (resposta "Não achei o produto" e outros lugares) claros e legíveis,
   no lugar do verde-escuro com letra escura */
html body .lojas-online .lo,html body .lojas-online .lo.natura,html body .lojas-online .lo.boticario{background:#fff!important;color:#1F4C37!important;border:1px solid #DCD6CA!important;box-shadow:none}
html body .lojas-online .lo b{color:#1F4C37!important}
html body .lojas-online .lo span{color:#4A5A50!important;opacity:1!important}
html body .lojas-online .lo:hover{background:#F4F1EA!important}

/* ===== 20261116h · melhorias de compra (prompt da Jéssika, 16/11) ===== */
/* 1. pedido: mensagem preparada, ainda sem confirmação */
.envio-aberto{margin:0 0 14px;padding:14px;border-radius:14px;background:#EEF4EF;border:1px solid #BFD3C5;color:#1F4D4A;font-size:15px;line-height:1.45}
.envio-aberto b{display:block;font-size:16px;margin-bottom:4px}
.envio-aberto p{margin:0 0 10px}
.envio-acoes{display:flex;flex-wrap:wrap;gap:8px}
.envio-acoes .bt{min-height:44px;flex:1 1 180px;justify-content:center;text-align:center}
.meu-pedido .mp-ajuda{margin:12px 0 0;padding:12px 14px;border-radius:12px;background:#F4F1EA;font-size:15px;line-height:1.5}
/* 2. ficha do produto: presente e o que falta no cadastro */
.det-presente,.det-falta{margin:10px 0 0;font-size:14.5px;line-height:1.5;color:#3F4A44}
.det-presente a,.det-falta a{color:#1F4D4A;font-weight:700;text-decoration:underline}
.det-falta{padding:10px 12px;border-radius:10px;background:#FFF6EC;border:1px solid #F3D9BE}
/* 4. assistente: alternativas separadas */
.ap-sep-sub{margin:-4px 0 8px;font-size:13.5px;color:#5B6660}
/* 7. diferenciais */
.atalhos-presente.atalhos-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:860px){.atalhos-presente.atalhos-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vantagens-linha{margin:14px 0 0;font-size:15px;color:#3F4A44}
.vantagens-linha a{color:#1F4D4A;font-weight:700;text-decoration:underline}
/* 8. esteira: nome legível (até 3 linhas), tamanho ao lado do preço */
html body .vp-esteira{--etq:80px}
html body .vp-esteira .vp-etq b{-webkit-line-clamp:3;font-size:12.5px!important;line-height:1.2;letter-spacing:-.015em}
@media(max-width:640px){html body .vp-esteira{--etq:86px}html body .vp-esteira .vp-etq span{padding:5px 5px 4px;width:98%}html body .vp-esteira .vp-etq b{font-size:12px!important;-webkit-line-clamp:4}html body .vp-esteira .vp-etq s{font-size:13px!important;letter-spacing:0!important;white-space:nowrap}html body .vp-esteira .vp-etq s i{font-size:11.5px}}
html body .vp-etq s i{font-style:normal;font-weight:600;letter-spacing:0;color:#5B6660}
/* 8. acessibilidade: foco do teclado sempre visível, alvos de toque, rolagem das janelas */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #E45E21;outline-offset:2px}
dialog .dlg-corpo{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.item-sac .sac-rm,.passo button{min-height:40px;min-width:40px}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* 9. revistas: aviso de leitor externo e saída em caso de falha */
small.fora{display:block;font-size:12.5px;font-weight:500;opacity:.8}
.rev-fora{margin:10px 0 0;font-size:14px;line-height:1.5;color:#3F4A44}
.rev-falha p{margin:0 0 10px}.rev-falha .bt{margin:4px 4px 0 0}

/* 20261116i: horário de atendimento (do PDV) e sugestões por ocasião */
.rod-horario{margin:6px 0 0;font-size:.92rem;opacity:.9}
.det-horario{display:block;margin-top:4px}
.horario-linha{max-width:1100px;margin:18px auto 0;padding:0 16px;font-size:1rem}
.sug-ocasiao{margin-top:22px}
.sug-ocasiao h3{margin:0 0 12px}

/* 20261117a: em 320 px o botão "Adicionar à sacola" quebra em duas linhas em vez de sair do card */
@media(max-width:359px){html body .prod .add{white-space:normal!important;line-height:1.2;font-size:15px!important;padding:8px 6px!important}}

/* 20261117a: imagens novas dos cartões em Vantagens (mesmo tamanho nos dois) */
.beneficios-grade .beneficio-foto.cartao-img{max-width:280px;aspect-ratio:640/576;object-fit:cover;border-radius:16px}

/* 20261117a: aviso único para as revistas que abrem no leitor da marca */
.rev-nota{margin:6px 0 12px;font-size:.88rem;opacity:.8}

/* 20261119a · pagar agora no site */
#dlgSacola .op-online{border-color:#1F4C37}
#dlgSacola .bt-pagar{border:0;cursor:pointer;font-family:inherit}
#dlgSacola .bt-pagar[disabled]{opacity:.7;cursor:wait}
#dlgSacola .nota-pagar{font-weight:500!important;font-size:14px;line-height:1.45;margin-top:8px}
#dlgSacola .link-whats{background:none;border:0;padding:0;font:inherit;font-weight:700;color:#1F4C37;text-decoration:underline;cursor:pointer}
#dlgSacola .so-whats{opacity:.55}
#dlgSacola .so-whats::after{content:" (só no pedido pelo WhatsApp)";font-size:13px}
#dlgSacola input[aria-invalid=true]{border-color:#C0502A!important;box-shadow:0 0 0 3px #C0502A22}
.mp-pago{background:#E6F2EA;border:1px solid #9CC9AE;border-radius:14px;padding:14px 16px;margin:0 0 14px;color:#1F4C37}
.mp-pago b{font-size:19px;display:block}
.mp-pago p,.mp-conferindo p{margin:4px 0 0}
.mp-conferindo{background:#FFF4E8;border:1px solid #F3C9A4;border-radius:14px;padding:14px 16px;margin:0 0 14px;color:#6A3A17}

/* 20261119b · Pix na tela do site */
#dlgSacola .bt-cartao{margin-top:8px;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit;cursor:pointer;background:#fff!important;color:#1F4C37!important;border:1.5px solid #1F4C37!important;min-height:46px;padding:8px 14px;font-size:16px;font-weight:700;white-space:nowrap}
#dlgSacola .bt-cartao small{font-weight:500;opacity:.85;font-size:14px}
#dlgSacola .bt-cartao[disabled]{opacity:.7;cursor:wait}
#dlgSacola .dlg.com-pix > :not(.tela-pix){display:none!important}
.tela-pix{display:flex;flex-direction:column;min-height:0;max-height:100%}
.pix-box{display:flex;flex-direction:column;align-items:stretch;gap:10px;text-align:center}
.pix-valor{margin:0;display:flex;flex-direction:column;align-items:center}
.pix-valor span{font-size:14px;opacity:.8}
.pix-valor b{font-size:30px;color:#1F4C37;line-height:1.1}
.pix-valor small{font-size:14px;opacity:.75}
.pix-qr{background:#fff;border:1px solid #DCE6DF;border-radius:16px;padding:10px;width:min(240px,70vw);margin:0 auto}
.pix-qr svg{display:block;width:100%;height:auto}
.pix-qr:empty{display:none}
.pix-dica,.pix-obs{margin:0;font-size:14px;line-height:1.45}
.pix-obs{opacity:.8}
.pix-copiar,.pix-link{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;cursor:pointer;font-family:inherit}
.pix-link{border:1.5px solid #1F4C37!important;background:#fff!important;color:#1F4C37!important;min-height:46px}
.pix-copiar.ok,.pix-link.ok{background:#E6F2EA!important;color:#1F4C37!important}
.pix-codigo{display:block;font-size:12px;line-height:1.35;word-break:break-all;background:#F6F3EC;border-radius:10px;padding:8px 10px;text-align:left;user-select:all;max-height:76px;overflow:auto}
.tela-pix .dlg-pe{display:flex;flex-direction:column;gap:10px;align-items:center}
.tela-pix .dlg-pe .bt{width:100%;text-align:center}
#pagPedido .pix-box{margin:0 0 14px}

/* 20261122a: preço da esteira numa linha só (preço antigo riscado ao lado), sem o tamanho na etiqueta, selo de desconto */
html body .vp-etq .vp-pr{display:flex;justify-content:center;align-items:baseline;gap:5px;font-style:normal;white-space:nowrap;margin-top:2px}
html body .vp-etq .vp-pr s{white-space:nowrap!important;margin-top:0}
html body .vp-etq .vp-antes{text-decoration:line-through;font-family:'Inter',sans-serif;font-size:11px;font-weight:600;color:#7A8580}
html body .vp-off{position:absolute;left:4px;top:4px;z-index:3;background:#F08A4B;color:#fff;font-family:'Inter',sans-serif;font-weight:800;font-size:13px;line-height:1;padding:5px 8px;border-radius:20px;box-shadow:0 2px 6px rgba(0,0,0,.15)}
@media(max-width:640px){html body .vp-etq .vp-antes{font-size:10px}html body .vp-etq .vp-pr{gap:3px}}
