/* VFD Assistente Free v1.4.5 — launcher rosso quadrato con angoli arrotondati, cache corretta. */
#vfd-af-root{
 --vfd-af-purple:#692187;--vfd-af-deep:#310b45;--vfd-af-gold:#f4ca62;
 --vfd-af-ink:#2c1834;--vfd-af-soft:#faf7fc;
 --vfd-af-desktop-icon-bottom:18px;--vfd-af-mobile-icon-bottom:16px;--vfd-af-mobile-panel-top:155px;
 font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 box-sizing:border-box;color:var(--vfd-af-ink);font-size:14px;line-height:1.45;
}
#vfd-af-root,#vfd-af-root *{box-sizing:border-box}
#vfd-af-root button,#vfd-af-root input{font-family:inherit;letter-spacing:normal;text-transform:none}
/* Use high specificity + !important on launcher shape: some themes force square buttons. */
#vfd-af-root .vfd-af-launcher{
 position:fixed!important;right:20px!important;bottom:var(--vfd-af-desktop-icon-bottom)!important;
 z-index:2147483000!important;width:60px!important;height:60px!important;
 min-width:60px!important;min-height:60px!important;max-width:60px!important;
 padding:0!important;margin:0!important;border:2px solid #ffd0d0!important;
 border-radius:16px!important;appearance:none!important;
 background:linear-gradient(145deg,#ff6767 0%,#e12626 52%,#a60000 100%)!important;
 box-shadow:0 10px 24px rgba(120,0,0,.28),inset 0 1px 0 #ffffff8c,0 0 0 3px rgba(255,255,255,.12)!important;
 color:#ffffff!important;display:flex!important;align-items:center!important;justify-content:center!important;
 cursor:pointer!important;line-height:1!important;transition:transform .2s ease,box-shadow .2s ease;
 -webkit-tap-highlight-color:transparent;
}
#vfd-af-root .vfd-af-launcher:hover{transform:translateY(-2px) scale(1.035)}
#vfd-af-root .vfd-af-launcher svg{width:31px!important;height:31px!important;display:block!important;flex:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
#vfd-af-root .vfd-af-launcher::before{content:"";position:absolute;inset:5px;border:1px solid #ffffff40;border-radius:12px;pointer-events:none}
#vfd-af-root .vfd-af-dot{position:absolute;right:2px;bottom:3px;background:#26c878;width:13px;height:13px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 2px #b01212;pointer-events:none}
#vfd-af-root.vfd-af-open .vfd-af-launcher{display:none!important}
#vfd-af-root .vfd-af-window[hidden]{display:none!important}
#vfd-af-root .vfd-af-window{
 position:fixed!important;right:20px;bottom:calc(var(--vfd-af-desktop-icon-bottom) + 74px);z-index:2147483001!important;
 width:min(398px,calc(100vw - 24px));height:min(625px,calc(100dvh - 198px));
 max-width:none;max-height:none;min-width:0;min-height:0;
 display:flex!important;flex-direction:column!important;overflow:hidden!important;
 background:#fff!important;border-radius:23px!important;border:1px solid #e9dcec!important;
 box-shadow:0 18px 70px rgba(35,3,50,.32),0 0 0 1px #ffffffcc;
 isolation:isolate;animation:vfd-af-appear .19s ease-out;
}
@keyframes vfd-af-appear{from{transform:translateY(7px);opacity:0}to{transform:translateY(0);opacity:1}}
#vfd-af-root .vfd-af-header{
 display:flex!important;align-items:center;flex-shrink:0;gap:11px;padding:13px 14px;
 min-height:78px;background:linear-gradient(118deg,#371046 0%,#642081 65%,#8a30a5 100%);color:#fff;
}
#vfd-af-root .vfd-af-avatar{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;
 border:1px solid #f9d98a;background:linear-gradient(145deg,#ffffff24,#ffffff04);
 border-radius:50%;box-shadow:inset 0 0 0 2px #ffffff12;color:#f6d77a}
#vfd-af-root .vfd-af-avatar svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8}
#vfd-af-root .vfd-af-title-wrap{flex:1;min-width:0}
#vfd-af-root .vfd-af-heading{font-size:16px;font-weight:800;line-height:1.25;margin:0;color:#fff}
#vfd-af-root .vfd-af-sub{font-size:11px;line-height:1.4;margin-top:4px;color:#f2dbfd;display:flex;align-items:center;gap:6px}
#vfd-af-root .vfd-af-status{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2ee18c;box-shadow:0 0 0 2px #ffffff24}
#vfd-af-root .vfd-af-header-close{margin:0 0 0 auto!important;width:33px!important;height:33px!important;flex:0 0 33px;
 border:1px solid #ffffff35!important;border-radius:50%!important;padding:0!important;
 background:#ffffff20!important;color:white!important;display:flex;align-items:center;justify-content:center;cursor:pointer!important;box-shadow:none!important}
