/* Produto + chat V164: ajuda sem cobrir compra */
body.product-page .lc-chat-launcher,.produto-wrapper~.lc-chat-launcher,.lc-chat-launcher{max-width:min(250px,calc(100vw - 24px))}
@media(min-width:992px){.lc-chat-launcher{right:20px!important;bottom:22px!important}.lc-chat-panel{right:20px!important;bottom:86px!important;max-height:calc(100dvh - var(--lc-header-bottom,0px) - 110px)!important}.lc-chat-toast{right:20px!important;bottom:92px!important}}
@media(max-width:991.98px){
  .lc-chat-launcher{right:12px!important;bottom:calc(104px + env(safe-area-inset-bottom))!important;width:56px!important;min-width:56px!important;height:56px!important;min-height:56px!important;padding:0!important;border-radius:18px!important}
  .lc-chat-launch-copy{display:none!important}.lc-chat-launch-icon{width:56px!important;height:56px!important;background:transparent!important}
  .lc-chat-toast{bottom:calc(166px + env(safe-area-inset-bottom))!important}
  body.lc-chat-open :where(.mobile-sticky-cta,.produto-fixed-mobile-buy,.produto-sticky-mobile,.sticky-buy-bar){display:none!important}
  .lc-chat-panel{bottom:max(5px,env(safe-area-inset-bottom))!important;max-height:none!important}
  .opcoes-preco-box{scroll-margin-top:calc(var(--lc-header-bottom,72px) + 16px)!important}
  .opcao-preco-card{min-height:72px!important;padding:12px!important;gap:10px!important}
  .opcao-preco-card input[type="radio"]{width:22px!important;height:22px!important;flex:0 0 22px!important}
  .add-to-cart-button.needs-option{background:linear-gradient(135deg,#f59e0b,#d97706)!important;color:#fff!important;opacity:1!important}
}
@media(max-width:575.98px){.lc-chat-panel{top:calc(var(--lc-header-bottom,0px) + 3px)!important}.lc-chat-head{padding:9px!important}.lc-chat-body{padding:10px!important}.lc-chat-form{padding:8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left))!important}.lc-chat-form textarea{min-height:46px!important}.lc-chat-toast{right:8px!important;left:8px!important;width:auto!important}}


/* V164: mantém o chat acima da barra de compra e dá prioridade ao CTA */
body.product-page:not(.lc-chat-open) .lc-chat-root.is-product-chat .lc-chat-launcher{z-index:2147482200!important}
body.product-page .lc-chat-root.is-product-chat .lc-chat-panel{z-index:2147482400!important}
@media(max-width:991.98px){body.product-page:not(.lc-chat-open) .lc-chat-root.is-product-chat .lc-chat-launcher{bottom:calc(110px + env(safe-area-inset-bottom))!important}body.product-page .mobile-sticky-cta{z-index:2147482100!important}}

/* V164.1 — botão do chat compacto, sem duplicação de texto */
.lc-chat-root.is-product-chat .lc-chat-launcher::after{
  content:none!important;
  display:none!important;
}
@media(min-width:992px){
  .lc-chat-root.is-product-chat .lc-chat-launcher{
    right:18px!important;
    bottom:18px!important;
    width:auto!important;
    min-width:0!important;
    max-width:190px!important;
    height:48px!important;
    min-height:48px!important;
    padding:5px 13px 5px 5px!important;
    gap:7px!important;
    border-radius:999px!important;
    box-shadow:0 12px 30px rgba(15,118,110,.26)!important;
  }
  .lc-chat-root.is-product-chat .lc-chat-launch-icon{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    font-size:17px!important;
  }
  .lc-chat-root.is-product-chat .lc-chat-launch-copy{
    display:block!important;
    min-width:0!important;
    line-height:1!important;
  }
  .lc-chat-root.is-product-chat .lc-chat-launch-copy strong{
    display:block!important;
    margin:0!important;
    font-size:0!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .lc-chat-root.is-product-chat .lc-chat-launch-copy strong::after{
    content:'Tire sua dúvida';
    font-size:12px!important;
    font-weight:900!important;
    line-height:1!important;
  }
  .lc-chat-root.is-product-chat .lc-chat-launch-copy small{
    display:none!important;
  }
  .lc-chat-root.is-product-chat .lc-chat-online-dot{
    left:31px!important;
    top:3px!important;
    width:10px!important;
    height:10px!important;
    border-width:2px!important;
    box-shadow:0 0 0 3px rgba(52,211,153,.15)!important;
  }
}
