.wpai-chat-widget {
position: fixed;
z-index: 99999;
bottom: var(--wpai-chat-bottom-offset, 28px);
font-family: inherit;
}
.wpai-chat-position-right {
right: var(--wpai-chat-side-offset, 34px);
left: auto;
}
.wpai-chat-position-left {
right: auto;
left: var(--wpai-chat-side-offset, 34px);
}
.wpai-chat-launcher {
position: relative;
width: var(--wpai-chat-launcher-size, 64px);
height: var(--wpai-chat-launcher-size, 64px);
overflow: visible;
padding: 0;
border: 3px solid #fff;
border-radius: 50%;
background: var(--wpai-chat-primary, #ff7a00);
box-shadow: 0 0 0 1px rgba(15, 23, 42, .16), 0 4px 10px rgba(15, 23, 42, .18);
color: var(--wpai-chat-on-primary, #fff);
cursor: pointer;
font-size: 25px;
transition: transform .2s ease, box-shadow .2s ease;
}
.wpai-chat-launcher:hover,
.wpai-chat-launcher:focus-visible {
transform: translateY(-2px);
box-shadow: 0 0 0 1px rgba(15, 23, 42, .2), 0 6px 14px rgba(15, 23, 42, .22);
}
.wpai-chat-homepage-teaser {
position: absolute;
right: 0;
bottom: calc(var(--wpai-chat-launcher-size, 64px) + 28px);
display: flex;
width: 265px;
max-width: calc(100vw - 28px);
min-height: 66px;
align-items: flex-start;
box-sizing: border-box;
padding: 13px 34px 13px 15px;
border: 1px solid var(--wpai-chat-teaser-border, #e2e8f0);
border-radius: 14px;
background: #fff;
box-shadow: 0 9px 24px rgba(15, 23, 42, .18);
color: #1f2937;
opacity: 0;
transform: translateY(8px);
transition: opacity .22s ease, transform .22s ease;
}
.wpai-chat-homepage-teaser.is-visible {
opacity: 1;
transform: translateY(0);
}
.wpai-chat-homepage-teaser[hidden] {
display: none !important;
}
.wpai-chat-homepage-teaser::after {
position: absolute;
right: 24px;
bottom: -8px;
width: 15px;
height: 15px;
border-right: 1px solid var(--wpai-chat-teaser-border, #e2e8f0);
border-bottom: 1px solid var(--wpai-chat-teaser-border, #e2e8f0);
background: #fff;
content: '';
transform: rotate(45deg);
}
.wpai-chat-position-left .wpai-chat-homepage-teaser {
right: auto;
left: 0;
}
.wpai-chat-position-left .wpai-chat-homepage-teaser::after {
right: auto;
left: 24px;
}
.wpai-chat-teaser-open {
display: block;
width: 100%;
padding: 0;
border: 0;
background: transparent;
color: inherit;
cursor: pointer;
font: inherit;
font-size: 14px;
line-height: 1.45;
text-align: left;
}
.wpai-chat-teaser-close {
position: absolute;
z-index: 1;
top: 5px;
right: 7px;
width: 25px;
height: 25px;
padding: 0;
border: 0;
background: transparent;
color: #64748b;
cursor: pointer;
font-size: 20px;
line-height: 25px;
}
.wpai-chat-teaser-caret {
display: inline-block;
width: 1px;
height: 1.05em;
margin-left: 2px;
background: currentColor;
vertical-align: -2px;
animation: wpai-teaser-caret .7s steps(1) infinite;
}
.wpai-chat-homepage-teaser.is-complete .wpai-chat-teaser-caret {
display: none;
}
@keyframes wpai-teaser-caret {
50% { opacity: 0; }
}
.wpai-chat-avatar-frame {
box-sizing: border-box;
display: block;
width: 100%;
height: 100%;
overflow: hidden;
border-radius: 50%;
background: #fff;
isolation: isolate;
}
.wpai-chat-avatar {
box-sizing: border-box;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: contain;
object-position: var(--wpai-avatar-position-x, 50%) var(--wpai-avatar-position-y, 50%);
transform: scale(var(--wpai-avatar-scale, 1));
transform-origin: var(--wpai-avatar-position-x, 50%) var(--wpai-avatar-position-y, 50%);
}
.wpai-chat-online-dot {
position: absolute;
top: 1px;
right: 1px;
width: 15px;
height: 15px;
border: 2px solid #fff;
border-radius: 50%;
background: #10b981;
box-shadow: 0 0 0 0 rgba(16, 185, 129, .55);
animation: wpai-online-pulse 1.9s infinite;
}
@keyframes wpai-online-pulse {
0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .58); }
70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.wpai-chat-panel {
position: absolute;
box-sizing: border-box;
right: 0;
bottom: calc(var(--wpai-chat-launcher-size, 64px) + 16px);
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto auto;
width: 400px;
height: 650px;
max-width: calc(100vw - 40px);
max-height: calc(100vh - 125px);
overflow: hidden;
border: 1.5px solid #d8dde6;
border-radius: 10px;
background: #fff;
box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
font-size: var(--wpai-chat-font-size, 16px);
}
.wpai-chat-position-left .wpai-chat-panel {
right: auto;
left: 0;
}
.wpai-chat-panel[hidden] {
display: none !important;
}
.wpai-chat-widget > .wpai-chat-expand-backdrop {
display: none !important;
width: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
appearance: none !important;
}
.wpai-chat-widget.is-expanded.is-open > .wpai-chat-expand-backdrop {
position: fixed !important;
z-index: 0 !important;
inset: 0 !important;
display: block !important;
width: 100vw !important;
height: 100vh !important;
border-radius: 0 !important;
background: rgba(15,23,42,.52) !important;
box-shadow: none !important;
cursor: default;
}
.wpai-chat-widget.is-expanded.is-open .wpai-chat-panel {
position: fixed !important;
z-index: 1 !important;
top: 40px !important;
right: auto !important;
bottom: auto !important;
left: 50% !important;
width: min(920px,calc(100vw - 80px)) !important;
height: calc(100vh - 80px) !important;
max-width: none !important;
max-height: none !important;
margin: 0 !important;
transform: translateX(-50%) !important;
border-radius: 14px !important;
box-shadow: 0 24px 70px rgba(15,23,42,.32) !important;
}
.wpai-chat-widget.is-expanded.is-open .wpai-chat-launcher,.wpai-chat-widget.is-expanded.is-open .wpai-chat-homepage-teaser { visibility:hidden; }
.wpai-chat-panel-header {
position: relative;
display: flex;
min-height: 86px;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
background: linear-gradient(135deg, var(--wpai-chat-primary, #ff7a00), var(--wpai-chat-secondary, #ff9f43));
color: var(--wpai-chat-on-primary, #fff);
}
.wpai-chat-header-actions {
display: flex;
flex: 0 0 auto;
align-items: center;
gap: 4px;
}
.wpai-chat-menu-toggle {
width: 36px;
height: 36px;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--wpai-chat-on-primary, #fff);
font-size: 22px;
line-height: 1;
cursor: pointer;
}
.wpai-chat-menu-toggle:hover,
.wpai-chat-menu-toggle:focus-visible {
background: rgba(255, 255, 255, .16);
}
.wpai-chat-menu {
position: absolute;
z-index: 8;
top: 58px;
right: 46px;
width: 210px;
padding: 7px;
border: 1px solid #d8dee8;
border-radius: 10px;
background: #fff;
box-shadow: 0 10px 28px rgba(15, 23, 42, .2);
}
.wpai-chat-menu[hidden],
.wpai-chat-recents[hidden],
.wpai-chat-guide-options[hidden],
.wpai-chat-color-options[hidden] {
display: none !important;
}
.wpai-chat-menu button {
display: block;
width: 100%;
padding: 10px 11px;
border: 0;
border-radius: 7px;
background: transparent;
color: #1f2937;
text-align: left;
cursor: pointer;
}
.wpai-chat-menu button:hover,
.wpai-chat-menu button:focus-visible {
background: #f1f5f9;
}
.wpai-chat-brand {
display: flex;
min-width: 0;
align-items: center;
gap: 13px;
}
.wpai-chat-logo {
display: flex;
width: 62px;
height: 52px;
flex: 0 0 62px;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 5px;
border-radius: 8px;
background: #fff;
box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.wpai-chat-logo img {
display: block;
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.wpai-chat-logo-fallback {
padding: 0;
color: #fff;
background: linear-gradient(135deg, #ff7a18, #ffad0d);
font-size: 22px;
font-weight: 800;
letter-spacing: -1px;
}
.wpai-chat-logo-transparent {
padding: 0;
background: transparent;
box-shadow: none;
}
.wpai-chat-logo-avatar {
width: 52px;
flex-basis: 52px;
border-radius: 50%;
}
.wpai-chat-logo-avatar img {
width: 100%;
height: 100%;
padding: 2px;
border-radius: 50%;
object-fit: contain;
object-position: var(--wpai-avatar-position-x, 50%) var(--wpai-avatar-position-y, 50%);
transform: scale(var(--wpai-avatar-scale, 1));
transform-origin: var(--wpai-avatar-position-x, 50%) var(--wpai-avatar-position-y, 50%);
}
.wpai-chat-brand-copy {
min-width: 0;
}
.wpai-chat-brand-copy strong,
.wpai-chat-brand-copy span {
display: block;
}
.wpai-chat-brand-copy strong {
overflow: hidden;
font-size: 16px;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.wpai-chat-brand-copy span {
margin-top: 4px;
font-size: 12px;
opacity: .95;
}
.wpai-chat-brand-copy i {
display: inline-block;
width: 8px;
height: 8px;
margin-right: 6px;
border-radius: 50%;
background: #5ee39c;
box-shadow: 0 0 0 3px rgba(94, 227, 156, .2);
}
.wpai-chat-widget button.wpai-chat-close,
.wpai-chat-widget button.wpai-chat-expand-toggle {
display: inline-grid !important;
width: 34px !important;
min-width: 34px !important;
max-width: 34px !important;
height: 34px !important;
min-height: 34px !important;
max-height: 34px !important;
flex: 0 0 34px !important;
place-items: center !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-radius: 50% !important;
appearance: none !important;
background: rgba(255, 255, 255, .13) !important;
color: var(--wpai-chat-on-primary, #fff) !important;
cursor: pointer;
font-size: 25px;
line-height: 30px;
transition: background .2s ease;
}
.wpai-chat-close:hover,
.wpai-chat-close:focus-visible,
.wpai-chat-expand-toggle:hover,
.wpai-chat-expand-toggle:focus-visible {
background: rgba(255, 255, 255, .25);
}
.wpai-chat-widget .wpai-chat-expand-toggle svg {
display: block !important;
width: 18px !important;
min-width: 18px !important;
max-width: 18px !important;
height: 18px !important;
min-height: 18px !important;
max-height: 18px !important;
overflow: visible !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
fill: none !important;
stroke: currentColor !important;
stroke-width: 2 !important;
stroke-linecap: round !important;
stroke-linejoin: round !important;
}
.wpai-chat-widget .wpai-chat-expand-toggle svg path { fill:none !important; stroke:currentColor !important; }
.wpai-chat-widget .wpai-chat-expand-toggle .wpai-collapse-icon { display:none !important; }
.wpai-chat-widget.is-expanded .wpai-chat-expand-toggle .wpai-expand-icon { display:none !important; }
.wpai-chat-widget.is-expanded .wpai-chat-expand-toggle .wpai-collapse-icon { display:block !important; }
.wpai-chat-messages {
display: flex;
min-height: 0;
flex-direction: column;
gap: 11px;
overflow-y: auto;
padding: 18px 16px;
background: #f7f8fb;
}
.wpai-chat-quick-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
margin: auto 2px 2px;
padding-top: 18px;
}
.wpai-chat-quick-actions > button,
.wpai-chat-guide-options button,
.wpai-chat-color-options button {
padding: 9px 13px;
border: 1px solid #d6dbe4;
border-radius: 999px;
background: #fff;
color: #1f2937;
font: inherit;
cursor: pointer;
box-shadow: none;
}
.wpai-chat-quick-actions > button:hover,
.wpai-chat-quick-actions > button:focus-visible,
.wpai-chat-guide-options button:hover,
.wpai-chat-guide-options button:focus-visible,
.wpai-chat-color-options button:hover,
.wpai-chat-color-options button:focus-visible {
border-color: var(--wpai-chat-primary, #ff7a00);
color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
}
.wpai-chat-guide-options,
.wpai-chat-color-options {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 6px;
width: 100%;
flex: 1 0 100%;
margin-top: -2px;
padding: 2px 0 4px;
}
.wpai-chat-guide-options button,
.wpai-chat-color-options button {
padding: 6px 10px;
font-size: 13px;
}
.wpai-chat-recents {
position: absolute;
z-index: 7;
inset: 76px 0 72px;
padding: 14px;
overflow: auto;
background: #f7f8fb;
}
.wpai-chat-recents-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.wpai-chat-recents-close {
width: 32px;
height: 32px;
padding: 0;
border: 0;
border-radius: 50%;
background: #e5e7eb;
color: #111827;
font-size: 22px;
cursor: pointer;
}
.wpai-chat-recents-list {
display: grid;
gap: 8px;
}
.wpai-chat-recents-list > button {
display: grid;
gap: 4px;
width: 100%;
padding: 12px;
border: 1px solid #d8dee8;
border-radius: 10px;
background: #fff;
color: #1f2937;
text-align: left;
cursor: pointer;
}
.wpai-chat-recents-list > button:hover,
.wpai-chat-recents-list > button:focus-visible {
border-color: var(--wpai-chat-primary, #ff7a00);
}
.wpai-chat-recents-list small,
.wpai-chat-recents-empty {
color: #6b7280;
}
.wpai-chat-message {
max-width: 84%;
padding: calc(var(--wpai-chat-font-size, 16px) * .7) calc(var(--wpai-chat-font-size, 16px) * .9);
border-radius: calc(var(--wpai-chat-font-size, 16px) * .9);
box-shadow: 0 2px 7px rgba(15, 23, 42, .06);
line-height: 1.45;
overflow-wrap: anywhere;
text-align: left !important;
white-space: pre-wrap;
}
.wpai-chat-message-ai {
align-self: flex-start;
border: 1px solid #e7eaf0;
background: #fff;
color: #1f2937;
}
.wpai-chat-product-name {
display: inline-block;
margin: 3px 0;
color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
font-weight: 700;
}
.wpai-chat-message-user {
align-self: flex-end;
background: var(--wpai-chat-primary, #ff7a00);
color: var(--wpai-chat-on-primary, #fff);
box-shadow: 0 5px 14px rgba(15, 23, 42, .2);
}
.wpai-chat-message-pending {
opacity: .65;
}
.wpai-chat-product-cards {
display: grid;
width: 100%;
gap: 9px;
}
.wpai-chat-product-card {
box-sizing: border-box;
display: flex;
width: 100%;
min-height: 96px;
overflow: hidden;
border: 1px solid #dfe4ec;
border-radius: 12px;
background: #fff;
box-shadow: 0 3px 10px rgba(15, 23, 42, .08);
}
.wpai-chat-product-card-image-link {
width: 96px;
min-width: 96px;
height: 96px;
align-self: center;
overflow: hidden;
}
.wpai-chat-product-card-image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
background: #f4f5f7;
}
.wpai-chat-product-card-content {
display: flex;
min-width: 0;
flex: 1;
align-items: flex-start;
flex-direction: column;
padding: 10px 11px;
}
.wpai-chat-product-card-name {
display: -webkit-box;
overflow: hidden;
color: #1f2937;
font-size: 13px;
line-height: 1.3;
text-decoration: none;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.wpai-chat-product-card-name:hover,
.wpai-chat-product-card-name:focus-visible {
color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
text-decoration: underline;
}
.wpai-chat-product-card-price {
margin-top: 4px;
color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
font-size: 14px;
font-weight: 700;
}
.wpai-chat-product-card-availability {
margin-top: 2px;
color: #15803d;
font-size: 11px;
}
.wpai-chat-product-card-availability.is-outofstock {
color: #b91c1c;
}
.wpai-chat-product-card-availability.is-onbackorder {
color: #a16207;
}
.wpai-chat-product-variation {
box-sizing: border-box;
width: 100%;
min-height: 32px;
margin-top: 7px;
padding: 5px 28px 5px 8px;
border: 1px solid #d1d5db;
border-radius: 7px;
background-color: #fff;
color: #1f2937;
font-family: inherit;
font-size: 11px;
}
.wpai-chat-product-card-actions {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 7px;
}
.wpai-chat-product-card-link,
.wpai-chat-product-card-add,
.wpai-chat-cart-link {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 5px 9px;
border: 1px solid var(--wpai-chat-primary, #ff7a00);
border-radius: 7px;
background: var(--wpai-chat-primary, #ff7a00);
color: var(--wpai-chat-on-primary, #fff) !important;
cursor: pointer;
font-family: inherit;
font-size: 11px;
font-weight: 700;
line-height: 1.2;
text-decoration: none !important;
}
.wpai-chat-product-card-link:hover,
.wpai-chat-product-card-link:focus-visible,
.wpai-chat-product-card-add:hover,
.wpai-chat-product-card-add:focus-visible,
.wpai-chat-cart-link:hover,
.wpai-chat-cart-link:focus-visible {
filter: brightness(.94);
}
.wpai-chat-product-card-add.is-loading {
cursor: wait;
opacity: .72;
}
.wpai-chat-product-card-add:disabled {
cursor: not-allowed;
filter: grayscale(.35);
opacity: .55;
}
.wpai-chat-product-card-add.is-added {
border-color: #15803d;
background: #15803d;
}
.wpai-chat-cart-link {
border-color: #d1d5db;
background: #fff;
color: #1f2937 !important;
}
.wpai-chat-form {
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 7px;
padding: 10px 12px;
border-top: 1.5px solid #d8dde6;
background: #fff;
}
.wpai-chat-input-wrap {
position: relative;
min-width: 0;
flex: 1;
width: 100%;
}
.wpai-chat-widget .wpai-chat-form input[type="text"] {
box-sizing: border-box;
width: 100%;
height: 44px;
min-width: 0;
padding: 10px 88px 10px 17px !important;
border: 1.5px solid #cfd5df;
border-radius: 9px;
background: #fff;
box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
outline: none;
text-align: left !important;
font-size: var(--wpai-chat-font-size, 16px);
}
.wpai-chat-widget .wpai-chat-form input[type="text"]::placeholder {
color: #7b8493;
opacity: 1;
}
.wpai-chat-form input:focus {
border-color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
box-shadow: 0 0 0 3px rgba(255, 122, 0, .14);
}
.wpai-chat-form .wpai-chat-microphone {
position: absolute;
top: 6px;
right: 45px;
display: flex;
width: 32px;
height: 32px;
align-items: center;
justify-content: center;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: #667085;
}
.wpai-chat-microphone svg {
width: 21px;
height: 21px;
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1.9;
}
.wpai-chat-microphone:hover,
.wpai-chat-microphone:focus-visible,
.wpai-chat-microphone.is-listening {
background: #eef1f5;
color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
}
.wpai-chat-microphone.is-listening {
animation: wpai-mic-pulse 1s infinite alternate;
}
@keyframes wpai-mic-pulse {
from { transform: scale(1); }
to { transform: scale(1.12); }
}
.wpai-chat-form > button[type="submit"] {
min-width: 82px;
padding: 0 14px;
border: 2px solid var(--wpai-chat-on-primary, #fff);
border-radius: 9px;
background: var(--wpai-chat-primary, #ff7a00);
box-shadow: 0 3px 10px rgba(15, 23, 42, .18);
color: var(--wpai-chat-on-primary, #fff);
cursor: pointer;
font-weight: 700;
transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wpai-chat-input-wrap .wpai-chat-send {
position: absolute;
top: 4px;
right: 4px;
display: flex;
width: 36px;
height: 36px;
min-width: 36px;
align-items: center;
justify-content: center;
padding: 0;
border: 0;
border-radius: 50%;
background: #d8dde5;
color: #fff;
cursor: pointer;
font-size: 24px;
line-height: 1;
transition: filter .2s ease, transform .2s ease;
}
.wpai-chat-send svg {
width: 20px;
height: 20px;
fill: none;
stroke: currentColor;
stroke-width: 2.2;
stroke-linecap: round;
stroke-linejoin: round;
}
.wpai-chat-input-wrap .wpai-chat-send.is-ready {
background: var(--wpai-chat-primary, #ff7a00);
color: var(--wpai-chat-on-primary, #fff);
box-shadow: 0 3px 9px rgba(15, 23, 42, .18);
}
.wpai-chat-input-wrap .wpai-chat-send:disabled {
cursor: default;
opacity: 1;
}
.wpai-chat-input-wrap .wpai-chat-send.is-ready:hover,
.wpai-chat-input-wrap .wpai-chat-send.is-ready:focus-visible {
filter: brightness(.9);
transform: scale(1.04);
}
.wpai-chat-form > button[type="submit"]:hover,
.wpai-chat-form > button[type="submit"]:focus-visible {
filter: brightness(.94);
transform: translateY(-1px);
box-shadow: 0 5px 13px rgba(15, 23, 42, .22);
}
.wpai-chat-credit {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
width: 100%;
box-sizing: border-box;
padding: 0 12px 9px;
background: #fff;
color: #6b7280;
font-size: 11px;
text-align: center;
}
.wpai-chat-credit a {
display: inline-flex;
align-items: center;
color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
font-weight: 600;
text-decoration: none;
}
.wpai-chat-credit img {
display: block;
width: auto;
height: 20px;
object-fit: contain;
}
.wpai-chat-contact-form {
display: grid;
gap: 8px;
margin: 10px 12px 14px;
padding: 14px;
border: 1px solid #e2e8f0;
border-radius: 12px;
background: #fff;
}
.wpai-chat-contact-form input,
.wpai-chat-contact-form textarea {
box-sizing: border-box;
width: 100%;
padding: 9px 10px;
border: 1px solid #cbd5e1;
border-radius: 8px;
font: inherit;
}
.wpai-chat-contact-form button {
justify-self: start;
padding: 9px 14px;
border: 0;
border-radius: 8px;
background: var(--wpai-chat-primary, #ff7a00);
color: var(--wpai-chat-on-primary, #fff);
cursor: pointer;
font-weight: 700;
}
.wpai-chat-contact-status {
color: #475569;
font-size: 12px;
}
.wpai-chat-privacy-consent {
display: flex;
gap: 7px;
align-items: flex-start;
padding: 7px 12px 3px;
color: #64748b;
font-size: 10px;
line-height: 1.35;
width: 100%;
box-sizing: border-box;
}
.wpai-chat-privacy-consent input {
flex: 0 0 auto;
margin: 2px 0 0;
}
.wpai-chat-privacy-consent a {
color: var(--wpai-chat-accent-text, var(--wpai-chat-primary, #ff7a00));
}
@media (max-width: 600px) {
.wpai-chat-widget button.wpai-chat-expand-toggle { display: none !important; }
.wpai-chat-homepage-teaser {
right: 0;
left: auto;
width: min(245px, calc(100vw - 28px));
min-height: 60px;
padding: 11px 32px 11px 13px;
}
.wpai-chat-position-left .wpai-chat-homepage-teaser {
right: auto;
left: 0;
}
.wpai-chat-widget.wpai-chat-mobile-hidden {
display: none !important;
}
.wpai-chat-widget {
bottom: var(--wpai-chat-mobile-bottom-offset, 14px);
max-width: calc(100vw - var(--wpai-chat-mobile-side-offset, 12px) - var(--wpai-chat-mobile-side-offset, 12px));
max-width: calc(100dvw - var(--wpai-chat-mobile-side-offset, 12px) - var(--wpai-chat-mobile-side-offset, 12px));
}
.wpai-chat-position-right {
right: max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-right, 0px));
left: auto;
}
.wpai-chat-position-left {
right: auto;
left: max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-left, 0px));
}
.wpai-chat-panel {
position: fixed;
top: calc(env(safe-area-inset-top, 0px) + 8px);
right: max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-right, 0px)) !important;
bottom: calc(var(--wpai-chat-mobile-bottom-offset, 14px) + var(--wpai-chat-launcher-size, 64px) + env(safe-area-inset-bottom, 0px) + 10px);
left: max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-left, 0px)) !important;
width: calc(100vw - var(--wpai-chat-mobile-side-offset, 12px) - var(--wpai-chat-mobile-side-offset, 12px));
width: calc(100dvw - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-left, 0px)) - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-right, 0px)));
height: auto;
max-width: calc(100vw - var(--wpai-chat-mobile-side-offset, 12px) - var(--wpai-chat-mobile-side-offset, 12px));
max-width: calc(100dvw - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-left, 0px)) - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-right, 0px)));
max-height: none;
font-size: 13px;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
.wpai-chat-mobile-compact.wpai-chat-position-right .wpai-chat-panel,
.wpai-chat-mobile-compact.wpai-chat-position-left .wpai-chat-panel {
right: max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-right, 0px)) !important;
left: max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-left, 0px)) !important;
width: calc(100vw - var(--wpai-chat-mobile-side-offset, 12px) - var(--wpai-chat-mobile-side-offset, 12px)) !important;
width: calc(100dvw - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-left, 0px)) - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-right, 0px))) !important;
max-width: calc(100vw - var(--wpai-chat-mobile-side-offset, 12px) - var(--wpai-chat-mobile-side-offset, 12px));
max-width: calc(100dvw - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-left, 0px)) - max(var(--wpai-chat-mobile-side-offset, 12px), env(safe-area-inset-right, 0px)));
}
.wpai-chat-panel > *,
.wpai-chat-panel-header,
.wpai-chat-messages,
.wpai-chat-recents,
.wpai-chat-form,
.wpai-chat-credit {
box-sizing: border-box;
min-width: 0;
max-width: 100%;
}
.wpai-chat-panel-header {
min-height: 76px;
padding: 11px 18px 11px 14px;
}
.wpai-chat-brand {
flex: 1 1 auto;
overflow: hidden;
}
.wpai-chat-header-actions {
max-width: 76px;
flex: 0 0 auto;
margin-right: 0;
}
.wpai-chat-brand {
max-width: calc(100% - 80px);
flex: 1 1 0;
}
.wpai-chat-logo {
width: 54px;
height: 46px;
flex-basis: 54px;
}
.wpai-chat-brand-copy strong {
font-size: 13px;
}
.wpai-chat-brand-copy span {
font-size: 11px;
}
.wpai-chat-messages {
gap: 8px;
padding: 12px 10px;
}
.wpai-chat-message {
align-self: flex-start;
max-width: calc(100% - 18px);
padding: 9px 11px;
border-radius: 12px;
font-size: 13px;
line-height: 1.38;
}
.wpai-chat-message-user {
align-self: flex-start;
margin-right: 0;
margin-left: 0;
}
.wpai-chat-quick-actions {
box-sizing: border-box;
width: 100%;
gap: 6px;
justify-content: flex-start;
padding-right: 10px;
padding-left: 10px;
padding-top: 10px;
}
.wpai-chat-guide-options,
.wpai-chat-color-options {
box-sizing: border-box;
justify-content: flex-start;
padding-right: 10px;
padding-left: 10px;
}
.wpai-chat-quick-actions > button,
.wpai-chat-guide-options button,
.wpai-chat-color-options button {
padding: 7px 9px;
font-size: 12px;
text-align: left;
}
.wpai-chat-product-card-name,
.wpai-chat-product-card-price,
.wpai-chat-product-card-availability {
font-size: 12px;
}
.wpai-chat-form > button[type="submit"] {
min-width: 76px;
padding: 0 9px;
font-size: 12px;
}
.wpai-chat-form {
box-sizing: border-box;
width: 100%;
gap: 6px;
overflow: hidden;
padding: 9px;
}
.wpai-chat-input-wrap {
box-sizing: border-box;
align-self: stretch;
min-width: 0;
width: auto !important;
max-width: 100%;
}
.wpai-chat-widget .wpai-chat-form input[type="text"] {
display: block;
width: 100%;
max-width: none;
font-size: 16px !important;
line-height: 1.25 !important;
touch-action: manipulation;
}
.wpai-chat-product-card-image-link {
width: 82px;
min-width: 82px;
height: 92px;
}
}
@media (prefers-reduced-motion: reduce) {
.wpai-chat-online-dot,
.wpai-chat-microphone.is-listening {
animation: none;
}
}
.wpai-chat-assistance-actions { display:flex; flex-wrap:wrap; gap:7px; align-self:flex-start; max-width:92%; }
.wpai-chat-assistance-actions button { padding:8px 11px; border:1px solid var(--wpai-chat-color,#ff8a00); border-radius:999px; color:var(--wpai-chat-color,#ff8a00); background:#fff; cursor:pointer; font:inherit; font-size:12px; font-weight:600; }
.wpai-chat-assistance-actions button:hover,.wpai-chat-assistance-actions button:focus { color:#fff; background:var(--wpai-chat-color,#ff8a00); }
.wpai-chat-contact-form small { display:block; color:#5f6368; font-size:11px; line-height:1.35; }