/* Vendedor virtual: totalmente isolado do checkout e dos estilos da vitrine. */
.tvv-root{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:9000;font-family:Arial,Helvetica,sans-serif;color:#123326;line-height:1.45}
.tvv-root *{box-sizing:border-box}
.tvv-root [hidden]{display:none!important}
.tvv-launch{border:2px solid #b8f5ce;border-radius:999px;background:#147345;color:#fff;box-shadow:0 8px 24px #001b12a6;padding:13px 18px;min-height:52px;font:800 14px/1.2 Arial,sans-serif;cursor:pointer;max-width:calc(100vw - 32px)}
.tvv-launch:hover,.tvv-launch:focus-visible{background:#0e5f38;outline:2px solid #e0fff0;outline-offset:3px}
.tvv-panel{display:flex;flex-direction:column;width:min(385px,calc(100vw - 24px));height:min(570px,calc(100dvh - 120px));min-height:280px;overflow:hidden;margin:0 0 12px auto;border:1px solid #8ccfac;border-radius:18px;background:#f7fff9;box-shadow:0 16px 48px #00130dbb}
.tvv-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px;background:#0e5638;color:#fff}
.tvv-heading{display:flex;flex-direction:column;gap:3px;min-width:0}
.tvv-heading strong{font:800 15px/1.3 Arial,sans-serif;color:#fff}
.tvv-heading small{font:12px/1.2 Arial,sans-serif;color:#d9f4e4}
.tvv-close{flex:0 0 36px;width:36px;height:36px;border:1px solid #ffffff70;border-radius:50%;background:transparent;color:#fff;font:800 18px Arial,sans-serif;cursor:pointer}
.tvv-log{flex:1;overflow:auto;overscroll-behavior:contain;padding:14px 12px 4px;background:#f3fbf5}
.tvv-msg{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:12px}
.tvv-visitor{align-items:flex-end}
.tvv-bubble{max-width:96%;white-space:pre-line;overflow-wrap:anywhere;border:1px solid #d4e6dc;border-radius:14px 14px 14px 4px;padding:10px 12px;background:#fff;color:#163629;font:14px/1.53 Arial,sans-serif}
.tvv-visitor .tvv-bubble{background:#d3f5de;border-color:#aad4b7;border-radius:14px 14px 4px 14px}
.tvv-options,.tvv-trip-list{display:flex;flex-wrap:wrap;gap:6px;max-width:100%;margin-bottom:3px}
.tvv-trip-list{margin:0 0 14px}
.tvv-chip{border:1px solid #136744;border-radius:999px;background:#17784e;color:#fff;padding:8px 11px;font:700 12px/1.3 Arial,sans-serif;text-align:left;cursor:pointer}
.tvv-chip-secondary{background:#fff;color:#125d3b}
.tvv-chip:hover,.tvv-chip:focus-visible{filter:brightness(.92);outline:2px solid #9cf1c3;outline-offset:2px}
.tvv-trip-list .tvv-chip{border-radius:10px;max-width:100%}
.tvv-footer{flex:none;background:#fff;border-top:1px solid #d5e7da;padding:10px}
.tvv-form{display:flex;gap:6px}
.tvv-input{flex:1;min-width:0;max-width:100%;height:42px;padding:9px 10px;border:1px solid #9abca9;border-radius:10px;background:#fff;color:#17372b;font:14px Arial,sans-serif}
.tvv-input:focus{outline:2px solid #15784f;outline-offset:1px}
.tvv-send{border:0;border-radius:10px;background:#147345;color:white;padding:0 11px;font:700 13px Arial,sans-serif;cursor:pointer}
.tvv-disclaimer{display:block;color:#586f62;font:11px/1.35 Arial,sans-serif;margin-top:8px}
@media(max-width:520px){
  .tvv-root{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .tvv-launch{font-size:13px;padding:12px 15px}
  .tvv-panel{width:calc(100vw - 24px);height:min(580px,calc(100dvh - 108px))}
}
@media(prefers-reduced-motion:reduce){.tvv-root *{scroll-behavior:auto!important}}

/* A bolha não pode cobrir campos, botões ou meios de pagamento do checkout. */
body:has(#tripModal.open) .tvv-root{display:none!important}
