.vdwfa{--vdwfa-color:#2e5af2;position:fixed;right:20px;bottom:20px;z-index:99999;font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#1d1d2b}
.vdwfa *{box-sizing:border-box}
.vdwfa-launch{width:58px;height:58px;border-radius:50%;border:0;background:var(--vdwfa-color);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.25);margin-left:auto;transition:transform .15s}
.vdwfa-launch:hover{transform:scale(1.06)}
.vdwfa-launch:focus-visible,.vdwfa-send:focus-visible,.vdwfa-close:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px var(--vdwfa-color)}
.vdwfa-panel{position:absolute;right:0;bottom:72px;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 110px);background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.vdwfa-panel[hidden]{display:none}
.vdwfa-head{background:var(--vdwfa-color);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}
.vdwfa-title{font-weight:600;font-size:16px}
.vdwfa-close{background:transparent;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.vdwfa-log{flex:1;overflow-y:auto;padding:14px;background:#f5f6f8;display:flex;flex-direction:column;gap:10px}
.vdwfa-msg{max-width:85%;padding:9px 12px;border-radius:14px;word-wrap:break-word}
.vdwfa-bot{background:#fff;border:1px solid #e3e5ea;align-self:flex-start;border-bottom-left-radius:4px}
.vdwfa-bot a{color:var(--vdwfa-color);font-weight:600}
.vdwfa-user{background:var(--vdwfa-color);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.vdwfa-results{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.vdwfa-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e3e5ea;border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;transition:box-shadow .15s}
.vdwfa-card:hover,.vdwfa-card:focus-visible{box-shadow:0 4px 14px rgba(0,0,0,.15)}
.vdwfa-media{aspect-ratio:16/9;background:#dfe2e8;overflow:hidden}
.vdwfa-media video,.vdwfa-media img{width:100%;height:100%;object-fit:cover;display:block}
.vdwfa-cbody{padding:6px 8px 8px;display:flex;flex-direction:column;gap:2px}
.vdwfa-cname{font-size:12.5px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vdwfa-cprice{font-size:12px;color:#5b6070}
.vdwfa-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e3e5ea;background:#fff}
.vdwfa-input{flex:1;border:1px solid #cfd3db;border-radius:22px;padding:10px 14px;font:inherit;min-width:0}
.vdwfa-input:focus{outline:none;border-color:var(--vdwfa-color);box-shadow:0 0 0 3px rgba(46,90,242,.15)}
.vdwfa-send{width:42px;height:42px;border-radius:50%;border:0;background:var(--vdwfa-color);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.vdwfa-typing span{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:#9aa0ad;animation:vdwfa-b 1s infinite}
.vdwfa-typing span:nth-child(2){animation-delay:.15s}.vdwfa-typing span:nth-child(3){animation-delay:.3s}
@keyframes vdwfa-b{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (max-width:480px){.vdwfa{right:12px;bottom:12px}.vdwfa-panel{width:calc(100vw - 24px);height:calc(100vh - 100px)}}
@media (prefers-reduced-motion:reduce){.vdwfa-launch,.vdwfa-card{transition:none}.vdwfa-typing span{animation:none}}

/* Bescherming tegen thema-stijlen (Flatsome e.d. en donkere modus) */
.vdwfa .vdwfa-form input.vdwfa-input,
.vdwfa .vdwfa-form input.vdwfa-input:focus,
.vdwfa .vdwfa-form input.vdwfa-input:hover{
  background:#ffffff !important;color:#1d1d2b !important;-webkit-text-fill-color:#1d1d2b !important;
  border:1px solid #b9bec9 !important;border-radius:22px !important;box-shadow:none !important;
  height:44px !important;min-height:44px !important;margin:0 !important;padding:0 16px !important;
  font-size:15px !important;line-height:44px !important;opacity:1 !important;color-scheme:light;
}
.vdwfa .vdwfa-form input.vdwfa-input:focus{border-color:var(--vdwfa-color) !important;box-shadow:0 0 0 3px rgba(46,90,242,.18) !important}
.vdwfa .vdwfa-form input.vdwfa-input::placeholder{color:#5f6472 !important;-webkit-text-fill-color:#5f6472 !important;opacity:1 !important}
.vdwfa .vdwfa-form{align-items:center !important;background:#ffffff !important;margin:0 !important}
.vdwfa button.vdwfa-send,.vdwfa button.vdwfa-launch,.vdwfa button.vdwfa-close{
  margin:0 !important;padding:0 !important;min-height:0 !important;line-height:1 !important;
  text-transform:none !important;letter-spacing:0 !important;box-sizing:border-box !important;
}
.vdwfa button.vdwfa-send{width:44px !important;height:44px !important;min-width:44px !important;border-radius:50% !important;background:var(--vdwfa-color) !important;color:#fff !important;display:flex !important;align-items:center !important;justify-content:center !important}
.vdwfa button.vdwfa-launch{width:58px !important;height:58px !important;border-radius:50% !important;background:var(--vdwfa-color) !important;color:#fff !important;display:flex !important;align-items:center !important;justify-content:center !important}
.vdwfa button.vdwfa-close{background:transparent !important;color:#fff !important;width:auto !important;height:auto !important;font-size:26px !important}
.vdwfa button.vdwfa-send svg{width:20px !important;height:20px !important;max-width:none !important;display:block !important;fill:currentColor !important}
.vdwfa button.vdwfa-launch svg{width:28px !important;height:28px !important;max-width:none !important;display:block !important;fill:currentColor !important}
.vdwfa button svg path{fill:currentColor !important}
