/* VCWA2 - CSS encapsulado: no altera el tema Astra ni Elementor. */
#vcwa2-root {
  --vcwa2-ivory:#FAF8F3;
  --vcwa2-cream:#F4EFE5;
  --vcwa2-cream-deep:#EEE5D6;
  --vcwa2-gold:#977332;
  --vcwa2-text:#382F27;
  --vcwa2-muted:#70675B;
  --vcwa2-wa:#25D366;
  font-family:"Jost","Avenir Next","Segoe UI",system-ui,sans-serif;
  color:var(--vcwa2-text);
  font-weight:400;
  line-height:1.5;
}
#vcwa2-root, #vcwa2-root * {box-sizing:border-box}
#vcwa2-root [hidden] {display:none!important}
#vcwa2-root button, #vcwa2-root a{font-family:inherit;text-decoration:none!important}
#vcwa2-root button:focus-visible,#vcwa2-root a:focus-visible{outline:2px solid #977332!important;outline-offset:3px!important}
#vcwa2-root .vcwa2-fab{
  position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));
  z-index:99992;display:grid;place-items:center;width:60px;height:60px;min-width:60px;min-height:60px;
  padding:0;border:0;border-radius:50%;background:var(--vcwa2-wa);color:#fff;cursor:pointer;
  box-shadow:0 10px 30px -6px rgba(37,211,102,.6),0 0 0 6px rgba(37,211,102,.15);
  transition:transform .2s ease,box-shadow .2s ease;
}
#vcwa2-root .vcwa2-fab:hover{background:var(--vcwa2-wa);transform:translateY(-2px);box-shadow:0 14px 34px -6px rgba(37,211,102,.57),0 0 0 6px rgba(37,211,102,.14)}
#vcwa2-root .vcwa2-fab svg{display:block;width:31px;height:31px;fill:#fff}
#vcwa2-root .vcwa2-ping{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:var(--vcwa2-gold);border:2px solid var(--vcwa2-ivory)}
#vcwa2-root .vcwa2-hint{
  position:fixed;right:max(88px,calc(env(safe-area-inset-right,0px) + 72px));
  bottom:max(28px,calc(env(safe-area-inset-bottom,0px) + 12px));
  z-index:99991;display:flex;align-items:center;gap:6px;max-width:235px;
  padding:10px 13px;background:#fff;color:var(--vcwa2-text);
  font-size:.85rem;font-weight:500;line-height:1.4;border-radius:12px 12px 2px 12px;
  box-shadow:0 6px 24px rgba(89,65,30,.13)
}
#vcwa2-root .vcwa2-hint-close{flex:none;display:grid;place-items:center;align-self:flex-start;width:22px;height:22px;min-width:22px;min-height:22px;padding:0;background:transparent;border:0;color:var(--vcwa2-text);font-size:19px;line-height:1;cursor:pointer}
#vcwa2-root .vcwa2-panel{
  position:fixed;right:max(16px,env(safe-area-inset-right,0px));
  bottom:max(90px,calc(env(safe-area-inset-bottom,0px) + 74px));
  z-index:99993;width:min(360px,calc(100vw - 32px));max-height:min(560px,calc(100dvh - 110px));
  display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(183,145,73,.45);
  border-radius:20px;background:var(--vcwa2-ivory);box-shadow:0 20px 60px rgba(89,65,30,.20);
  font-size:14px;line-height:1.5;text-align:left;
  animation:vcwa2-appear .2s ease-out both;
}
#vcwa2-root .vcwa2-head{display:flex;gap:12px;align-items:center;padding:16px 18px;background:var(--vcwa2-cream);border-bottom:1px solid rgba(160,139,103,.18);min-height:74px}
#vcwa2-root .vcwa2-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;background:linear-gradient(135deg,var(--vcwa2-gold),#94702e);border-radius:50%;color:#fff;font-weight:600;font-size:.9rem}
#vcwa2-root .vcwa2-head-copy{display:grid;min-width:0;line-height:1.4;gap:1px}
#vcwa2-root .vcwa2-head-copy strong{display:block;color:#30271f;font-size:1rem;font-weight:600}
#vcwa2-root .vcwa2-head-copy span{display:block;color:var(--vcwa2-muted);font-size:.78rem}
#vcwa2-root .vcwa2-head-copy span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#3ddc97;margin-right:6px}
#vcwa2-root .vcwa2-close{display:grid;place-items:center;margin-left:auto;padding:0;width:27px;height:29px;min-width:27px;border:0;background:transparent;color:var(--vcwa2-muted);font-size:25px;line-height:1;cursor:pointer}
#vcwa2-root .vcwa2-body{display:flex;flex:1 1 auto;flex-direction:column;gap:10px;min-height:94px;overflow-y:auto;overscroll-behavior:contain;padding:16px;scrollbar-width:thin}
#vcwa2-root .vcwa2-msg{max-width:88%;padding:10px 14px;border-radius:14px;font-size:.9rem;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
#vcwa2-root .vcwa2-bot{align-self:flex-start;background:var(--vcwa2-cream-deep);color:var(--vcwa2-text);border-bottom-left-radius:4px}
#vcwa2-root .vcwa2-me{align-self:flex-end;background:#94702e;color:#fff;border-bottom-right-radius:4px}
#vcwa2-root .vcwa2-quick{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px;align-items:center}
#vcwa2-root .vcwa2-quick button{width:auto;min-height:36px;padding:8px 12px;border:1px solid var(--vcwa2-gold);background:transparent;color:var(--vcwa2-gold);border-radius:999px;line-height:1.3;font-size:.8rem;font-weight:500;cursor:pointer;box-shadow:none;text-transform:none}
#vcwa2-root .vcwa2-quick button:hover,#vcwa2-root .vcwa2-quick button:focus-visible{background:rgba(183,145,73,.12);border-color:var(--vcwa2-gold);color:#765923}
#vcwa2-root .vcwa2-foot{display:grid;gap:8px;padding:12px 16px 16px;border-top:1px solid rgba(160,139,103,.18)}
#vcwa2-root .vcwa2-continue{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:42px;padding:10px 14px;border:0;border-radius:999px;background:var(--vcwa2-wa);color:#fff!important;font-size:.92rem;font-weight:600;line-height:1.15;box-shadow:none;transition:background .2s ease}
#vcwa2-root .vcwa2-continue:hover{background:#1ebd59;color:#fff!important}
#vcwa2-root .vcwa2-continue svg{display:block;width:18px;height:18px;flex:none;fill:#fff}
#vcwa2-root .vcwa2-continue.vcwa2-disabled{background:#aab1a9;cursor:not-allowed;opacity:.75}
#vcwa2-root .vcwa2-foot small{color:var(--vcwa2-muted);font-size:.73rem;text-align:center;line-height:1.4}
@keyframes vcwa2-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){
  #vcwa2-root .vcwa2-hint{display:none}
  #vcwa2-root .vcwa2-fab{right:16px;bottom:max(16px,env(safe-area-inset-bottom,0px))}
  #vcwa2-root .vcwa2-panel{right:12px;bottom:max(88px,calc(env(safe-area-inset-bottom,0px) + 73px));width:calc(100vw - 24px);max-height:calc(100dvh - 115px)}
}
@media(prefers-reduced-motion:reduce){#vcwa2-root .vcwa2-panel{animation:none}#vcwa2-root .vcwa2-fab{transition:none}}
