.maveal-chatbot{position:fixed;right:22px;bottom:var(--maveal-chat-bottom-desktop,170px);z-index:999999;font-family:inherit;color:#1f2937}.maveal-chatbot *{box-sizing:border-box}.maveal-chatbot__toggle{display:flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:10px 16px 10px 10px;background:var(--maveal-chat-primary,#0B2341);color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.22);cursor:pointer;font-weight:800}.maveal-chatbot__toggle-icon{width:42px;height:42px;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}.maveal-chatbot__toggle-icon img{width:100%;height:100%;object-fit:cover;display:block}.maveal-chatbot__toggle-text{white-space:nowrap}.maveal-chatbot__panel{position:absolute;right:0;bottom:68px;width:min(380px,calc(100vw - 28px));height:min(620px,calc(100vh - 120px));background:#fff;border-radius:22px;box-shadow:0 18px 60px rgba(0,0,0,.28);overflow:hidden;display:none;grid-template-rows:auto 1fr auto;border:1px solid rgba(11,35,65,.10)}.maveal-chatbot.is-open .maveal-chatbot__panel{display:grid}.maveal-chatbot__header{background:linear-gradient(135deg,var(--maveal-chat-primary,#0B2341),#173b67);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.maveal-chatbot__brand{display:flex;align-items:center;gap:11px;min-width:0}.maveal-chatbot__avatar{width:42px;height:42px;border-radius:999px;background:#fff;object-fit:cover;flex:0 0 auto}.maveal-chatbot__brand strong{display:block;font-size:16px;line-height:1.1}.maveal-chatbot__brand span{display:block;font-size:12px;opacity:.85}.maveal-chatbot__close{border:0;background:rgba(255,255,255,.14);color:#fff;width:34px;height:34px;border-radius:999px;font-size:24px;line-height:1;cursor:pointer}.maveal-chatbot__messages{padding:14px;background:#f6f8fb;overflow:auto;display:flex;flex-direction:column;gap:10px}.maveal-chatbot__msg{display:flex;gap:8px;align-items:flex-start}.maveal-chatbot__msg.is-user{justify-content:flex-end}.maveal-chatbot__bubble{max-width:86%;padding:10px 12px;border-radius:16px;font-size:14px;line-height:1.42;white-space:pre-wrap;word-break:break-word}.maveal-chatbot__msg.is-bot .maveal-chatbot__bubble{background:#fff;color:#1f2937;border-top-left-radius:6px;box-shadow:0 4px 12px rgba(11,35,65,.06)}.maveal-chatbot__msg.is-user .maveal-chatbot__bubble{background:var(--maveal-chat-accent,#EF4C68);color:#fff;border-top-right-radius:6px}.maveal-chatbot__mini-avatar{width:26px;height:26px;border-radius:999px;object-fit:cover;background:#fff;flex:0 0 auto}.maveal-chatbot__intro{background:#fff;border:1px solid rgba(11,35,65,.08);border-radius:18px;padding:13px;box-shadow:0 5px 16px rgba(11,35,65,.06)}.maveal-chatbot__intro-title{font-weight:900;color:var(--maveal-chat-primary,#0B2341);margin-bottom:6px}.maveal-chatbot__quick{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.maveal-chatbot__quick button{border:1px solid rgba(11,35,65,.14);background:#fff;border-radius:999px;padding:7px 10px;color:var(--maveal-chat-primary,#0B2341);font-weight:700;font-size:12px;cursor:pointer}.maveal-chatbot__products{display:grid;gap:9px;margin-top:10px}.maveal-chatbot__product{display:grid;grid-template-columns:58px 1fr;gap:10px;background:#fff;border:1px solid rgba(11,35,65,.08);border-radius:14px;padding:9px;box-shadow:0 4px 12px rgba(11,35,65,.06)}.maveal-chatbot__product img{width:58px;height:58px;object-fit:cover;border-radius:11px;background:#f0f2f5}.maveal-chatbot__product-title{font-weight:900;color:var(--maveal-chat-primary,#0B2341);font-size:13px;line-height:1.22}.maveal-chatbot__product-meta{font-size:12px;margin-top:3px;color:#4b5563}.maveal-chatbot__product-reason{font-size:12px;color:#4b5563;margin-top:4px}.maveal-chatbot__buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.maveal-chatbot__btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--maveal-chat-primary,#0B2341);color:#fff!important;text-decoration:none!important;font-weight:800;font-size:12px;padding:8px 11px;line-height:1.1}.maveal-chatbot__form{display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid rgba(11,35,65,.1)}.maveal-chatbot__input{flex:1;min-width:0;border:1px solid rgba(11,35,65,.18);border-radius:999px;padding:10px 13px;font-size:14px;outline:none}.maveal-chatbot__input:focus{border-color:var(--maveal-chat-accent,#EF4C68);box-shadow:0 0 0 3px rgba(239,76,104,.12)}.maveal-chatbot__send{border:0;border-radius:999px;background:var(--maveal-chat-accent,#EF4C68);color:#fff;font-weight:900;padding:10px 14px;cursor:pointer}.maveal-chatbot__typing{font-size:13px;color:#6b7280;padding-left:36px}.maveal-chatbot__reset-note{font-size:11px;color:#6b7280;text-align:center;margin:2px 0 0}@media@media(max-width:768px){
.maveal-chatbot{right:12px;bottom:var(--maveal-chat-bottom-mobile,150px)}
.maveal-chatbot__toggle{padding:9px;width:64px;height:64px;justify-content:center;border-radius:18px}
.maveal-chatbot__toggle-icon{width:44px;height:44px}
.maveal-chatbot__toggle-text{display:none}
.maveal-chatbot.is-open .maveal-chatbot__toggle{display:none}
.maveal-chatbot__panel{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;border-radius:0;border:0;display:none;grid-template-rows:auto minmax(0,1fr) auto;z-index:1000000;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.maveal-chatbot.is-open .maveal-chatbot__panel{display:grid}
.maveal-chatbot__header{position:sticky;top:0;z-index:3;padding:14px 16px;min-height:72px}
.maveal-chatbot__close{width:48px;height:48px;min-width:48px;font-size:34px;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center}
.maveal-chatbot__messages{min-height:0;padding:14px 14px 18px;overflow:auto;-webkit-overflow-scrolling:touch}
.maveal-chatbot__form{position:sticky;bottom:0;z-index:3;padding:12px 12px calc(12px + env(safe-area-inset-bottom));gap:8px}
.maveal-chatbot__input{border-radius:14px;font-size:16px;padding:12px}
.maveal-chatbot__send{border-radius:16px;padding:12px 16px;font-size:16px}
.maveal-chatbot__bubble{max-width:92%;font-size:15px;line-height:1.45}
.maveal-chatbot__product{grid-template-columns:64px 1fr}.maveal-chatbot__product img{width:64px;height:64px}
}
.maveal-chatbot__old-price{text-decoration:line-through;opacity:.75;margin-right:4px}.maveal-chatbot__discount{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:999px;background:var(--maveal-chat-accent,#EF4C68);color:#fff;font-weight:900;font-size:11px}

/* MAVEAL 1.4.5 - Mobile fullscreen stable override */
@media (max-width:768px){
html.maveal-chatbot-open,body.maveal-chatbot-open{overflow:hidden!important;touch-action:none!important}
.maveal-chatbot{position:fixed!important;right:0!important;bottom:0!important;left:0!important;top:0!important;z-index:999999!important;pointer-events:none!important}
.maveal-chatbot__toggle{position:fixed!important;right:12px!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;padding:9px!important;width:64px!important;height:64px!important;justify-content:center!important;border-radius:18px!important;pointer-events:auto!important}
.maveal-chatbot__toggle-icon{width:44px!important;height:44px!important}.maveal-chatbot__toggle-text{display:none!important}.maveal-chatbot.is-open .maveal-chatbot__toggle{display:none!important}
.maveal-chatbot__panel{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important;border:0!important;margin:0!important;padding:0!important;padding-top:env(safe-area-inset-top)!important;background:#fff!important;display:none;grid-template-rows:auto minmax(0,1fr) auto!important;z-index:1000000!important;pointer-events:auto!important;overflow:hidden!important}
.maveal-chatbot.is-open .maveal-chatbot__panel{display:grid!important}
.maveal-chatbot__header{position:relative!important;top:0!important;z-index:5!important;padding:14px 16px!important;min-height:72px!important;flex-shrink:0!important}
.maveal-chatbot__close{width:52px!important;height:52px!important;min-width:52px!important;font-size:38px!important;background:rgba(255,255,255,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
.maveal-chatbot__messages{min-height:0!important;padding:14px 14px 18px!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;flex:1 1 auto!important}
.maveal-chatbot__form{position:relative!important;bottom:auto!important;z-index:5!important;padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important;gap:8px!important;flex-shrink:0!important;background:#fff!important}
.maveal-chatbot__input{border-radius:14px!important;font-size:16px!important;padding:12px!important;min-height:48px!important}.maveal-chatbot__send{border-radius:16px!important;padding:12px 16px!important;font-size:16px!important;min-height:48px!important}
.maveal-chatbot__bubble{max-width:92%!important;font-size:15px!important;line-height:1.45!important}.maveal-chatbot__product{grid-template-columns:64px 1fr!important}.maveal-chatbot__product img{width:64px!important;height:64px!important}
}

/* MAVEAL 1.4.7 - Panel visible on all resolutions */
.maveal-chatbot.is-open .maveal-chatbot__toggle{display:none!important;}
@media (min-width:769px){
  .maveal-chatbot{right:22px!important;bottom:var(--maveal-chat-bottom-desktop,120px)!important;}
  .maveal-chatbot__panel{position:fixed!important;right:22px!important;bottom:22px!important;top:auto!important;width:min(390px,calc(100vw - 44px))!important;height:min(620px,calc(100dvh - 44px))!important;max-height:calc(100dvh - 44px)!important;display:none;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important;}
  .maveal-chatbot.is-open .maveal-chatbot__panel{display:grid!important;}
  .maveal-chatbot__header{flex-shrink:0!important;}
  .maveal-chatbot__messages{min-height:0!important;overflow-y:auto!important;}
  .maveal-chatbot__form{flex-shrink:0!important;}
}
@media (max-width:768px){
  .maveal-chatbot__toggle{bottom:calc(92px + env(safe-area-inset-bottom))!important;}
  .maveal-chatbot.is-open .maveal-chatbot__panel{top:0!important;bottom:0!important;height:100vh!important;height:100dvh!important;width:100vw!important;max-height:none!important;}
}

/* MAVEAL 1.6.4 - Versión incrustada para Ayuda y Soporte */
.maveal-chatbot--embedded{position:relative!important;right:auto!important;bottom:auto!important;left:auto!important;top:auto!important;z-index:1!important;width:100%!important;max-width:none!important;pointer-events:auto!important;margin:0 0 18px!important}
.maveal-chatbot--embedded .maveal-chatbot__toggle,.maveal-chatbot--embedded .maveal-chatbot__close{display:none!important}
.maveal-chatbot--embedded .maveal-chatbot__panel{position:relative!important;display:grid!important;right:auto!important;bottom:auto!important;top:auto!important;left:auto!important;width:100%!important;max-width:none!important;height:620px!important;max-height:70vh!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(11,35,65,.12)!important;border:1px solid rgba(11,35,65,.12)!important;overflow:hidden!important;grid-template-rows:auto minmax(0,1fr) auto!important}
.maveal-chatbot--embedded .maveal-chatbot__messages{min-height:0!important;overflow-y:auto!important}
.maveal-chatbot--embedded .maveal-chatbot__form{position:relative!important;bottom:auto!important}
.maveal-chatbot__btn--ticket{border:0;cursor:pointer;background:var(--maveal-chat-accent,#EF4C68)!important}
@media(max-width:768px){
  .maveal-chatbot--embedded{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;z-index:1!important;pointer-events:auto!important}
  .maveal-chatbot--embedded .maveal-chatbot__panel{position:relative!important;inset:auto!important;width:100%!important;height:650px!important;max-height:74vh!important;border-radius:16px!important;padding:0!important;display:grid!important}
  html.maveal-chatbot-open .maveal-chatbot--embedded, body.maveal-chatbot-open .maveal-chatbot--embedded{overflow:visible!important;touch-action:auto!important}
}

/* MAVEAL 1.7.4 - Honeypot invisible anti-bots */
.maveal-chatbot__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
