/* Fast Chatbot storefront widget — build 2.1.2
   Ported verbatim from the PrestaShop module's inline layout block so the
   widget is visually identical to fastchatbot v3.25.9.

   The !important on nearly every declaration is deliberate and came from the
   original: this panel is injected into whatever theme the shop runs, and a
   storefront rule for `button`, `input`, `label` or `small` would otherwise
   reshape it. Two shift variables get defaults here because PrestaShop set
   them inline on the root element and Fast Commerce Shop sets them from JS. */
#fastchat-root.fastchat{--fastchat-shift-left:0px;--fastchat-shift-right:0px;--fastchat-shift-up:0px;--fastchat-shift-down:0px}
#fastchat-root.fastchat{--fastchat-base-bottom:22px;--fastchat-base-side:22px;position:fixed!important;bottom:calc(var(--fastchat-base-bottom) + var(--fastchat-shift-up) - var(--fastchat-shift-down))!important;z-index:2147483000!important;display:block!important;visibility:visible!important;opacity:1!important;width:auto!important;height:auto!important;font-family:Arial,Helvetica,sans-serif!important;pointer-events:auto!important}
#fastchat-root.fastchat--right{right:calc(var(--fastchat-base-side) + var(--fastchat-shift-left) - var(--fastchat-shift-right))!important;left:auto!important}
#fastchat-root.fastchat--left{left:calc(var(--fastchat-base-side) + var(--fastchat-shift-right) - var(--fastchat-shift-left))!important;right:auto!important}
#fastchat-root *{box-sizing:border-box!important}
#fastchat-root button,#fastchat-root input,#fastchat-root textarea,#fastchat-root select{font:inherit!important}
#fastchat-root .fastchat__launcher{display:flex!important;align-items:center!important;justify-content:center!important;width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:var(--fastchat-primary)!important;color:#fff!important;font-size:25px!important;line-height:1!important;box-shadow:0 12px 32px rgba(15,23,42,.28)!important;cursor:pointer!important;position:relative!important;z-index:2!important;transition:transform .18s ease,box-shadow .18s ease!important}
#fastchat-root .fastchat__launcher:hover{transform:translateY(-2px)!important;box-shadow:0 16px 38px rgba(15,23,42,.34)!important}
#fastchat-root .fastchat__panel{position:absolute!important;bottom:74px!important;width:min(378px,calc(100vw - 24px))!important;height:min(620px,calc(100vh - 110px))!important;min-height:480px!important;background:#f6f8fb!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 24px 70px rgba(15,23,42,.30)!important;border:1px solid rgba(15,23,42,.08)!important;z-index:1!important;color:#172033!important}
#fastchat-root .fastchat__panel[hidden]{display:none!important}
#fastchat-root.fastchat--right .fastchat__panel{right:0!important;left:auto!important}
#fastchat-root.fastchat--left .fastchat__panel{left:0!important;right:auto!important}
#fastchat-root .fastchat__header{height:104px!important;padding:18px 18px 16px!important;background:var(--fastchat-primary)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
#fastchat-root .fastchat__identity{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
#fastchat-root .fastchat__avatar{width:44px!important;height:44px!important;border-radius:50%!important;background:#fff!important;color:var(--fastchat-primary)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:22px!important;box-shadow:0 0 0 3px rgba(255,255,255,.22)!important;flex:0 0 44px!important}
#fastchat-root .fastchat__identity-text{min-width:0!important}
#fastchat-root .fastchat__identity-text strong{display:block!important;color:#fff!important;font-size:17px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#fastchat-root .fastchat__identity-text small{display:flex!important;align-items:center!important;gap:6px!important;margin-top:4px!important;color:rgba(255,255,255,.86)!important;font-size:12px!important;line-height:1.2!important}
#fastchat-root .fastchat__status-dot{width:8px!important;height:8px!important;border-radius:50%!important;background:#52e28b!important;box-shadow:0 0 0 2px rgba(82,226,139,.18)!important;flex:0 0 8px!important}
#fastchat-root .fastchat__status-dot--off{background:#f5a524!important;box-shadow:0 0 0 2px rgba(245,165,36,.18)!important}
#fastchat-root .fastchat__header-actions{display:flex!important;align-items:center!important;gap:6px!important}
#fastchat-root .fastchat__header-actions button{width:34px!important;height:34px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;font-size:20px!important;line-height:1!important;padding:0!important}
#fastchat-root .fastchat__header-actions button:hover{background:rgba(255,255,255,.20)!important}
#fastchat-root .fastchat__prechat,#fastchat-root .fastchat__chat{height:calc(100% - 104px)!important}
#fastchat-root .fastchat__prechat[hidden],#fastchat-root .fastchat__chat[hidden]{display:none!important}
#fastchat-root .fastchat__prechat{padding:16px!important;overflow-y:auto!important;background:#f6f8fb!important}
#fastchat-root .fastchat__intro{margin:0 0 14px!important;padding:14px 15px!important;background:#fff!important;border:1px solid #e1e7ef!important;border-radius:14px!important;color:#4b5a70!important;font-size:14px!important;line-height:1.5!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}
#fastchat-root .fastchat__prechat-card{background:#fff!important;border:1px solid #e1e7ef!important;border-radius:16px!important;padding:16px!important;box-shadow:0 4px 14px rgba(15,23,42,.05)!important}
#fastchat-root .fastchat__prechat-title{margin:0 0 6px!important;color:#172033!important;font-size:16px!important;font-weight:800!important}
#fastchat-root .fastchat__prechat-note{margin:0 0 15px!important;color:#66758b!important;font-size:12px!important;line-height:1.45!important}
#fastchat-root .fastchat__prechat-form{display:flex!important;flex-direction:column!important;gap:12px!important;margin:0!important;padding:0!important;width:100%!important}
#fastchat-root .fastchat__prechat-form label{display:block!important;margin:0!important;padding:0!important;width:100%!important;color:#425269!important;font-size:12px!important;font-weight:700!important;line-height:1.35!important}
#fastchat-root .fastchat__prechat-form label small{font-size:11px!important;font-weight:400!important;color:#8290a3!important}
#fastchat-root .fastchat__prechat-form input{display:block!important;width:100%!important;height:44px!important;margin:6px 0 0!important;padding:10px 12px!important;border:1px solid #cfd8e5!important;border-radius:11px!important;background:#fff!important;color:#172033!important;font-size:14px!important;line-height:22px!important;outline:none!important;box-shadow:none!important;appearance:none!important}
#fastchat-root .fastchat__prechat-form input:focus{border-color:var(--fastchat-primary)!important;box-shadow:0 0 0 3px rgba(25,94,174,.12)!important}
#fastchat-root .fastchat__prechat-form button{display:block!important;width:100%!important;min-height:46px!important;margin:4px 0 0!important;padding:11px 16px!important;border:0!important;border-radius:23px!important;background:var(--fastchat-primary)!important;color:#fff!important;font-size:14px!important;font-weight:800!important;line-height:22px!important;text-align:center!important;cursor:pointer!important;box-shadow:0 8px 20px rgba(15,23,42,.15)!important}
#fastchat-root .fastchat__prechat-form button:hover{filter:brightness(.95)!important}
#fastchat-root .fastchat__prechat-error{display:block!important;margin:0!important;padding:10px 12px!important;border:1px solid #f3c969!important;border-radius:10px!important;background:#fff7df!important;color:#7a5200!important;font-size:12px!important;line-height:1.4!important}
#fastchat-root .fastchat__prechat-error[hidden]{display:none!important}
#fastchat-root .fastchat__chat{display:flex!important;flex-direction:column!important;background:#fff!important;min-height:0!important}
#fastchat-root .fastchat__messages{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:18px 14px 16px!important;background:#fff!important;scroll-behavior:smooth!important}
#fastchat-root .fastchat__message{display:flex!important;flex-direction:column!important;max-width:82%!important;margin:0 0 12px!important;clear:both!important}
#fastchat-root .fastchat__message--visitor{margin-left:auto!important;align-items:flex-end!important}
#fastchat-root .fastchat__message--bot,#fastchat-root .fastchat__message--operator,#fastchat-root .fastchat__message--system{margin-right:auto!important;align-items:flex-start!important}
#fastchat-root .fastchat__message-text{padding:11px 13px!important;border-radius:18px!important;font-size:14px!important;line-height:1.45!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
#fastchat-root .fastchat__message--visitor .fastchat__message-text{background:var(--fastchat-primary)!important;color:#fff!important;border-bottom-right-radius:6px!important}
#fastchat-root .fastchat__message--bot .fastchat__message-text,#fastchat-root .fastchat__message--operator .fastchat__message-text{background:#f0f3f7!important;color:#172033!important;border-bottom-left-radius:6px!important}
#fastchat-root .fastchat__message--system .fastchat__message-text{background:#fff7df!important;color:#745900!important;border:1px solid #f5dda0!important;border-radius:12px!important;font-size:12px!important}
#fastchat-root .fastchat__link{color:inherit!important;text-decoration:underline!important;font-weight:700!important}
#fastchat-root .fastchat__quick-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important;margin-top:10px!important}
#fastchat-root .fastchat__quick-actions button{display:block!important;width:100%!important;min-height:40px!important;margin:0!important;padding:9px 12px!important;border:1px solid var(--fastchat-primary)!important;border-radius:20px!important;background:#fff!important;color:var(--fastchat-primary)!important;font-size:13px!important;font-weight:800!important;text-align:center!important;cursor:pointer!important;box-shadow:none!important}
#fastchat-root .fastchat__quick-actions button:hover{background:var(--fastchat-primary)!important;color:#fff!important}
#fastchat-root .fastchat__card{display:flex!important;gap:10px!important;width:100%!important;margin-top:9px!important;padding:10px!important;background:#fff!important;border:1px solid #e1e7ef!important;border-radius:13px!important;box-shadow:0 3px 10px rgba(15,23,42,.05)!important}
#fastchat-root .fastchat__card img{width:58px!important;height:58px!important;object-fit:cover!important;border-radius:9px!important;flex:0 0 58px!important}
#fastchat-root .fastchat__card-body{min-width:0!important;flex:1!important}
#fastchat-root .fastchat__card-body strong{display:block!important;font-size:13px!important;line-height:1.35!important;color:#172033!important}
#fastchat-root .fastchat__card-body p{margin:5px 0!important;font-size:12px!important;line-height:1.35!important;color:#66758b!important}
#fastchat-root .fastchat__price{font-weight:800!important;font-size:13px!important;color:#172033!important;margin-top:5px!important}
#fastchat-root .fastchat__card-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin-top:7px!important}
#fastchat-root .fastchat__card-actions a,#fastchat-root .fastchat__card-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px 9px!important;border-radius:8px!important;border:1px solid var(--fastchat-primary)!important;color:var(--fastchat-primary)!important;text-decoration:none!important;font-size:11px!important;font-weight:700!important}
#fastchat-root .fastchat__card-actions a.fastchat__primary-action{background:var(--fastchat-primary)!important;color:#fff!important}
#fastchat-root .fastchat__select-product{background:#fff!important;color:var(--fastchat-primary)!important;cursor:pointer!important}
#fastchat-root .fastchat__composer{flex:0 0 auto!important;padding:10px 12px 12px!important;background:#fff!important;border-top:1px solid #edf0f4!important}
#fastchat-root .fastchat__form{display:flex!important;align-items:flex-end!important;gap:8px!important;margin:0!important;padding:6px 7px 6px 13px!important;background:#f1f4f8!important;border-radius:24px!important}
#fastchat-root .fastchat__form textarea{flex:1!important;min-width:0!important;max-height:96px!important;min-height:32px!important;margin:0!important;padding:7px 0!important;border:0!important;background:transparent!important;color:#172033!important;font-size:13px!important;line-height:18px!important;resize:none!important;outline:none!important;box-shadow:none!important}
#fastchat-root .fastchat__form textarea::placeholder{color:#91a0b3!important}
#fastchat-root .fastchat__form button{width:38px!important;height:38px!important;min-width:38px!important;border:0!important;border-radius:50%!important;background:var(--fastchat-primary)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;cursor:pointer!important;font-size:0!important}
#fastchat-root .fastchat__form button:before{content:'➤';font-size:18px!important;line-height:1!important;transform:translateX(1px)!important}
#fastchat-root .fastchat__powered{text-align:center!important;margin-top:8px!important;color:#c0c7d2!important;font-size:10px!important}
#fastchat-root .fastchat__rating{margin:10px 12px 12px!important;padding:12px!important;border:1px solid #e1e7ef!important;border-radius:13px!important;background:#fff!important;display:flex!important;flex-direction:column!important;gap:8px!important}
#fastchat-root .fastchat__rating[hidden]{display:none!important}
#fastchat-root .fastchat__rating select,#fastchat-root .fastchat__rating textarea{width:100%!important;border:1px solid #cfd8e5!important;border-radius:9px!important;padding:9px!important;background:#fff!important}
#fastchat-root .fastchat__rating button{border:0!important;border-radius:18px!important;background:var(--fastchat-primary)!important;color:#fff!important;padding:9px 12px!important;font-weight:700!important;cursor:pointer!important}
@media(max-width:520px){#fastchat-root.fastchat{--fastchat-base-bottom:14px;--fastchat-base-side:12px}#fastchat-root .fastchat__panel{position:fixed!important;left:8px!important;right:8px!important;bottom:82px!important;width:auto!important;height:calc(100vh - 104px)!important;max-height:none!important;min-height:0!important}#fastchat-root .fastchat__header{height:96px!important;padding:15px!important}#fastchat-root .fastchat__prechat,#fastchat-root .fastchat__chat{height:calc(100% - 96px)!important}}
#fastchat-root .fastchat__typing .fastchat__message-text{display:flex!important;gap:4px!important;align-items:center!important;padding:12px 14px!important}
#fastchat-root .fastchat__dot{width:7px!important;height:7px!important;border-radius:50%!important;background:#94a3b8!important;display:inline-block!important;animation:fastchatBlink 1.2s infinite ease-in-out!important}
#fastchat-root .fastchat__dot:nth-child(2){animation-delay:.2s!important}
#fastchat-root .fastchat__dot:nth-child(3){animation-delay:.4s!important}
@keyframes fastchatBlink{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
#fastchat-root .fastchat__launcher--alert{animation:fastchatPulse 1.1s infinite!important}
#fastchat-root .fastchat__launcher[data-unread]::after{content:attr(data-unread);position:absolute!important;top:-4px!important;right:-4px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:10px!important;background:#e11d48!important;color:#fff!important;font-size:12px!important;font-weight:700!important;line-height:20px!important;text-align:center!important;box-shadow:0 2px 6px rgba(0,0,0,.3)!important}
@keyframes fastchatPulse{0%,100%{box-shadow:0 12px 32px rgba(15,23,42,.28)}50%{box-shadow:0 0 0 8px rgba(225,29,72,.25),0 12px 32px rgba(15,23,42,.28)}}
/* 3.11.2 consent control. Lives HERE, in the inline block, because
   "#fastchat-root .fastchat__prechat-form input" above forces
   appearance:none on every input in this form (which blanked the native
   tick) and "... .fastchat__prechat-form label" forces display:block
   (which pushed the text under the box). Both outrank a plain
   .fastchat__consent rule in the external stylesheet, so the control is
   drawn here instead of relying on native checkbox rendering. */
#fastchat-root .fastchat__endbar{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin:0!important;padding:0 12px 6px!important}
#fastchat-root .fastchat__end{border:0!important;background:none!important;padding:2px 6px!important;margin:0!important;color:#8290a3!important;font-size:11.5px!important;line-height:1.2!important;text-decoration:underline!important;cursor:pointer!important}
#fastchat-root .fastchat__end:hover{color:#d93025!important}
#fastchat-root .fastchat__restart{display:block!important;width:calc(100% - 24px)!important;margin:0 12px 12px!important;padding:10px 14px!important;border:1px solid var(--fastchat-primary)!important;border-radius:20px!important;background:#fff!important;color:var(--fastchat-primary)!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important}
#fastchat-root .fastchat__restart[hidden]{display:none!important}
#fastchat-root .fastchat__prechat-form .fastchat__consent-wrap{display:block!important;width:100%!important;margin:0!important;padding:0!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent{position:relative!important;display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;margin:0!important;padding:11px 12px!important;border:1px solid #cfd8e5!important;border-radius:11px!important;background:#f8fafc!important;color:#425269!important;font-size:12.5px!important;font-weight:400!important;line-height:1.45!important;cursor:pointer!important;transition:border-color .15s ease,background .15s ease!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent:hover{background:#eef3f9!important;border-color:#b9c6d8!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent input[type="checkbox"]{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
#fastchat-root .fastchat__prechat-form .fastchat__consent-mark{position:relative!important;display:block!important;flex:0 0 22px!important;width:22px!important;height:22px!important;margin:0!important;padding:0!important;border:2px solid #b9c6d8!important;border-radius:6px!important;background:#fff!important;transition:background .15s ease,border-color .15s ease!important}
#fastchat-root .fastchat__prechat-form .fastchat__consent-mark::after{content:""!important;position:absolute!important;left:6px!important;top:2px!important;width:5px!important;height:10px!important;border:solid #fff!important;border-width:0 2.5px 2.5px 0!important;transform:rotate(45deg) scale(0)!important;transition:transform .15s ease!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent input[type="checkbox"]:checked ~ .fastchat__consent-mark{background:var(--fastchat-primary)!important;border-color:var(--fastchat-primary)!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent input[type="checkbox"]:checked ~ .fastchat__consent-mark::after{transform:rotate(45deg) scale(1)!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent input[type="checkbox"]:focus-visible ~ .fastchat__consent-mark{box-shadow:0 0 0 3px rgba(25,94,174,.28)!important}
#fastchat-root .fastchat__prechat-form .fastchat__consent-text{flex:1 1 auto!important;min-width:0!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent.fastchat__consent--error{border-color:#d93025!important;background:rgba(217,48,37,.06)!important}
#fastchat-root .fastchat__prechat-form label.fastchat__consent.fastchat__consent--error .fastchat__consent-mark{border-color:#d93025!important}
#fastchat-root .fastchat__prechat-form .fastchat__consent-link{display:inline-block!important;margin:7px 0 0 32px!important;padding:0!important;color:var(--fastchat-primary)!important;font-size:12px!important;font-weight:700!important;text-decoration:underline!important}

/* An author `display` rule outranks the browser's [hidden]{display:none}, and
   nearly every rule above carries !important. The ported block only guards the
   elements PrestaShop's own script hid; this script hides a different set, so
   those guards are stated here. Last in the file on purpose: these tie with the
   rules above on specificity, and a tie is broken by source order. */
#fastchat-root [hidden]{display:none!important}
#fastchat-root .fastchat__composer[hidden],
#fastchat-root .fastchat__form[hidden],
#fastchat-root .fastchat__endbar[hidden],
#fastchat-root .fastchat__end[hidden],
#fastchat-root .fastchat__launcher[hidden],
#fastchat-root .fastchat__quick-actions[hidden]{display:none!important}
