#lari-whatsapp {
  --lari-wa-right: max(25px, env(safe-area-inset-right));
  --lari-wa-bottom: max(25px, env(safe-area-inset-bottom));
  position: fixed;
  right: var(--lari-wa-right);
  bottom: var(--lari-wa-bottom);
  width: 65px;
  z-index: 60;
  pointer-events: none;
  color: #0A0A0A;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}
#lari-whatsapp [hidden], #lari-whatsapp[hidden] { display: none !important; }
#lari-whatsapp button, #lari-whatsapp input { font-family: inherit; }
#lari-whatsapp svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
#lari-whatsapp .lari-wa-launcher {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border: 1px solid #D9D9D9;
  border-radius: 50%;
  background: #0A0A0A;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  cursor: pointer;
  animation: lari-wa-pulse 2s 3;
}
#lari-whatsapp .lari-wa-launcher svg { width: 30px; height: 30px; }
#lari-whatsapp .lari-wa-launcher:hover { background: #252525; }
#lari-whatsapp .lari-wa-panel {
  pointer-events: auto;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: min(360px, calc(100vw - var(--lari-wa-right) - max(16px, env(safe-area-inset-left))));
  max-height: calc(100vh - 125px);
  max-height: calc(100dvh - 125px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
#lari-whatsapp .lari-wa-header { display: flex; align-items: center; flex-shrink: 0; gap: 14px; padding: 12px 14px; background: #0A0A0A; color: #FFFFFF; }
#lari-whatsapp .lari-wa-logo { display: block; width: 104px; height: 52px; object-fit: contain; flex-shrink: 0; }
#lari-whatsapp .lari-wa-heading { min-width: 0; flex: 1; font-size: 12px; line-height: 1.5; color: #D9D9D9; }
#lari-whatsapp .lari-wa-heading strong { display: block; color: #FFFFFF; font-size: 14px; font-weight: 500; }
#lari-whatsapp .lari-wa-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #FFFFFF; font-size: 30px; line-height: 1; cursor: pointer; }
#lari-whatsapp .lari-wa-body { min-height: 0; overflow-y: auto; padding: 20px 16px; background: #D9D9D9; }
#lari-whatsapp .lari-wa-bubble { max-width: 94%; margin: 0; padding: 15px; border-radius: 0 12px 12px 12px; background: #FFFFFF; color: #0A0A0A; font-size: 14px; line-height: 1.65; }
#lari-whatsapp .lari-wa-bubble strong { color: #0A0A0A; font-weight: 500; }
#lari-whatsapp .lari-wa-form { display: grid; gap: 12px; flex-shrink: 0; padding: 16px; border-top: 1px solid #D9D9D9; background: #FFFFFF; }
#lari-whatsapp .lari-wa-input { width: 100%; min-width: 0; min-height: 46px; padding: 11px 14px; border: 1px solid #D9D9D9; border-radius: 24px; background: #FFFFFF; color: #0A0A0A; font-size: 16px; }
#lari-whatsapp .lari-wa-send { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 24px; background: #0A0A0A; color: #FFFFFF; font-size: 14px; cursor: pointer; }
#lari-whatsapp .lari-wa-send:hover { background: #252525; }
#lari-whatsapp .lari-wa-help { margin: 0; color: #595959; font-size: 12px; line-height: 1.5; }
#lari-whatsapp .lari-wa-help a { color: #0A0A0A; text-decoration: underline; }
#lari-whatsapp .lari-wa-notice { pointer-events: auto; position: absolute; right: 80px; bottom: 8px; display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 130px); min-height: 46px; padding: 12px 14px; border: 1px solid #D9D9D9; border-radius: 12px; background: #FFFFFF; color: #0A0A0A; box-shadow: 0 4px 12px rgba(0,0,0,.12); font-size: 13px; line-height: 1.4; text-align: left; cursor: pointer; }
#lari-whatsapp .lari-wa-launcher:focus-visible, #lari-whatsapp .lari-wa-close:focus-visible, #lari-whatsapp .lari-wa-send:focus-visible, #lari-whatsapp .lari-wa-notice:focus-visible { outline: 2px solid #8A8A8A; outline-offset: 4px; }
#lari-whatsapp .lari-wa-input:focus-visible, #lari-whatsapp .lari-wa-help a:focus-visible { outline: 2px solid #0A0A0A; outline-offset: 3px; }
.lari-wa-noscript { position: fixed; z-index: 60; right: 25px; bottom: 25px; padding: 14px 18px; background: #0A0A0A; color: #FFFFFF; border: 1px solid #D9D9D9; border-radius: 24px; font: 14px/1.5 Arial, Helvetica, sans-serif; }
@keyframes lari-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(0,0,0,.2); } 70% { box-shadow: 0 0 0 14px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@media (max-width: 560px) { #lari-whatsapp { --lari-wa-right: max(16px, env(safe-area-inset-right)); --lari-wa-bottom: max(16px, env(safe-area-inset-bottom)); } #lari-whatsapp .lari-wa-panel { max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); } }
@media (max-width: 380px) { #lari-whatsapp .lari-wa-header { gap: 8px; padding: 10px; } #lari-whatsapp .lari-wa-logo { width: 92px; } }
@media (prefers-reduced-motion: reduce) { #lari-whatsapp .lari-wa-launcher { animation: none; } }
