/* Lightweight, isolated styles; no store/cart/checkout selectors are changed. */
.bca-root{--bca-ink:#272b3d;--bca-muted:#7b8091;--bca-red:#9c2443;--bca-line:#e9e9f0;font-family:inherit;font-size:13px;color:var(--bca-ink);line-height:1.8}
.bca-root *{box-sizing:border-box}
.bca-root{--bca-side:20px;--bca-bottom:24px}
.bca-root .bca-launcher{position:fixed;inset:auto;inset-inline-end:var(--bca-side);bottom:var(--bca-bottom);z-index:1000110;display:grid;place-items:center;width:60px;height:60px;min-height:60px;padding:0;background:linear-gradient(145deg,#aa2e4b,#84203b);color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 7px 26px #6e153d35;text-decoration:none!important;cursor:pointer;line-height:1;transition:box-shadow .18s,transform .18s}
.bca-root .bca-launcher:hover{color:#fff;box-shadow:0 8px 30px #6e153d50;transform:translateY(-2px)}
.bca-root .bca-launcher-glyph,.bca-root .bca-launcher-collapse{display:grid;place-items:center;width:100%;height:100%}.bca-root .bca-launcher svg{display:block;margin:0;color:inherit}
.bca-root .bca-launcher-collapse{display:none}.bca-root.is-open .bca-launcher-glyph{display:none}.bca-root.is-open .bca-launcher-collapse{display:grid}
.bca-root .bca-intro{position:fixed;inset:auto;inset-inline-end:var(--bca-side);bottom:calc(var(--bca-bottom) + 73px);z-index:1000110;background:#fff;color:#34374a;padding:10px 15px;border:1px solid #e6dde3;border-radius:14px;box-shadow:0 5px 22px #272b3d1c;font-size:12px;font-weight:700;line-height:1.7;max-width:calc(100vw - 30px);pointer-events:none;animation:bca-intro-in .2s ease-out}
.bca-root .bca-intro:after{content:'';position:absolute;inset-inline-end:23px;bottom:-5px;width:8px;height:8px;background:#fff;border-right:1px solid #e6dde3;border-bottom:1px solid #e6dde3;transform:rotate(45deg)}
.bca-root [hidden]{display:none!important}
@keyframes bca-intro-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.bca-root dialog.bca-window{position:fixed;inset:auto;inset-inline-end:var(--bca-side);bottom:calc(var(--bca-bottom) + 76px);z-index:1000100;width:410px;height:min(680px,calc(100vh - var(--bca-bottom) - 92px));height:min(680px,calc(100dvh - var(--bca-bottom) - 92px));max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--bca-bottom) - 92px);margin:0;padding:0;border:1px solid #e1dce5;border-radius:22px;background:#fff;color:var(--bca-ink);box-shadow:0 18px 80px #23243735;overflow:hidden;font-family:inherit;font-size:13px;line-height:1.8}
.bca-root .bca-window[open]{display:flex;flex-direction:column}
.bca-window::backdrop{background:#20243490}
.bca-window [hidden]{display:none!important}
.bca-root .bca-window button,.bca-root .bca-window input,.bca-root .bca-window textarea{font-family:inherit;letter-spacing:0}
.bca-root .bca-window button{cursor:pointer;box-shadow:none;text-transform:none}
.bca-root .bca-window button:disabled{cursor:default;opacity:.55}
.bca-root .bca-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 18px;background:linear-gradient(125deg,#fff,#fbf1f4);border-bottom:1px solid #f0e4e9;flex:none}
.bca-brand{display:flex;align-items:center;gap:11px;min-width:0}.bca-avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#f3e4eb;color:#972440}.bca-avatar svg{width:27px;height:27px;display:block}
.bca-root .bca-header h2{font-family:inherit;font-size:16px;font-weight:800;line-height:1.7;margin:0;color:#303245;letter-spacing:0}
.bca-root .bca-subtitle{font-size:10px;color:#8b6575;line-height:1.7}
.bca-root .bca-close{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;padding:0;border:1px solid #e8dce2;border-radius:10px;background:#fff;color:#5c4d59;font-size:25px;line-height:1;font-weight:400}
.bca-root .bca-preview{position:absolute;top:3px;inset-inline-end:63px;background:#fff0cc;color:#80611e;border-radius:4px;padding:1px 5px;font-size:8px}
.bca-root .bca-status-bar{display:flex;justify-content:space-between;gap:10px;padding:9px 17px;border-bottom:1px solid var(--bca-line);font-size:10px;color:#666f83;flex:none;background:#fff}
.bca-root .bca-online{font-size:9px;color:#7b8091}.bca-root .bca-online.is-online{color:#278064}.bca-root .bca-online.is-online:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#278064;margin-inline-end:5px}
.bca-root .bca-messages{flex:1;min-height:80px;overflow-y:auto;padding:18px 15px;background:linear-gradient(180deg,#fafafd,#fff);scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin}
.bca-root .bca-welcome{padding:12px 8px;text-align:center}.bca-root .bca-welcome-icon{display:inline-grid;place-items:center;width:44px;height:44px;background:#f7e9ef;color:#9c2443;border-radius:14px;font-size:25px}
.bca-root .bca-welcome h3{font-family:inherit;font-size:17px;line-height:1.8;font-weight:800;color:#33364b;margin:13px 0 7px}
.bca-root .bca-welcome p{font-size:12px;line-height:2;color:#72798c;margin:0 0 18px}
.bca-root .bca-chips{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.bca-root .bca-chips button{border:1px solid #e2dfe7;border-radius:9px;background:#fff;color:#4f5368;padding:8px 11px;font-size:10px;line-height:1.8}
.bca-root .bca-message{max-width:100%;border:1px solid #e9e7ee;border-radius:14px 14px 4px 14px;background:#fff;padding:11px 13px;margin:0 0 13px;box-shadow:0 2px 7px #20243803;overflow-wrap:anywhere}
.bca-root .bca-message p{font-size:12px;line-height:2.1;color:#3b4055;margin:3px 0 0;white-space:pre-wrap;direction:auto}
.bca-root .bca-role{font-size:9px;font-weight:700;color:#9c2443;display:block}
.bca-root .bca-customer{width:fit-content;max-width:90%;margin-inline-start:0;margin-inline-end:auto;background:#f8edf2;border-color:#f0e3e9;border-radius:14px 14px 14px 4px}.bca-root .bca-customer .bca-role{color:#8c6377}
.bca-root .bca-system{background:#f0f5f3;border-color:#dfeae5;text-align:center}.bca-root .bca-system .bca-role{color:#4b7b69}.bca-root .bca-system p{font-size:11px;color:#4a665a}
.bca-root .bca-staff{border-color:#d4e7de;background:#fbfefc}.bca-root .bca-staff .bca-role{color:#287859}
.bca-root .bca-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.bca-root .bca-product{display:flex;flex-direction:column;min-width:0;padding:8px;border:1px solid #e9e9ee;border-radius:10px;background:#fff;color:#33394c;text-decoration:none!important;text-align:start}
.bca-root .bca-product img{display:block;width:100%;height:100px;object-fit:contain;margin:0 0 7px;border:0;border-radius:6px;background:#fff}
.bca-root .bca-product-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.9;font-weight:600;min-height:38px;margin:0 0 8px;color:#3a3d50}
.bca-root .bca-price{display:block;font-size:11px;line-height:1.9;font-weight:800;color:#292e40;margin-top:auto}.bca-root .bca-stock{font-size:9px;color:#53806d;margin:4px 0}
.bca-root .bca-view{font-size:9px;font-weight:700;color:#9c2443;padding-top:5px;border-top:1px solid #f0edf2;margin-top:3px}
.bca-root .bca-links{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.bca-root .bca-links a{font-size:10px;color:#9c2443;text-decoration:none;border-bottom:1px solid #e4bbc8;line-height:1.9}
.bca-root .bca-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 15px 5px;border-top:1px solid var(--bca-line);flex:none;background:#fff}
.bca-root .bca-toolbar button{font-size:10px;font-weight:600;line-height:1.9;padding:7px 10px;border:1px solid #eadde3;background:#fff8fa;color:#91243e;border-radius:8px}.bca-root .bca-toolbar .bca-new{background:#fff;border-color:#e8e8ef;color:#73798a}
.bca-root .bca-contact{padding:3px 16px 8px;font-size:10px;flex:none;background:#fff}.bca-root .bca-contact summary{cursor:pointer;color:#777e8e;font-size:10px;line-height:1.9}
.bca-root .bca-contact form{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.bca-root .bca-contact input{width:100%;height:34px;border:1px solid #e0e2ea;border-radius:7px;padding:6px 8px;font-size:10px;color:#30364b;background:#fff;box-shadow:none}
.bca-root .bca-contact button{grid-column:1/-1;padding:5px 10px;background:#9c2443;color:#fff;border:0;border-radius:7px;font-size:10px;line-height:1.9}
.bca-root .bca-composer{padding:8px 14px 12px;background:#fff;flex:none;margin:0;border-top:1px solid #f0f0f5}
.bca-root .bca-entry{display:flex;align-items:stretch;gap:7px}
.bca-root .bca-entry textarea{display:block;resize:none;flex:1;min-width:0;width:100%;min-height:48px;height:55px;max-height:100px;background:#fcfcfe;border:1px solid #dfdfe9;border-radius:10px;padding:8px 10px;color:#33384b;font-size:12px;line-height:1.8;box-shadow:none;margin:0}
.bca-root .bca-entry .bca-send{flex:0 0 55px;width:55px;min-height:48px;padding:5px;background:#9c2443;color:#fff;border:0;border-radius:10px;font-size:11px;font-weight:700;line-height:1.8}
.bca-root .bca-meta{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-top:7px;color:#8a8190;font-size:9px;line-height:1.8}
.bca-root .bca-privacy-note{position:relative;font-size:9px;color:#7b7282;max-width:72%}.bca-root .bca-privacy-note summary{cursor:pointer;font-size:9px;line-height:1.8;color:#8b5269;text-align:end}
.bca-root .bca-privacy-note p{font-size:10px;line-height:1.9;color:#666b7c;margin:7px 0;max-height:100px;overflow-y:auto}
.bca-root .bca-policy{font-size:10px;color:#8f4b65;text-decoration:underline;text-underline-offset:2px;line-height:1.8}
.bca-root .bca-feedback{font-size:10px;line-height:1.8;color:#9c2443;margin:4px 0 0;white-space:pre-line}.bca-root .bca-feedback:empty{display:none}
.bca-root button:focus-visible,.bca-root a:focus-visible,.bca-root textarea:focus-visible,.bca-root input:focus-visible{outline:3px solid #b9c9f8;outline-offset:2px}
html.bca-chat-open{overflow:hidden!important}
@media(max-width:600px){
 .bca-root{--bca-side:14px;--bca-bottom:calc(96px + env(safe-area-inset-bottom))}.bca-root.is-open{--bca-bottom:calc(14px + env(safe-area-inset-bottom))}
 .bca-root .bca-launcher{width:56px;height:56px;min-height:56px}
 .bca-root dialog.bca-window{inset:auto 10px;bottom:calc(var(--bca-bottom) + 68px);width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:min(690px,calc(100dvh - var(--bca-bottom) - 80px));max-height:calc(100dvh - var(--bca-bottom) - 80px);border-radius:19px;margin:0}
 .bca-root .bca-header{padding:12px 14px}.bca-root .bca-header h2{font-size:15px}
 .bca-root .bca-messages{padding:13px;min-height:0}.bca-root .bca-composer{padding:8px 12px 10px}
 .bca-root .bca-entry textarea{font-size:16px;line-height:1.5;height:50px;min-height:50px}.bca-root .bca-contact input{font-size:16px}
 .bca-root .bca-message p{font-size:13px}.bca-root .bca-intro{font-size:12px;bottom:calc(var(--bca-bottom) + 68px)}
}
@media(max-height:500px){.bca-root .bca-header{padding-block:6px}.bca-root .bca-avatar{width:30px;height:30px;flex-basis:30px}.bca-root .bca-avatar svg{width:22px;height:22px}.bca-root .bca-header h2{font-size:12px}.bca-root .bca-subtitle{display:none}.bca-root .bca-status-bar{padding-block:4px;font-size:9px}.bca-root .bca-entry textarea{height:40px;min-height:40px}.bca-root .bca-entry .bca-send{min-height:40px}.bca-root .bca-toolbar{padding-block:3px}.bca-root .bca-toolbar button{padding-block:4px}.bca-root .bca-contact{display:none}.bca-root .bca-composer{padding-block:6px}.bca-root .bca-meta{margin-top:3px}.bca-root .bca-messages{padding-block:7px;min-height:0}}
@media(prefers-reduced-motion:reduce){.bca-root .bca-messages{scroll-behavior:auto}.bca-root .bca-launcher{transition:none}.bca-root .bca-launcher:hover{transform:none}.bca-root .bca-intro{animation:none}}

/* Message sides follow the interface language, independent of the text direction. */
.bca-root .bca-assistant,.bca-root .bca-staff{width:fit-content;max-width:90%;margin-inline-start:auto;margin-inline-end:0;border-radius:14px;border-end-end-radius:4px}
.bca-root .bca-customer{border-radius:14px;border-end-start-radius:4px}
.bca-root .bca-system{width:fit-content;max-width:95%;margin-inline:auto;border-radius:12px}
.bca-root .bca-delivery{display:block;font-size:9px;line-height:1.8;margin-top:6px;color:#8c6377}
.bca-root .bca-failed{border-style:dashed}.bca-root .bca-retry{display:block;background:#fff;color:#8f2442;border:1px solid #dfc5cf;border-radius:7px;padding:4px 9px;margin-top:6px;font-size:10px}
.bca-root .bca-typing{color:#777b8b}.bca-root .bca-typing-text{font-size:11px;line-height:1.9}
.bca-root .bca-typing-dots{display:inline-flex;gap:3px;margin-inline-start:8px;vertical-align:middle}
.bca-root .bca-typing-dots i{display:block;width:4px;height:4px;border-radius:50%;background:#9c2443;animation:bca-typing-pulse 1.1s infinite}.bca-root .bca-typing-dots i:nth-child(2){animation-delay:.15s}.bca-root .bca-typing-dots i:nth-child(3){animation-delay:.3s}
@keyframes bca-typing-pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.bca-root .bca-typing-dots i{animation:none}}
