.mp-whatsapp {
  position: fixed;
  z-index: 99998;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 17px 8px 9px;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 999px;
  background: #128c4a;
  box-shadow: 0 10px 26px rgba(6,48,29,.28);
  color: #fff !important;
  font-family: inherit;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.mp-whatsapp:hover,
.mp-whatsapp:focus-visible {
  background: #075e37;
  box-shadow: 0 13px 31px rgba(6,48,29,.36);
  color: #fff !important;
  transform: translateY(-3px);
}
.mp-whatsapp:focus-visible { outline: 3px solid #8bd8b1; outline-offset: 3px; }
.mp-whatsapp__icon { position: relative; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; }
.mp-whatsapp__icon svg { display: block; width: 40px; height: 40px; }
.mp-whatsapp__copy { display: flex; flex-direction: column; gap: 2px; line-height: 1.05; }
.mp-whatsapp__copy strong { color: inherit; font-size: 15px; font-weight: 850; }
.mp-whatsapp__copy small { color: rgba(255,255,255,.84); font-size: 10px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.mp-whatsapp__pulse { position: absolute; left: 10px; width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; animation: mp-wa-pulse 2.4s ease-out infinite; }
@keyframes mp-wa-pulse { 0% { opacity: .65; transform: scale(.8); } 75%,100% { opacity: 0; transform: scale(1.65); } }
@media (prefers-reduced-motion: reduce) { .mp-whatsapp, .mp-whatsapp__pulse { animation: none; transition: none; } }
@media (max-width: 640px) {
  .mp-whatsapp { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); min-width: 58px; padding: 7px; justify-content: center; }
  .mp-whatsapp__copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mp-whatsapp__pulse { left: 9px; }
}

.mp-chat{position:fixed;z-index:99998;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));font-family:inherit;color:#3b241a}
.mp-chat__launcher{display:flex;align-items:center;gap:9px;min-height:58px;padding:10px 18px;border:2px solid rgba(255,255,255,.9);border-radius:999px;background:#f05c78;color:#fff;box-shadow:0 12px 30px rgba(89,36,47,.28);cursor:pointer;font:inherit}
.mp-chat__launcher span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#fff;color:#f05c78;font-size:20px}
.mp-chat__launcher:hover,.mp-chat__launcher:focus-visible{background:#d94464;transform:translateY(-2px)}
.mp-chat__panel{position:absolute;right:0;bottom:70px;width:min(380px,calc(100vw - 28px));height:min(570px,calc(100vh - 120px));overflow:hidden;border:1px solid #f1c7b3;border-radius:24px;background:#fffaf3;box-shadow:0 24px 70px rgba(66,37,24,.25)}
.mp-chat__panel[hidden]{display:none}
.mp-chat__panel header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:linear-gradient(135deg,#f05c78,#f59b62);color:#fff}
.mp-chat__panel header div{display:flex;flex-direction:column}.mp-chat__panel header strong{font-size:18px}.mp-chat__panel header small{color:rgba(255,255,255,.88)}
.mp-chat__panel header button{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.mp-chat__messages{height:calc(100% - 154px);padding:18px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}
.mp-chat__bubble{max-width:86%;padding:11px 14px;border-radius:16px;line-height:1.45;font-size:14px;white-space:pre-wrap}
.mp-chat__bubble--bot{align-self:flex-start;background:#fff;border:1px solid #f1d8c9;border-bottom-left-radius:5px}
.mp-chat__bubble--user{align-self:flex-end;background:#5a2f22;color:#fff;border-bottom-right-radius:5px}
.mp-chat__bubble--typing{opacity:.65;font-style:italic}
.mp-chat__feedback{align-self:flex-start;display:flex;gap:6px;margin-top:-7px}
.mp-chat__feedback button{padding:5px 8px;border:1px solid #e6c9ba;border-radius:999px;background:#fff;color:#69463a;font-size:10px;cursor:pointer}
.mp-chat__feedback button:hover{border-color:#f05c78;color:#d94464}.mp-chat__feedback button:disabled{opacity:.55}
.mp-chat__form{display:flex;gap:8px;padding:12px 14px 8px;border-top:1px solid #f0dacd;background:#fff}
.mp-chat__form input{min-width:0;flex:1;padding:12px 14px;border:1px solid #dfc3b5;border-radius:999px;background:#fff;font:inherit;color:#3b241a}
.mp-chat__form input:focus{outline:2px solid #f59b62;outline-offset:1px}
.mp-chat__form button{width:44px;height:44px;border:0;border-radius:50%;background:#f05c78;color:#fff;font-size:20px;cursor:pointer}
.mp-chat__form button:disabled,.mp-chat__form input:disabled{opacity:.55}
.mp-chat__note{display:block;padding:0 16px 10px;background:#fff;color:#80675c;text-align:center;font-size:10px}
@media(max-width:640px){.mp-chat{right:14px;bottom:14px}.mp-chat__launcher strong{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.mp-chat__launcher{width:58px;padding:10px;justify-content:center}.mp-chat__panel{position:fixed;right:14px;bottom:84px;height:min(570px,calc(100vh - 105px))}}
@media(prefers-reduced-motion:reduce){.mp-chat__launcher{transition:none}}

