/* Live chat — own file. Reads the store's existing colour tokens; changes nothing in site.css. */
.cc-contact-item.cc-ci-chat{background:none;border:0;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit}
.cc-ci-chat .cc-contact-ic{background:var(--cc-navy,#0E3A8A)}
body.cc-chat-open .cc-fabs{opacity:0;visibility:hidden;pointer-events:none}

.cc-chat{position:fixed;right:22px;bottom:24px;z-index:85;width:380px;max-width:calc(100vw - 28px);height:min(620px,calc(100vh - 48px));display:flex;flex-direction:column;background:#fff;border:1px solid var(--cc-line,#E3E8EF);border-radius:22px;box-shadow:0 18px 60px rgba(16,32,64,.22);overflow:hidden;opacity:0;visibility:hidden;transform:translateY(18px) scale(.98);transform-origin:bottom right;transition:opacity .25s,transform .35s var(--cc-ease,ease),visibility .25s;font-family:inherit;color:var(--cc-ink,#16202E)}
.cc-chat.is-open{opacity:1;visibility:visible;transform:none}
.cc-chat-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(135deg,var(--cc-navy,#0E3A8A),var(--cc-blue,#1F6FD1));color:#fff}
.cc-chat-av{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.cc-chat-av svg{width:20px;height:20px}
.cc-chat-ttl{flex:1;min-width:0;line-height:1.25}
.cc-chat-ttl strong{display:block;font-size:16px}
.cc-chat-ttl span{font-size:12px;opacity:.85}
.cc-chat-x{background:rgba(255,255,255,.16);border:0;color:#fff;width:34px;height:34px;border-radius:50%;cursor:pointer;display:grid;place-items:center;flex:none}
.cc-chat-x:hover{background:rgba(255,255,255,.28)}
.cc-chat-x svg{width:18px;height:18px}
.cc-chat-log{flex:1;overflow-y:auto;padding:14px;background:var(--cc-soft,#F7F9FC);display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth;overscroll-behavior:contain}
.cc-chat-m{max-width:88%;padding:10px 13px;border-radius:16px;font-size:14.5px;line-height:1.55;word-wrap:break-word;white-space:pre-line}
.cc-chat-m.bot{align-self:flex-start;background:#fff;border:1px solid var(--cc-line,#E3E8EF);border-bottom-left-radius:5px}
.cc-chat-m.me{align-self:flex-end;background:var(--cc-navy,#0E3A8A);color:#fff;border-bottom-right-radius:5px}
.cc-chat-typing{align-self:flex-start;background:#fff;border:1px solid var(--cc-line,#E3E8EF);border-radius:16px;border-bottom-left-radius:5px;padding:12px 14px;display:flex;gap:5px}
.cc-chat-typing i{width:7px;height:7px;border-radius:50%;background:var(--cc-muted,#5B6678);opacity:.4;animation:cc-chat-dot 1s infinite}
.cc-chat-typing i:nth-child(2){animation-delay:.15s}.cc-chat-typing i:nth-child(3){animation-delay:.3s}
@keyframes cc-chat-dot{50%{opacity:1;transform:translateY(-3px)}}
.cc-chat-cards{align-self:stretch;display:flex;flex-direction:column;gap:8px}
.cc-chat-card{display:flex;gap:10px;background:#fff;border:1px solid var(--cc-line,#E3E8EF);border-radius:14px;padding:9px}
.cc-chat-card img{width:64px;height:64px;border-radius:10px;object-fit:cover;background:var(--cc-sky,#EEF5FE);flex:none}
.cc-chat-card .b{flex:1;min-width:0}
.cc-chat-card strong{display:block;font-size:14px;line-height:1.35;color:var(--cc-navy,#0E3A8A)}
.cc-chat-card small{display:block;color:var(--cc-muted,#5B6678);font-size:12.5px;line-height:1.4;margin-top:2px}
.cc-chat-card em{font-style:normal;font-weight:700;color:var(--cc-navy,#0E3A8A);font-size:14px}
.cc-chat-card .a{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.cc-chat-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;border-radius:99px;border:1px solid var(--cc-line,#E3E8EF);background:#fff;color:var(--cc-navy,#0E3A8A)!important;font:600 13px/1 inherit;font-family:inherit;cursor:pointer;text-decoration:none!important}
.cc-chat-btn.pri{background:var(--cc-green,#3FA535);border-color:var(--cc-green,#3FA535);color:#fff!important}
.cc-chat-btn.is-loading{opacity:.6;pointer-events:none}
.cc-chat-btn.is-done{background:var(--cc-green-d,#2E8A28);color:#fff!important}
.cc-chat-hand{align-self:stretch;display:flex;gap:8px;flex-wrap:wrap}
.cc-chat-hand a{flex:1;min-width:120px;justify-content:center;padding:10px 12px;color:#fff!important;border:0}
.cc-chat-hand .wa{background:#25D366}
.cc-chat-hand .ms{background:linear-gradient(135deg,#0A7CFF,#A334FA 70%,#FF5C87)}
.cc-chat-chips{display:flex;gap:7px;flex-wrap:wrap;padding:0 14px 10px;background:var(--cc-soft,#F7F9FC)}
.cc-chat-chips:empty{display:none}
.cc-chat-chip{border:1px solid var(--cc-line,#E3E8EF);background:#fff;color:var(--cc-navy,#0E3A8A);border-radius:99px;padding:7px 12px;font:500 13px/1.2 inherit;font-family:inherit;cursor:pointer;text-align:left}
.cc-chat-chip:hover{border-color:var(--cc-blue,#1F6FD1)}
.cc-chat-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--cc-line,#E3E8EF);background:#fff}
.cc-chat-form input[type=text]{flex:1;min-width:0;border:1px solid var(--cc-line,#E3E8EF);border-radius:99px;padding:11px 15px;font:inherit;font-size:15px;outline:0;background:#fff;color:inherit}
.cc-chat-form input[type=text]:focus{border-color:var(--cc-blue,#1F6FD1)}
.cc-chat-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.cc-chat-send{width:44px;height:44px;border-radius:50%;border:0;background:var(--cc-green,#3FA535);color:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.cc-chat-send svg{width:20px;height:20px}
.cc-chat-send:disabled{opacity:.5}
.cc-chat button:focus-visible,.cc-chat a:focus-visible,.cc-chat input:focus-visible{outline:2px solid var(--cc-blue,#1F6FD1);outline-offset:2px}

@media (max-width:767px){
	.cc-chat{right:0;left:0;bottom:0;width:auto;max-width:none;height:82vh;height:82dvh;border-radius:22px 22px 0 0;transform:translateY(40px)}
	.cc-chat-form{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){
	.cc-chat{transition:opacity .01s}
	.cc-chat-typing i{animation:none}
	.cc-chat-log{scroll-behavior:auto}
}
