/* Softhands – "Ask Softhands" chat assistant (v1.0.3) */
#sha-agent{position:fixed;left:20px;bottom:20px;z-index:1050;font-family:var(--font,inherit);transition:bottom .25s ease}
body.sh-bar-on #sha-agent{bottom:96px}
#sha-agent.is-hidden .sha-launch{opacity:0;pointer-events:none}
#sha-agent .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sha-launch{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 22px 0 18px;border:0;border-radius:980px;background:linear-gradient(135deg,#0071e3,#5b3fd1);color:#fff;font:inherit;font-size:16px;font-weight:600;box-shadow:0 14px 30px -12px rgba(0,60,160,.65);cursor:pointer;transition:transform .15s,box-shadow .15s,opacity .2s}
.sha-launch:hover{transform:translateY(-2px);box-shadow:0 18px 34px -12px rgba(0,60,160,.75)}
.sha-launch:focus-visible{outline:3px solid #2997ff;outline-offset:3px}
.sha-launch svg{width:22px;height:22px}
body.sha-open .sha-launch{display:none}

.sha-panel{position:absolute;left:0;bottom:0;display:flex;flex-direction:column;width:410px;height:min(620px,calc(100vh - 40px));background:#fff;border-radius:22px;box-shadow:0 30px 70px -20px rgba(0,0,0,.45),0 0 0 1px rgba(0,0,0,.06);overflow:hidden}
.sha-panel[hidden]{display:none}
.sha-head{display:flex;align-items:center;gap:10px;padding:14px 14px 14px 16px;background:linear-gradient(135deg,#0071e3,#5b3fd1);color:#fff}
.sha-av{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.18);font-weight:700;font-size:16px}
.sha-head h2{margin:0;color:#fff;font-size:16px;font-weight:700;letter-spacing:-.01em}
.sha-head p{margin:2px 0 0;color:rgba(255,255,255,.85);font-size:12.5px}
.sha-acts{margin-left:auto;display:flex;gap:6px;flex:none}
.sha-x,.sha-new{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.45);border-radius:980px;background:rgba(255,255,255,.16);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.sha-x{background:#fff;color:#1d1d1f;border-color:#fff}
.sha-x:hover{background:#f0f0f5}.sha-new:hover{background:rgba(255,255,255,.3)}
.sha-x:focus-visible,.sha-new:focus-visible{outline:3px solid #fff;outline-offset:2px}
.sha-x svg,.sha-new svg{width:16px;height:16px;flex:none}
.sha-new span{display:none}
.sha-new{width:36px;padding:0}
.sha-head>div:nth-child(2){min-width:0}
.sha-head h2,.sha-head p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* quick options: always visible above the message box */
.sha-quick{display:flex;gap:8px;padding:10px 12px 0;background:#fff;border-top:1px solid #e8e8ed;overflow-x:auto;scrollbar-width:none}
.sha-quick::-webkit-scrollbar{display:none}
.sha-quick[hidden]{display:none}
.sha-quick button{flex:none;height:34px;padding:0 13px;border:1px solid #d2d2d7;border-radius:980px;background:#fff;color:#1d1d1f;font:inherit;font-size:13.5px;font-weight:500;white-space:nowrap;cursor:pointer}
.sha-quick button:hover{border-color:#0071e3;color:#0066cc}
.sha-quick+.sha-form{border-top:0}

.sha-log{flex:1;overflow-y:auto;padding:16px 14px 8px;background:#f5f5f7;overscroll-behavior:contain}
.sha-msg{max-width:88%;margin:0 0 10px;padding:10px 13px;border-radius:16px;font-size:15px;line-height:1.45;word-wrap:break-word}
.sha-msg p{margin:0 0 6px}.sha-msg p:last-child{margin:0}
.sha-msg ul{margin:4px 0 6px;padding-left:18px}.sha-msg li{margin:0 0 3px}
.sha-msg a{color:#0066cc;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.sha-assistant{background:#fff;color:#1d1d1f;border-bottom-left-radius:6px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.sha-user{margin-left:auto;background:#0071e3;color:#fff;border-bottom-right-radius:6px}
.sha-typing{display:inline-flex;gap:5px;padding:14px 16px}
.sha-typing span{width:7px;height:7px;border-radius:50%;background:#86868b;animation:sha-dot 1s infinite ease-in-out}
.sha-typing span:nth-child(2){animation-delay:.15s}.sha-typing span:nth-child(3){animation-delay:.3s}
@keyframes sha-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

.sha-cards{display:grid;gap:8px;margin-top:10px}
.sha-card{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e8e8ed;border-radius:12px;background:#fff;color:#1d1d1f!important;text-decoration:none!important}
.sha-card:hover{border-color:#0071e3}
.sha-card img,.sha-noimg{flex:none;width:52px;height:52px;border-radius:8px;object-fit:contain;background:#f5f5f7}
.sha-card-t b{display:block;font-size:13.5px;line-height:1.3;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sha-card-t span{display:block;margin-top:2px;font-size:13px;color:#424245}
.sha-card-t i{font-style:normal;font-weight:600}.sha-card-t i.ok{color:#1a7f37}.sha-card-t i.no{color:#a0101b}

.sha-cta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sha-cta a,.sha-cta button{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:980px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none!important}
.sha-cta a{background:#0071e3;color:#fff!important;border:0}
.sha-cta button{background:#fff;color:#1d1d1f;border:1px solid #d2d2d7}

.sha-form{position:relative;display:flex;align-items:flex-end;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #e8e8ed}
.sha-form[hidden]{display:none}
.sha-form textarea{flex:1;min-height:44px;max-height:120px;padding:11px 14px;border:1px solid #d2d2d7;border-radius:22px;font:inherit;font-size:16px;line-height:1.35;resize:none;outline:0}
.sha-form textarea:focus{border-color:#0071e3;box-shadow:0 0 0 3px rgba(0,113,227,.15)}
.sha-send{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#0071e3;color:#fff;cursor:pointer}
.sha-send svg{width:20px;height:20px}
.sha-form.is-busy .sha-send{opacity:.5;pointer-events:none}

.sha-team{padding:12px;background:#fff;border-top:1px solid #e8e8ed}
.sha-team[hidden]{display:none}
.sha-team form{display:grid;gap:8px}
.sha-team-h{margin:0 0 2px;font-size:15px;font-weight:700;color:#1d1d1f}
.sha-team input,.sha-team textarea{width:100%;padding:10px 12px;border:1px solid #d2d2d7;border-radius:12px;font:inherit;font-size:16px;outline:0}
.sha-team input:focus,.sha-team textarea:focus{border-color:#0071e3}
.sha-team .sha-hp{position:absolute;left:-9999px;width:1px;height:1px}
.sha-team-err{margin:0;color:#a0101b;font-size:13px}
.sha-team-b{display:flex;gap:8px;justify-content:flex-end}
.sha-btn,.sha-btn-g{height:40px;padding:0 18px;border-radius:980px;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.sha-btn{border:0;background:#0071e3;color:#fff}.sha-btn:disabled{opacity:.5}
.sha-btn-g{border:1px solid #d2d2d7;background:#fff;color:#1d1d1f}

.sha-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px 10px;background:#fff;font-size:12px;color:#6e6e73}
.sha-teamlink{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:#0066cc;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.sha-teamlink svg{width:15px;height:15px}

@media (max-width:600px){
	#sha-agent{left:12px;bottom:12px}
	body.sh-bar-on #sha-agent{bottom:88px}
	.sha-launch{height:48px;padding:0 18px 0 14px;font-size:15px}
	body.sha-open #sha-agent{left:0;right:0;top:0;bottom:0}
	.sha-panel{position:fixed;inset:0;width:auto;height:100%;height:100dvh;border-radius:0}
	.sha-head{padding:12px 12px 12px 14px}
	.sha-av{width:34px;height:34px}
	.sha-head p{display:none}
	body.sha-open{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){.sha-launch,.sha-typing span{transition:none;animation:none}}

/* Google store-rating badge hidden while the chat is open (it covered the send button) */
body.sha-open #merchantwidgetiframe{visibility:hidden!important}
.sha-form textarea{scrollbar-width:none}.sha-form textarea::-webkit-scrollbar{display:none}