#vfd-af-root .vfd-af-header-close:hover{background:#ffffff35!important}
#vfd-af-root .vfd-af-header-close svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
#vfd-af-root .vfd-af-stream{flex:1 1 auto;min-height:0!important;max-height:none;overflow-y:auto;overscroll-behavior:contain;
 background:linear-gradient(180deg,#fcf9fd 0%,#f8f3fa 100%);padding:16px 13px;display:flex;flex-direction:column;gap:11px;
 scrollbar-color:#c3a5cf transparent;scrollbar-width:thin;scroll-behavior:auto}
#vfd-af-root .vfd-af-message{width:fit-content;border-radius:17px;padding:11px 13px;max-width:91%;line-height:1.48;font-size:13px;
 white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 8px #3a17400c}
#vfd-af-root .vfd-af-bot{background:#fff;align-self:flex-start;border:1px solid #ede3ef;border-bottom-left-radius:5px;color:#2c1834}
#vfd-af-root .vfd-af-user{align-self:flex-end;color:#fff;background:linear-gradient(120deg,#78319a,#5b1979);border-bottom-right-radius:5px}
#vfd-af-root .vfd-af-quick-zone{flex-shrink:0;padding:10px 12px 11px;background:#fff;border-top:1px solid #f0e7f2}
#vfd-af-root .vfd-af-quick-title{font-size:10px;font-weight:800;color:#77567d;letter-spacing:.08em;margin:0 1px 8px}
#vfd-af-root .vfd-af-quick{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0!important;margin:0!important}
#vfd-af-root .vfd-af-quick button{width:100%;min-height:49px;display:flex!important;align-items:center;gap:8px;
 text-align:left!important;cursor:pointer!important;background:#fff!important;
 border:1px solid #e8dbec!important;border-radius:15px!important;
 color:#442152!important;font-weight:750!important;font-size:11.5px!important;line-height:1.25!important;
 padding:7px 8px!important;margin:0!important;box-shadow:0 2px 8px #3b17590b!important;
 transition:background .18s,border-color .18s,transform .18s;-webkit-tap-highlight-color:transparent}
#vfd-af-root .vfd-af-quick button:hover{border-color:#c796d6!important;background:#fcf6fe!important;transform:translateY(-1px)}
#vfd-af-root .vfd-af-quick-icon{flex:0 0 32px;width:32px;height:32px;border-radius:11px;display:flex;align-items:center;justify-content:center;
 color:#652182;background:linear-gradient(135deg,#f5e8fa,#ead1f3)}
#vfd-af-root .vfd-af-quick-icon svg{height:18px;width:18px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#vfd-af-root .vfd-af-quick button:nth-child(2) .vfd-af-quick-icon{color:#9d6912;background:linear-gradient(135deg,#fff6d9,#fbe6a4)}
#vfd-af-root .vfd-af-quick button:nth-child(3) .vfd-af-quick-icon{color:#6a3282;background:linear-gradient(135deg,#f0e7fc,#ded7fa)}
#vfd-af-root .vfd-af-quick button:nth-child(4) .vfd-af-quick-icon{color:#158354;background:linear-gradient(135deg,#e0f8ec,#c7f3dd)}
#vfd-af-root .vfd-af-quick-label{display:block;min-width:0;overflow-wrap:normal;hyphens:auto}
#vfd-af-root .vfd-af-form{display:flex!important;align-items:center;gap:8px;padding:10px 12px;background:#fff;
 border-top:1px solid #f0e7f2;flex-shrink:0;margin:0}
#vfd-af-root .vfd-af-form input{min-width:0!important;min-height:43px!important;flex:1 1 auto;width:100%!important;
 padding:10px 12px!important;border:1px solid #ddd0e2!important;border-radius:13px!important;
 color:#301b35!important;background:#fbf9fc!important;font-size:14px!important;outline:none;line-height:1.3!important;
 box-shadow:none!important;margin:0!important}
#vfd-af-root .vfd-af-form input:focus{border-color:#9c59ba!important;box-shadow:0 0 0 3px #a36bbe25!important}
#vfd-af-root .vfd-af-send{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;display:grid!important;
 place-items:center;padding:0!important;border:0!important;border-radius:13px!important;
 color:#421454!important;background:linear-gradient(135deg,#ffeaab,#e6b548)!important;
 cursor:pointer!important;margin:0!important;box-shadow:0 3px 9px #b58a2633!important}
