@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); :root {
--wpcb-primary:               #005986;
--wpcb-primary-hover:         #0073aa;
--wpcb-primary-container:     #0073aa;
--wpcb-on-primary:            #ffffff;
--wpcb-on-primary-container:  #ffffff;
--wpcb-secondary-container:   #dce3ea;
--wpcb-on-secondary-container:#5e656b;
--wpcb-bg:                    #f4f6f8;
--wpcb-surface:               #ffffff;
--wpcb-surface-low:           #f3f4f6;
--wpcb-surface-high:          #e8e9ea;
--wpcb-text:                  #1a1c1d;
--wpcb-text-muted:            #6b7280;
--wpcb-radius:                20px;
--wpcb-radius-sm:             8px;
--wpcb-radius-msg:            18px;
--wpcb-shadow-btn:            0 8px 24px rgba(0,0,0,0.18);
--wpcb-shadow-win:            0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
--wpcb-font:                  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} #wpcb-chat-container,
#wpcb-chat-container * {
box-sizing: border-box;
font-family: var(--wpcb-font);
}  #wpcb-chat-button {
position: fixed !important;
bottom: 28px !important;
right: 28px !important;
width: 64px !important;
height: 64px !important;
border-radius: 50% !important;
background: var(--wpcb-primary) !important;
border: none !important;
color: white !important;
font-size: 26px !important;
cursor: pointer !important;
z-index: 1000000 !important; transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
animation: wpcb-pulse 2.5s ease-out infinite !important;
align-items: center !important;
justify-content: center !important;
outline: none !important; -webkit-tap-highlight-color: transparent !important; transform: translateZ(0) !important;
-webkit-font-smoothing: antialiased !important;
} @keyframes wpcb-pulse {
0%   { box-shadow: 0 8px 22px rgba(0,0,0,0.22), 0 0 0 0   rgba(var(--wpcb-primary-rgb, 0,89,134), 0.50); }
65%  { box-shadow: 0 8px 22px rgba(0,0,0,0.22), 0 0 0 18px rgba(var(--wpcb-primary-rgb, 0,89,134), 0); }
100% { box-shadow: 0 8px 22px rgba(0,0,0,0.22), 0 0 0 0   rgba(var(--wpcb-primary-rgb, 0,89,134), 0); }
}
#wpcb-chat-button:hover {
transform: scale(1.1) translateZ(0) !important;
box-shadow: 0 12px 36px rgba(0,0,0,0.32) !important;
animation-play-state: paused !important;
}
#wpcb-chat-button:active {
transform: scale(0.93) translateZ(0) !important;
} #wpcb-unread-badge {
position: absolute !important;
top: -4px !important;
right: -4px !important;
background: #ef4444 !important;
color: #fff !important;
border-radius: 50% !important;
width: 22px !important;
height: 22px !important;
display: none !important;
align-items: center !important;
justify-content: center !important;
font-size: 11px !important;
font-weight: 700 !important;
border: 2px solid #fff !important;
box-shadow: 0 2px 6px rgba(239,68,68,0.45) !important;
}  #wpcb-chat-window {
position: fixed !important;
bottom: 108px !important;
right: 28px !important;
width: 376px !important;
max-width: calc(100vw - 56px) !important;
height: 580px !important;
max-height: calc(100vh - 160px) !important;
background: var(--wpcb-surface) !important;
border-radius: var(--wpcb-radius) !important;
box-shadow: var(--wpcb-shadow-win) !important;
flex-direction: column !important;
overflow: hidden !important;
z-index: 999998 !important;
border: 1px solid rgba(0,0,0,0.06) !important;
transform-origin: bottom right !important;
}
@keyframes wpcb-open {
from { opacity: 0; transform: scale(0.88) translateY(20px); }
to   { opacity: 1; transform: scale(1) translateY(0); }
} #wpcb-chat-window > div:first-child,
.wpcb-chat-header {
background: linear-gradient(135deg, var(--wpcb-primary), var(--wpcb-primary-hover, #0073aa)) !important;
color: var(--wpcb-on-primary) !important;
padding: 14px 16px !important;
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
flex-shrink: 0 !important;
border-top-left-radius: var(--wpcb-radius) !important;
border-top-right-radius: var(--wpcb-radius) !important;
} @keyframes wpcb-online {
0%,100% { opacity: 1; transform: scale(1); }
50%      { opacity: 0.55; transform: scale(0.75); }
} #wpcb-minimize-chat,
#wpcb-close-chat {
background: rgba(255,255,255,0.15) !important;
border: none !important;
border-radius: 50% !important;
width: 30px !important;
height: 30px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
transition: background 0.2s !important;
flex-shrink: 0 !important;
padding: 0 !important;
}
#wpcb-minimize-chat:hover { background: rgba(255,255,255,0.28) !important; }
#wpcb-close-chat:hover    { background: rgba(239,68,68,0.65) !important; } #wpcb-messages {
flex: 1 !important;
padding: 16px !important;
overflow-y: auto !important;
overflow-x: hidden !important;
display: flex !important;
flex-direction: column !important;
gap: 10px !important;
background: var(--wpcb-bg) !important;
scroll-behavior: smooth !important;
-webkit-overflow-scrolling: touch !important;
overscroll-behavior: contain !important;
} #wpcb-messages::-webkit-scrollbar        { width: 4px; }
#wpcb-messages::-webkit-scrollbar-track  { background: transparent; }
#wpcb-messages::-webkit-scrollbar-thumb  { background: rgba(0,0,0,0.15); border-radius: 4px; } .wpcb-message {
max-width: 82% !important;
padding: 12px 16px !important;
font-size: 14px !important;
line-height: 1.55 !important;
position: relative !important;
word-wrap: break-word !important;
animation: wpcb-msg-in 0.25s ease forwards !important;
}
@keyframes wpcb-msg-in {
from { opacity: 0; transform: translateY(8px); }
to   { opacity: 1; transform: translateY(0); }
} .wpcb-message.bot {
align-self: flex-start !important;
background: var(--wpcb-surface) !important;
color: var(--wpcb-text) !important;
border-radius: var(--wpcb-radius-msg) var(--wpcb-radius-msg) var(--wpcb-radius-msg) 4px !important;
box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04) !important;
} .wpcb-message.user {
align-self: flex-end !important;
background: var(--wpcb-primary-container) !important;
color: var(--wpcb-on-primary-container) !important;
border-radius: var(--wpcb-radius-msg) var(--wpcb-radius-msg) 4px var(--wpcb-radius-msg) !important;
box-shadow: 0 1px 4px rgba(0,0,0,0.12) !important;
} .wpcb-message.wpcb-system {
align-self: center !important;
background: transparent !important;
color: var(--wpcb-text-muted) !important;
font-size: 12px !important;
text-align: center !important;
box-shadow: none !important;
max-width: 100% !important;
padding: 4px 0 !important;
} .wpcb-message-time {
font-size: 10px !important;
opacity: 0.6 !important;
margin-top: 5px !important;
display: block !important;
}
.wpcb-message.user .wpcb-message-time  { text-align: right !important; color: rgba(255,255,255,0.75) !important; }
.wpcb-message.bot  .wpcb-message-time  { text-align: left !important; color: var(--wpcb-text-muted) !important; } .wpcb-message.bot[data-intent="price"]        { border-left: 3px solid #f59e0b !important; }
.wpcb-message.bot[data-intent="order"]        { border-left: 3px solid #10b981 !important; }
.wpcb-message.bot[data-intent="complaint"]    { border-left: 3px solid #ef4444 !important; background: #fff8f8 !important; }
.wpcb-message.bot[data-intent="consultation"] { border-left: 3px solid #6366f1 !important; }
.wpcb-message.bot[data-intent="contact"]      { border-left: 3px solid #3b82f6 !important; } .wpcb-typing {
display: flex !important;
align-items: center !important;
gap: 5px !important;
padding: 12px 16px !important;
background: var(--wpcb-surface) !important;
border-radius: var(--wpcb-radius-msg) var(--wpcb-radius-msg) var(--wpcb-radius-msg) 4px !important;
width: fit-content !important;
box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
align-self: flex-start !important;
}
.wpcb-typing-dot {
width: 7px !important;
height: 7px !important;
background: var(--wpcb-on-secondary-container, #9ca3af) !important;
border-radius: 50% !important;
animation: wpcb-bounce 1.3s ease infinite !important;
}
.wpcb-typing-dot:nth-child(2) { animation-delay: 0.18s !important; }
.wpcb-typing-dot:nth-child(3) { animation-delay: 0.36s !important; }
@keyframes wpcb-bounce {
0%,60%,100% { transform: translateY(0); opacity: 0.5; }
30%          { transform: translateY(-6px); opacity: 1; }
} .typing-dots { display: flex; gap: 4px; padding: 8px 0; align-self: flex-start; }
.typing-dots span {
width: 7px; height: 7px; border-radius: 50%;
background: var(--wpcb-text-muted);
animation: wpcb-bounce 1.3s ease infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.typing-dots span:nth-child(3) { animation-delay: 0.36s; } #wpcb-input-container {
border-top: 1px solid rgba(0,0,0,0.07) !important;
padding: 12px 14px !important;
display: flex !important;
gap: 10px !important;
align-items: flex-end !important;
background: var(--wpcb-surface) !important;
flex-shrink: 0 !important;
}
#wpcb-input {
flex: 1 !important;
border: 1.5px solid var(--wpcb-surface-high) !important;
border-radius: 14px !important;
padding: 11px 15px !important;
font-family: var(--wpcb-font) !important;
font-size: 14px !important;
color: var(--wpcb-text) !important;
resize: none !important;
max-height: 110px !important;
min-height: 44px !important;
line-height: 1.5 !important;
outline: none !important;
background: var(--wpcb-surface-low) !important;
transition: border-color 0.2s, box-shadow 0.2s !important;
}
#wpcb-input:focus {
border-color: var(--wpcb-primary) !important;
background: var(--wpcb-surface) !important;
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpcb-primary) 12%, transparent) !important;
}
#wpcb-send {
width: 52px !important;
height: 52px !important;
border-radius: 50% !important;
background: var(--wpcb-primary) !important;
border: none !important;
color: white !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex-shrink: 0 !important;
transition: transform 0.2s ease, box-shadow 0.2s ease !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}
#wpcb-send:hover  { transform: scale(1.08) !important; box-shadow: 0 6px 18px rgba(0,0,0,0.28) !important; }
#wpcb-send:active { transform: scale(0.93) !important; } .wpcb-quick-replies,
.quick-replies {
display: flex !important;
flex-wrap: wrap !important;
gap: 7px !important;
margin-top: 10px !important;
animation: wpcb-msg-in 0.25s ease !important;
}
.wpcb-quick-reply,
.quick-reply-button {
padding: 8px 14px !important;
background: var(--wpcb-surface) !important;
border: 1.5px solid var(--wpcb-surface-high) !important;
border-radius: 20px !important;
font-family: var(--wpcb-font) !important;
font-size: 13px !important;
font-weight: 500 !important;
color: var(--wpcb-primary) !important;
cursor: pointer !important;
transition: all 0.18s ease !important;
outline: none !important;
white-space: nowrap !important;
}
.wpcb-quick-reply:hover,
.quick-reply-button:hover {
background: var(--wpcb-primary) !important;
color: var(--wpcb-on-primary) !important;
border-color: var(--wpcb-primary) !important;
transform: translateY(-1px) !important;
box-shadow: 0 3px 10px rgba(0,0,0,0.12) !important;
}
.wpcb-quick-reply:active,
.quick-reply-button:active { transform: translateY(0) scale(0.97) !important; } .wpcb-lead-form {
padding: 16px !important;
background: var(--wpcb-surface) !important;
animation: wpcb-msg-in 0.25s ease !important;
}
.wpcb-form-group { margin-bottom: 14px !important; }
.wpcb-form-group label {
display: block !important;
margin-bottom: 6px !important;
font-size: 13px !important;
font-weight: 600 !important;
color: var(--wpcb-text) !important;
}
.wpcb-form-group input,
.wpcb-form-group textarea {
width: 100% !important;
padding: 10px 14px !important;
border: 1.5px solid var(--wpcb-surface-high) !important;
border-radius: 10px !important;
font-size: 14px !important;
font-family: var(--wpcb-font) !important;
outline: none !important;
background: var(--wpcb-surface-low) !important;
transition: border-color 0.2s, box-shadow 0.2s !important;
}
.wpcb-form-group input:focus,
.wpcb-form-group textarea:focus {
border-color: var(--wpcb-primary) !important;
background: var(--wpcb-surface) !important;
box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpcb-primary) 10%, transparent) !important;
}
.wpcb-form-actions { display: flex !important; gap: 10px !important; margin-top: 16px !important; }
.wpcb-submit-btn {
flex: 1 !important;
padding: 12px 20px !important;
border-radius: 10px !important;
font-size: 14px !important;
font-weight: 600 !important;
cursor: pointer !important;
border: none !important;
background: var(--wpcb-primary) !important;
color: var(--wpcb-on-primary) !important;
transition: transform 0.18s, box-shadow 0.18s !important;
}
.wpcb-submit-btn:hover { transform: translateY(-1px) !important; box-shadow: 0 4px 14px rgba(0,0,0,0.16) !important; }
.wpcb-cancel-btn  {
flex: 1 !important;
padding: 12px 20px !important;
border-radius: 10px !important;
font-size: 14px !important;
font-weight: 600 !important;
cursor: pointer !important;
border: none !important;
background: var(--wpcb-surface-low) !important;
color: var(--wpcb-text-muted) !important;
transition: background 0.18s !important;
}
.wpcb-cancel-btn:hover { background: var(--wpcb-surface-high) !important; } .wpcb-invitation {
position: fixed !important;
bottom: 108px !important;
right: 28px !important;
width: 320px !important;
max-width: calc(100vw - 56px) !important;
background: var(--wpcb-surface) !important;
border-radius: 18px !important;
box-shadow: var(--wpcb-shadow-win) !important;
padding: 20px !important;
z-index: 999997 !important;
animation: wpcb-open 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards !important;
border: 1px solid rgba(0,0,0,0.06) !important;
}
.wpcb-invitation-content p {
font-size: 14px !important;
line-height: 1.6 !important;
color: var(--wpcb-text) !important;
margin-bottom: 16px !important;
}
.wpcb-invitation-primary {
width: 100% !important;
padding: 12px 20px !important;
border-radius: 10px !important;
font-size: 14px !important;
font-weight: 600 !important;
cursor: pointer !important;
border: none !important;
background: var(--wpcb-primary) !important;
color: var(--wpcb-on-primary) !important;
transition: transform 0.18s !important;
margin-bottom: 8px !important;
display: block !important;
}
.wpcb-invitation-primary:hover { transform: translateY(-1px) !important; }
.wpcb-invitation-secondary {
width: 100% !important;
padding: 10px 20px !important;
border-radius: 10px !important;
font-size: 13px !important;
cursor: pointer !important;
border: none !important;
background: transparent !important;
color: var(--wpcb-text-muted) !important;
display: block !important;
}
.wpcb-invitation-close {
position: absolute !important;
top: 12px !important;
right: 12px !important;
width: 28px !important;
height: 28px !important;
border-radius: 50% !important;
background: var(--wpcb-surface-low) !important;
border: none !important;
color: var(--wpcb-text-muted) !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
transition: background 0.2s, transform 0.2s !important;
font-size: 16px !important;
}
.wpcb-invitation-close:hover { background: var(--wpcb-surface-high) !important; transform: rotate(90deg) !important; } .wpcb-toast {
position: absolute;
bottom: 72px;
left: 50%;
transform: translateX(-50%);
padding: 8px 18px;
border-radius: 20px;
font-size: 12px;
font-weight: 500;
white-space: nowrap;
z-index: 1000001;
pointer-events: none;
animation: wpcb-toast-show 0.3s ease, wpcb-toast-hide 0.3s ease 3.6s forwards;
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.wpcb-toast-success { background: linear-gradient(135deg,#10b981,#059669); color:#fff; }
.wpcb-toast-info    { background: linear-gradient(135deg,#3b82f6,#2563eb); color:#fff; }
@keyframes wpcb-toast-show { from{opacity:0;transform:translateX(-50%) translateY(8px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
@keyframes wpcb-toast-hide { from{opacity:1} to{opacity:0;transform:translateX(-50%) translateY(-8px)} } #wpcb-social-hover {
position: fixed;
display: none;
flex-direction: column;
gap: 8px;
background: var(--wpcb-surface);
padding: 10px;
border-radius: 14px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
z-index: 1000001;
min-width: 52px;
border: 1px solid rgba(0,0,0,0.06);
}
#wpcb-social-hover a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 10px;
background: var(--wpcb-surface-low);
transition: transform 0.18s, background 0.18s;
text-decoration: none;
}
#wpcb-social-hover a:hover { transform: scale(1.1); background: var(--wpcb-surface-high); } #wpcb-messages[data-stage]::before {
content: '';
display: block;
height: 3px;
border-radius: 3px;
margin-bottom: 10px;
transition: width 0.6s ease, background 0.6s ease;
width: 0%;
background: var(--wpcb-primary);
flex-shrink: 0;
}
#wpcb-messages[data-stage="greeting"]::before    { width: 20%; }
#wpcb-messages[data-stage="exploring"]::before   { width: 45%; background: #f59e0b; }
#wpcb-messages[data-stage="interested"]::before  { width: 65%; background: #3b82f6; }
#wpcb-messages[data-stage="ready_to_buy"]::before{ width: 90%; background: #10b981; }
#wpcb-messages[data-stage="post_sale"]::before   { width: 100%; background: #059669; } .message-feedback { display: flex; gap: 6px; margin-top: 6px; align-items: center; }
.feedback-button {
background: none;
border: 1px solid var(--wpcb-surface-high);
border-radius: 50%;
width: 26px; height: 26px;
cursor: pointer;
font-size: 13px;
transition: all 0.18s ease;
display: flex; align-items: center; justify-content: center; padding: 0;
}
.feedback-button:hover { transform: scale(1.12); border-color: var(--wpcb-text-muted); }
.feedback-button:disabled { cursor: not-allowed; opacity: 0.4; }
.feedback-button.active { border-width: 2px; transform: scale(1.15); }
.feedback-thanks { font-size: 11px; color: #10b981; margin-left: 6px; animation: wpcb-msg-in 0.2s ease; }  @media (max-width: 768px) {
#wpcb-chat-button {
bottom: 80px !important;
right: 16px !important;
width: 58px !important;
height: 58px !important;
font-size: 22px !important;
}
.wpcb-invitation {
bottom: 150px !important;
right: 12px !important; left: 12px !important;
width: auto !important;
}
} @media (max-width: 576px) {
#wpcb-chat-window {
position: fixed !important;
top: 0 !important; left: 0 !important;
right: 0 !important; bottom: 0 !important;
width: 100% !important;
height: 100% !important;
max-height: 100% !important;
max-width: 100% !important;
border-radius: 0 !important;
padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}
#wpcb-chat-window > div:first-child,
.wpcb-chat-header {
padding-top: calc(14px + env(safe-area-inset-top, 0px)) !important;
border-radius: 0 !important;
}
#wpcb-input { font-size: 16px !important; } } @media (max-width: 576px) {
#wpcb-chat-window::before {
content: '';
display: block;
width: 36px; height: 4px;
background: rgba(0,0,0,0.12);
border-radius: 2px;
margin: 8px auto 0;
flex-shrink: 0;
}
} @media (max-height: 500px) and (orientation: landscape) {
#wpcb-chat-window { height: calc(100vh - 20px) !important; bottom: 10px !important; top: 10px !important; }
} @media (hover: none) and (pointer: coarse) {
#wpcb-send:active        { transform: scale(0.9) !important; opacity: 0.85 !important; }
.wpcb-quick-reply:active { transform: scale(0.95) !important; }
#wpcb-chat-button:active { transform: scale(0.9) !important; }
#wpcb-send:hover         { transform: none !important; box-shadow: none !important; }
.wpcb-quick-reply:hover  { transform: none !important; }
} @media (max-width: 768px) {
#wpcb-chat-button.hide-on-scroll {
transform: translateY(100px) !important;
opacity: 0 !important;
transition: transform 0.3s ease, opacity 0.3s ease !important;
}
} .wpcb-message {
overflow-wrap: break-word !important;
word-break: break-word !important;
}  @media (min-width: 769px) {
#wpcb-chat-button {
bottom: 96px !important;
}
#wpcb-chat-window {
bottom: 176px !important;
max-height: calc(100vh - 230px) !important;
}
.wpcb-invitation {
bottom: 176px !important;
}
}