/* CINT Chat de ventas — widget. Todo bajo .cintchat-raiz para no chocar con el tema. */
.cintchat-raiz{--cc:#0b6e99;position:fixed;bottom:20px;z-index:2147483000;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.45;color:#1d2327}
.cintchat-raiz *{box-sizing:border-box}
.cintchat-der{right:20px}.cintchat-izq{left:20px}
.cintchat-raiz .cintchat-globo{width:60px!important;height:60px!important;border-radius:50%!important;min-width:0;border:0;background:var(--cc);color:#fff;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;padding:0;transition:transform .15s}
.cintchat-globo:hover{transform:scale(1.06)}
.cintchat-der .cintchat-globo{margin-left:auto}
.cintchat-ventana{display:none;flex-direction:column;width:370px;height:560px;max-height:calc(100vh - 110px);background:#fff;border-radius:14px;box-shadow:0 8px 32px rgba(0,0,0,.22);overflow:hidden;margin-bottom:12px}
.cintchat-abierto .cintchat-ventana{display:flex}
.cintchat-cab{background:var(--cc);color:#fff;padding:12px 14px;display:flex;align-items:center;gap:10px}
.cintchat-cab img{width:32px;height:32px;border-radius:50%;background:#fff;object-fit:contain}
.cintchat-nombre{font-weight:600;flex:1}
.cintchat-cerrar{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.cintchat-lista{flex:1;overflow-y:auto;padding:14px;background:#f6f7f9;display:flex;flex-direction:column;gap:8px}
.cintchat-msg{max-width:85%;padding:9px 12px;border-radius:12px;word-wrap:break-word;overflow-wrap:anywhere}
.cintchat-bot{background:#fff;border:1px solid #e3e5e8;align-self:flex-start;border-bottom-left-radius:4px}
.cintchat-yo{background:var(--cc);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.cintchat-msg a{color:var(--cc);text-decoration:underline}
.cintchat-yo a{color:#fff}
.cintchat-aviso{font-size:12px;color:#646970;padding:0 4px}
.cintchat-aviso a{color:#646970}
.cintchat-contacto{padding:10px 14px;background:#fff8e5;border-top:1px solid #f0e1b0;font-size:14px}
.cintchat-contacto a{color:#1d2327}
.cintchat-pie{display:flex;gap:8px;padding:10px;border-top:1px solid #e3e5e8;background:#fff}
.cintchat-pie textarea{flex:1;resize:none;border:1px solid #c3c4c7;border-radius:8px;padding:8px 10px;font:inherit;max-height:100px;min-height:40px;margin:0}
.cintchat-pie textarea:focus{outline:2px solid var(--cc);outline-offset:-1px}
.cintchat-enviar{border:0;background:var(--cc);color:#fff;border-radius:8px;width:44px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.cintchat-enviar:disabled,.cintchat-pie textarea:disabled{opacity:.5;cursor:default}
.cintchat-persona{display:block;text-align:center;font-size:12px;padding:0 0 8px;background:#fff;color:#646970!important}
.cintchat-escribiendo span{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:#a7aaad;animation:cintchat-p 1s infinite}
.cintchat-escribiendo span:nth-child(2){animation-delay:.15s}.cintchat-escribiendo span:nth-child(3){animation-delay:.3s}
@keyframes cintchat-p{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media (max-width:480px){
	.cintchat-raiz{bottom:12px}.cintchat-der{right:12px}.cintchat-izq{left:12px}
	.cintchat-abierto{left:8px;right:8px}
	.cintchat-ventana{width:100%;height:calc(100vh - 100px)}
}
/* Dentro del panel de wp-admin («Probar») */
.cintchat-en-panel{position:static;height:100%}
.cintchat-en-panel .cintchat-ventana{display:flex;width:100%;height:100%;max-height:none;margin:0}
