/* Nanook, asistente público de la web de Buzz Boost MKT (v1.9.17).
   Identidad Buzz Boost MKT: azul #118AB2, magenta #FF008C, Montserrat.
   Clases con prefijo web- para no chocar con los estilos de la web ni
   de la página de ventas. Animación de saludo de la v1.9.16: la burbuja
   saluda al cargar (nanook-saludo, una vez) y luego vaivenea despacio;
   con prefers-reduced-motion no hay animación. El [hidden] del panel
   tiene su regla explícita: sin ella, el display:flex del panel gana
   al atributo hidden y el botón × no cierra el panel (defecto de la
   v1.9.13, corregido en la v1.9.14). */
.web-nanook-widget { position: fixed; right: 16px; bottom: 16px; z-index: 9999; font-family: Montserrat, Arial, sans-serif; }
.web-nanook-bubble { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #FF008C; background: #fff; padding: 0; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.25); overflow: hidden; display: block; margin-left: auto; animation: web-nanook-saludo 2.4s ease-in-out 0.3s 1 both; }
.web-nanook-bubble img { width: 100%; height: 100%; object-fit: cover; display: block; animation: web-nanook-vaiven 7s ease-in-out 3.2s infinite; }
@keyframes web-nanook-saludo {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-9deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-5deg); }
  80% { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}
@keyframes web-nanook-vaiven {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .web-nanook-bubble, .web-nanook-bubble img { animation: none; }
}
.web-nanook-panel { width: 340px; max-width: calc(100vw - 32px); height: 460px; max-height: calc(100vh - 110px); background: #fff; border: 1px solid #ddd; border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; margin-bottom: 10px; }
.web-nanook-panel[hidden] { display: none; }
.web-nanook-head { display: flex; align-items: center; gap: 10px; background: #118AB2; color: #fff; padding: 10px 12px; }
.web-nanook-head img.web-nanook-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; flex: none; }
.web-nanook-head div { flex: 1; min-width: 0; }
.web-nanook-head strong { display: block; font-size: 15px; }
.web-nanook-head span { display: block; font-size: 12px; opacity: .9; }
.web-nanook-close { background: transparent; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; }
.web-nanook-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #f7f7f7; }
.web-nanook-msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: #333; white-space: pre-wrap; word-wrap: break-word; }
.web-nanook-nanook { background: #fff; border: 1px solid #d9ecf3; align-self: flex-start; border-bottom-left-radius: 4px; }
.web-nanook-visitante { background: #118AB2; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.web-nanook-note { font-size: 12px; color: #888; text-align: center; }
.web-nanook-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: #f7f7f7; }
.web-nanook-chip { border: 1px solid #118AB2; color: #118AB2; background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-family: inherit; cursor: pointer; }
.web-nanook-chip:hover { background: #118AB2; color: #fff; }
.web-nanook-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #eee; background: #fff; }
.web-nanook-form input { flex: 1; min-width: 0; border: 1px solid #ccc; border-radius: 999px; padding: 9px 12px; font-size: 14px; font-family: inherit; }
.web-nanook-form input:focus { outline: 2px solid #118AB2; border-color: #118AB2; }
.web-nanook-form button { background: #FF008C; color: #fff; border: 0; border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: bold; font-family: inherit; cursor: pointer; }
