.estimarte-chatbot { position: fixed; right: 24px; bottom: 24px; z-index: 99990; font-family: Arial, sans-serif; }
.estimarte-chatbot__launcher { position: relative; width: 62px; height: 62px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #b83468; box-shadow: 0 8px 24px rgba(0,0,0,.25); cursor: pointer; transition: transform .2s, background .2s; }
.estimarte-chatbot__launcher:hover { background: #962650; transform: translateY(-2px); }
.estimarte-chatbot__launcher::before { content: attr(data-tooltip); position: absolute; right: 0; bottom: calc(100% + 12px); width: max-content; max-width: min(260px, calc(100vw - 32px)); padding: 9px 12px; border-radius: 8px; color: #fff; background: #333; box-shadow: 0 4px 14px rgba(0,0,0,.2); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: left; white-space: normal; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.estimarte-chatbot__launcher::after { content: ''; position: absolute; right: 22px; bottom: calc(100% + 6px); border: 6px solid transparent; border-top-color: #333; border-bottom: 0; opacity: 0; pointer-events: none; transition: opacity .15s; }
.estimarte-chatbot__launcher:hover::before, .estimarte-chatbot__launcher:hover::after, .estimarte-chatbot__launcher:focus-visible::before, .estimarte-chatbot__launcher:focus-visible::after { opacity: 1; }
.estimarte-chatbot__launcher:hover::before, .estimarte-chatbot__launcher:focus-visible::before { transform: translateY(0); }
.estimarte-chatbot.is-open .estimarte-chatbot__launcher::before, .estimarte-chatbot.is-open .estimarte-chatbot__launcher::after { display: none; }
.estimarte-chatbot__launcher svg, .estimarte-chatbot__form button svg { width: 28px; fill: currentColor; }
.estimarte-chatbot__panel { position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(570px, calc(100vh - 120px)); display: none; grid-template-rows: auto 1fr auto auto; overflow: hidden; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.estimarte-chatbot.is-open .estimarte-chatbot__panel { display: grid; }
.estimarte-chatbot__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; color: #fff; background: #b83468; }
.estimarte-chatbot__header strong, .estimarte-chatbot__header span { display: block; }
.estimarte-chatbot__header span { margin-top: 2px; font-size: 12px; opacity: .85; }
.estimarte-chatbot__header-actions { display: flex; align-items: center; gap: 8px; }
.estimarte-chatbot__reset { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; }
.estimarte-chatbot__reset:hover { background: rgba(255,255,255,.25); }
.estimarte-chatbot__reset svg { width: 17px; fill: currentColor; }
.estimarte-chatbot__close { border: 0; padding: 0 4px; color: #fff; background: transparent; font-size: 28px; cursor: pointer; }
.estimarte-chatbot__messages { padding: 18px; overflow-y: auto; background: #f7f7f7; }
.estimarte-chatbot__message { width: fit-content; max-width: 86%; margin-bottom: 12px; padding: 10px 13px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.estimarte-chatbot__message--assistant { background: #fff; border: 1px solid #e3e3e3; border-bottom-left-radius: 4px; color: #333; }
.estimarte-chatbot__message--user { margin-left: auto; background: #b83468; border-bottom-right-radius: 4px; color: #fff; }
.estimarte-chatbot__message a { color: #b83468; font-weight: 700; text-decoration: underline; }
.estimarte-chatbot__message--user a { color: #fff; }
.estimarte-chatbot__message.is-loading { color: #777; font-style: italic; }
.estimarte-chatbot__suggestions { margin: 4px 0 14px; }
.estimarte-chatbot__suggestions.is-hidden { display: none; }
.estimarte-chatbot__suggestions > strong { display: block; margin: 2px 0 10px; color: #555; font-size: 13px; }
.estimarte-chatbot__suggestion-links { display: grid; gap: 7px; }
.estimarte-chatbot__suggestions button { position: relative; width: 100%; padding: 9px 34px 9px 12px; border: 1px solid #dedede; border-radius: 9px; color: #3d3d3d; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); font-size: 12px; font-weight: 600; line-height: 1.3; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.estimarte-chatbot__suggestions button::after { content: '›'; position: absolute; top: 50%; right: 13px; color: #b83468; font-size: 20px; font-weight: 400; line-height: 1; transform: translateY(-54%); }
.estimarte-chatbot__suggestions button:hover, .estimarte-chatbot__suggestions button:focus { border-color: #b83468; color: #842044; background: #fff7fa; outline: none; transform: translateX(2px); }
.estimarte-chatbot__form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; padding: 12px; border-top: 1px solid #e5e5e5; background: #fff; }
.estimarte-chatbot__form textarea { min-height: 42px; max-height: 100px; resize: vertical; padding: 10px 12px; border: 1px solid #ccc; border-radius: 10px; font: inherit; font-size: 14px; }
.estimarte-chatbot__form textarea:focus { outline: 2px solid rgba(184,52,104,.25); border-color: #b83468; }
.estimarte-chatbot__form button { border: 0; border-radius: 10px; color: #fff; background: #b83468; cursor: pointer; }
.estimarte-chatbot__form button svg { width: 21px; }
.estimarte-chatbot__notice { padding: 0 12px 10px; color: #777; background: #fff; font-size: 10px; text-align: center; }
@media (max-width: 575px) { .estimarte-chatbot { right: 16px; bottom: 16px; } .estimarte-chatbot__launcher { width: 56px; height: 56px; } .estimarte-chatbot__panel { position: fixed; inset: 12px 12px 84px; width: auto; height: auto; } }
@media (prefers-reduced-motion: reduce) { .estimarte-chatbot__launcher { transition: none; } }
