/* Chatbot The French Maisons */
.tfmcb{--tfmcb-color:#1f6f78;position:fixed;right:20px;bottom:20px;z-index:99999;font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#2b2b2b}
.tfmcb *{box-sizing:border-box}
.tfmcb button{font:inherit;cursor:pointer}
.tfmcb-launcher{width:60px;height:60px;border-radius:50%;border:0;background:var(--tfmcb-color);color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.22);display:grid;place-items:center;transition:transform .15s}
.tfmcb-launcher:hover{transform:scale(1.06)}
.tfmcb-launcher svg{width:28px;height:28px}
.tfmcb.is-open .tfmcb-launcher{display:none}
.tfmcb-panel{width:380px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 40px);background:#fffdf9;border-radius:18px;box-shadow:0 12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.tfmcb-panel[hidden]{display:none}
.tfmcb-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:var(--tfmcb-color);color:#fff}
.tfmcb-avatar{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.22);display:grid;place-items:center;font-weight:700;font-size:17px;flex:none}
.tfmcb-title{flex:1;min-width:0;display:flex;flex-direction:column}
.tfmcb-title strong{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfmcb-sub{font-size:12px;opacity:.85}
.tfmcb-langs{display:flex;border:1px solid rgba(255,255,255,.45);border-radius:999px;overflow:hidden;flex:none}
.tfmcb-langs button{background:transparent;color:#fff;border:0;padding:3px 7px;font-size:11px;font-weight:600;opacity:.75}
.tfmcb-langs button[aria-pressed="true"]{background:#fff;color:var(--tfmcb-color);opacity:1}
.tfmcb-close,.tfmcb-reset{background:transparent;border:0;color:#fff;font-size:22px;line-height:1;padding:2px 4px;opacity:.85;flex:none}
.tfmcb-reset{font-size:18px}
.tfmcb-close:hover,.tfmcb-reset:hover{opacity:1}
.tfmcb-body{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:10px;background:#faf6ef}
.tfmcb-msg{max-width:86%;padding:9px 13px;border-radius:16px;word-wrap:break-word}
.tfmcb-msg p{margin:0 0 6px}.tfmcb-msg p:last-child{margin:0}
.tfmcb-msg ul{margin:4px 0 6px;padding-left:18px}.tfmcb-msg li{margin:2px 0}
.tfmcb-assistant{align-self:flex-start;background:#fff;border:1px solid #ece4d8;border-bottom-left-radius:5px}
.tfmcb-user{align-self:flex-end;background:var(--tfmcb-color);color:#fff;border-bottom-right-radius:5px}
.tfmcb-assistant a{color:var(--tfmcb-color);font-weight:600;text-decoration:underline}
.tfmcb-fb{margin-top:6px;display:flex;gap:4px;font-size:12px;color:#888}
.tfmcb-fb button{background:transparent;border:1px solid #eee;border-radius:8px;padding:0 6px;font-size:13px;opacity:.55}
.tfmcb-fb button:hover{opacity:1}
.tfmcb-typing{display:flex;gap:4px;padding:13px 14px}
.tfmcb-typing span{width:7px;height:7px;border-radius:50%;background:#bbb;animation:tfmcb-b 1.2s infinite}
.tfmcb-typing span:nth-child(2){animation-delay:.15s}.tfmcb-typing span:nth-child(3){animation-delay:.3s}
@keyframes tfmcb-b{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.tfmcb-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px;background:#faf6ef}
.tfmcb-chips:empty{display:none}
.tfmcb-chips button{background:#fff;border:1px solid var(--tfmcb-color);color:var(--tfmcb-color);border-radius:999px;padding:5px 11px;font-size:13px}
.tfmcb-chips button:hover{background:var(--tfmcb-color);color:#fff}
.tfmcb-form{display:flex;align-items:flex-end;gap:8px;padding:10px;border-top:1px solid #ece4d8;background:#fff}
.tfmcb-form textarea{flex:1;resize:none;border:1px solid #ddd;border-radius:12px;padding:9px 12px;font:inherit;max-height:120px;outline:none;background:#fff;color:#2b2b2b}
.tfmcb-form textarea:focus{border-color:var(--tfmcb-color)}
.tfmcb-form button{width:40px;height:40px;border-radius:50%;border:0;background:var(--tfmcb-color);color:#fff;display:grid;place-items:center;flex:none}
.tfmcb-form button svg{width:20px;height:20px}
@media (max-width:480px){
  .tfmcb{right:12px;bottom:12px}
  .tfmcb.is-open{right:0;bottom:0;left:0;top:0}
  .tfmcb-panel{width:100vw;max-width:none;height:100%;max-height:none;border-radius:0}
}
.tfmcb-inline{position:relative;right:auto;bottom:auto;z-index:auto}
.tfmcb-inline .tfmcb-panel{width:100%;max-width:none;height:600px;max-height:none}
.tfmcb-inline .tfmcb-close{display:none}
@media (max-width:480px){.tfmcb-inline.is-open{position:relative;inset:auto}.tfmcb-inline .tfmcb-panel{height:560px;border-radius:18px}}
.tfmcb-launcher{position:relative;overflow:visible;padding:0}
.tfmcb-launcher img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid var(--tfmcb-color)}
.tfmcb-dot{position:absolute;right:2px;bottom:2px;width:14px;height:14px;border-radius:50%;background:#2fb344;border:2px solid #fff}
.tfmcb-avatar{overflow:hidden;position:relative}
.tfmcb-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.tfmcb-has-face{position:relative;margin-left:34px}
.tfmcb-has-face::before{content:"";position:absolute;left:-34px;bottom:0;width:26px;height:26px;border-radius:50%;background:var(--tfmcb-face) center/cover no-repeat}