#vfd-af-root .vfd-af-send svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none}
#vfd-af-root .vfd-af-send:disabled{opacity:.5;cursor:default!important}
#vfd-af-root .vfd-af-caption{flex-shrink:0;color:#96829c;font-size:10px;text-align:center;padding:0px 10px 8px;background:#fff}
#vfd-af-root .vfd-af-product{display:flex;gap:9px;background:white;border:1px solid #e9dced;padding:9px;
 border-radius:13px;max-width:97%;align-items:center;color:inherit;text-decoration:none;box-shadow:0 2px 8px #3a17400b}
#vfd-af-root .vfd-af-product:hover{border-color:#8c46a3}
#vfd-af-root .vfd-af-product img{width:55px;height:55px;object-fit:cover;border-radius:10px;background:#eee}
#vfd-af-root .vfd-af-prod-name{font-size:12px;font-weight:750;line-height:1.3;color:#44135c}
#vfd-af-root .vfd-af-prod-price{font-size:12px;font-weight:750;color:#785217;margin-top:4px}
#vfd-af-root .vfd-af-handoff{padding:11px;background:#fff;border:1px solid #e7dbe9;border-radius:13px;display:flex;flex-direction:column;gap:9px}
#vfd-af-root .vfd-af-wa{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px;
 color:white!important;text-decoration:none!important;text-align:center;padding:11px 13px;border:0;
 border-radius:13px;background:linear-gradient(125deg,#1ebe67,#0b9751);font-size:13px;font-weight:800;
 min-height:46px;box-shadow:0 5px 13px rgba(22,154,88,.17)}
#vfd-af-root .vfd-af-wa svg{width:23px;height:23px;fill:currentColor;flex:none}
#vfd-af-root .vfd-af-wa:hover{background:linear-gradient(125deg,#16ae5d,#087c40)}
#vfd-af-root .vfd-af-contact{background:#592070}
#vfd-af-root .vfd-af-handoff-text{font-size:12px;line-height:1.4;color:#6d5479}
#vfd-af-root button:focus-visible,#vfd-af-root a:focus-visible{outline:3px solid #f4bf48!important;outline-offset:2px}
@media (max-width:600px){
 #vfd-af-root .vfd-af-launcher{
   right:16px!important;bottom:max(var(--vfd-af-mobile-icon-bottom),env(safe-area-inset-bottom,0px))!important;
   width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important
 }
 /* The app promotion strip at the top of the site is sticky.
    Reserve space for it instead of placing the chat behind it. */
 #vfd-af-root .vfd-af-launcher svg{width:27px!important;height:27px!important}
 #vfd-af-root .vfd-af-dot{width:11px;height:11px;right:0;bottom:1px}
 #vfd-af-root .vfd-af-window{
   top:var(--vfd-af-mobile-panel-top)!important;bottom:max(12px,env(safe-area-inset-bottom,0px))!important;
   left:9px!important;right:9px!important;width:auto!important;height:auto!important;
   max-height:none!important;border-radius:20px!important;
 }
 #vfd-af-root .vfd-af-header{min-height:72px;padding:11px 13px}
 #vfd-af-root .vfd-af-avatar{width:41px;height:41px;flex-basis:41px}
 #vfd-af-root .vfd-af-quick-zone{padding:9px 10px 10px}
 #vfd-af-root .vfd-af-stream{padding:12px 11px}
}
@media (max-width:600px) and (max-height:570px){
 #vfd-af-root .vfd-af-window{top:min(var(--vfd-af-mobile-panel-top),calc(100dvh - 330px))!important;bottom:7px!important}
 #vfd-af-root .vfd-af-header{min-height:61px;padding:8px 11px}
 #vfd-af-root .vfd-af-quick-zone{padding:6px 9px 8px}
 #vfd-af-root .vfd-af-quick button{min-height:40px;padding:4px 6px!important}
 #vfd-af-root .vfd-af-quick-icon{width:27px;height:27px;flex-basis:27px}
 #vfd-af-root .vfd-af-form{padding:7px 9px}
 #vfd-af-root .vfd-af-caption{display:none}
}
@media (prefers-reduced-motion:reduce){
 #vfd-af-root .vfd-af-window{animation:none}
 #vfd-af-root .vfd-af-launcher,#vfd-af-root .vfd-af-quick button{transition:none}
 #vfd-af-root .vfd-af-stream{scroll-behavior:auto}
}

/* v1.3.0: links inside approved FAQ responses; retains the existing design. */
#vfd-af-root .vfd-af-message-link{color:#6b36b2;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;font-weight:650}#vfd-af-root .vfd-af-user .vfd-af-message-link{color:#fff}
