:root{--panel:#131416;--panel-2:#1b1c1f;--line:#2b2c30;--text:#ececee;--muted:#9a9ca3;--red:#c0212c;--red-bright:#e0323d;--bubble-assistant:#212226;--bubble-user:#8c1f29;--line-strong:#34353b;--widget-w:min(calc(100vw - 48px), clamp(560px, 50vw, 860px));--widget-h:min(calc(100dvh - 48px), clamp(680px, 88dvh, 920px));--gutter:20px;--orange:#e8622a;--error-bg:#3a1a17;--error-text:#f5b5ae;--info-bg:#1c2433;--info-text:#a9c8f5;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{color:var(--text);background:#2a2a2c;margin:0;font:14px/1.5 Inter,system-ui,sans-serif}button{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,textarea:focus-visible{outline:2px solid var(--red-bright);outline-offset:2px}.site{min-height:100dvh;position:relative}.site-bg{z-index:0;background:#2a2a2c url(/arabuild-site.jpg) top/cover no-repeat;position:fixed;inset:0}.launcher{z-index:20;color:var(--text);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#131416eb;border:1px solid #e0323d8c;border-radius:999px;align-items:center;gap:4px;padding:6px 6px 6px 22px;transition:transform .25s,opacity .25s,box-shadow .25s;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 10px 30px #00000080,0 0 24px #c0212c40}.launcher:hover{transform:translateY(-2px);box-shadow:0 14px 34px #0000008c,0 0 30px #c0212c66}.launcher.hidden{opacity:0;pointer-events:none;transform:scale(.85)}.launcher-text{text-align:left;flex-direction:column;line-height:1.25;display:flex}.launcher-text strong{font-size:15px;font-weight:600}.launcher-text small{color:var(--muted);font-size:12px}.launcher-icon{border:1px solid var(--red);background:#1d1011;border-radius:50%;place-items:center;width:56px;height:56px;display:grid;position:relative}.launcher-icon .brand{width:40px;height:40px}.dot{background:var(--red-bright);width:12px;height:12px;box-shadow:0 0 0 2px #131416, 0 0 8px var(--red-bright);border-radius:50%;animation:2s infinite pulse;position:absolute;top:2px;right:2px}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.widget{z-index:30;width:var(--widget-w);height:var(--widget-h);background:var(--panel);border:1px solid var(--line);opacity:0;transform-origin:100% 100%;visibility:hidden;pointer-events:none;border-radius:16px;flex-direction:column;transition:opacity .25s,transform .25s,visibility 0s linear .25s;display:flex;position:fixed;bottom:24px;right:24px;overflow:hidden;transform:translateY(16px)scale(.97);box-shadow:0 24px 60px #0009}.widget.open{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s;transform:none}.widget-header{padding:16px 16px 14px var(--gutter);border-bottom:1px solid var(--line);align-items:center;gap:8px;display:flex}.widget-title{flex:1;min-width:0;margin-left:6px}.widget-title h1{margin:0;font-size:17px;font-weight:600}.widget-title span{color:var(--red-bright);font-size:13px}.icon-btn{width:36px;height:36px;color:var(--red-bright);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.icon-btn:hover:not(:disabled){background:#e0323d1f}.brand{background:url(/logo.svg) 50%/contain no-repeat;display:inline-block}.avatar{background-color:#1d1011;background-origin:content-box;border:1px solid #c0212c59;border-radius:50%;flex:none;width:44px;height:44px;padding:8px}.avatar.sm{width:36px;height:36px;padding:6px}.avatar-slot{flex:none;width:36px}.messages{padding:var(--gutter);scrollbar-width:thin;scrollbar-color:#3a3b40 transparent;flex-direction:column;flex:1;display:flex;overflow-y:auto}.row{align-items:flex-start;gap:8px;max-width:85%;margin-top:4px;display:flex}.row.first{margin-top:16px}.row:first-child{margin-top:0}.row:has(.product-cards){max-width:92%}.row.assistant{align-self:flex-start}.row.user{align-self:flex-end}.stack{flex-direction:column;align-items:flex-start;gap:8px;min-width:0;display:flex}.row.user .stack{align-items:flex-end}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px;min-width:0;padding:12px 16px;font-size:15px;line-height:1.55}.bubble.user{background:var(--bubble-user);color:#fff}.bubble.assistant{background:var(--bubble-assistant);border:1px solid var(--line-strong)}.bubble .para+.para{margin-top:10px}.bubble .para p{margin:0}.bubble .para ul{margin:2px 0 0;padding-left:18px}.row.assistant.last .bubble{border-bottom-left-radius:4px}.row.user.last .bubble{border-bottom-right-radius:4px}.product-cards{flex-wrap:wrap;gap:6px;max-width:100%;display:flex}.product-card{border:1px solid var(--line-strong);background:var(--bubble-assistant);width:140px;color:var(--text);border-radius:12px;flex-direction:column;flex:none;gap:6px;padding:6px;display:flex}.product-card:hover{border-color:var(--red)}.product-view{color:inherit;background:0 0;border:0;flex-direction:column;flex:1;justify-content:flex-start;gap:6px;padding:0;display:flex}.product-view img{aspect-ratio:1;object-fit:cover;background:#17181a;border-radius:8px;width:100%;display:block}.product-view span{text-align:center;overflow-wrap:anywhere;font-size:12px;line-height:1.3}.product-view .product-name{font-weight:500}.product-view .product-subtitle{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.25;display:-webkit-box;overflow:hidden}.add-btn{border:1px solid var(--red);color:var(--text);background:0 0;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600}.add-btn:hover:not(:disabled){background:var(--red)}.add-btn:disabled{cursor:default;opacity:.85}.add-btn.in-cart{border-color:var(--info-text);color:var(--info-text);background:var(--info-bg)}.add-btn.pending{border-color:var(--line-strong);color:var(--muted)}.image-viewer{border:1px solid var(--line-strong);background:var(--panel);width:min(820px,92vw);max-width:92vw;max-height:90dvh;color:var(--text);border-radius:16px;padding:0}.image-viewer::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b8}.viewer-body{flex-direction:column;gap:12px;padding:12px 16px 16px;display:flex}.viewer-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.viewer-head h2{overflow-wrap:anywhere;margin:0;font-size:17px}.viewer-head small{color:var(--muted);font-size:12px;font-weight:400;display:block}.viewer-head .icon-btn{flex:none}.viewer-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.viewer-content img{object-fit:contain;border-radius:8px;width:100%;max-height:min(60dvh,90dvh - 160px);display:block}.viewer-info{font-size:13px}.viewer-info p{margin:10px 0 0}.viewer-info dl{margin:0}.viewer-info dl>div{border-bottom:1px solid var(--line);grid-template-columns:96px minmax(0,1fr);gap:8px;padding:6px 0;display:grid}.viewer-info dt{color:var(--muted)}.viewer-info dd{overflow-wrap:anywhere;margin:0}.viewer-note{color:var(--muted)}.viewer-body>.add-btn{background:var(--panel);box-shadow:0 12px 0 var(--panel);align-self:stretch;padding:10px;font-size:14px;position:sticky;bottom:12px}.viewer-body>.add-btn:hover:not(:disabled){background:var(--red)}@media (width<=640px){.viewer-content{grid-template-columns:minmax(0,1fr)}.viewer-content img{max-height:36dvh}}.typing{align-items:center;gap:4px;padding:14px 16px;display:flex}.typing span{background:var(--muted);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite blink}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.prompts{margin-top:16px}.prompts p{margin:0 0 10px;font-size:14px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--panel-2);color:var(--text);border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;transition:border-color .2s,background .2s;display:inline-flex}.chip svg{color:var(--red-bright)}.chip:hover:not(:disabled){border-color:var(--red);background:#241517}.banner{margin:0 var(--gutter) 8px;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-size:13px;display:flex}.banner.error{background:var(--error-bg);color:var(--error-text)}.banner.info{background:var(--info-bg);color:var(--info-text)}.banner button{color:inherit;background:0 0;border:1px solid;border-radius:6px;padding:4px 12px}.composer{padding:10px var(--gutter) 4px}.composer-box{border:1px solid var(--line);background:var(--panel-2);border-radius:14px;align-items:center;gap:8px;padding:8px 8px 8px 16px;display:flex}.composer-box:focus-within{border-color:var(--red)}.composer textarea{resize:none;color:var(--text);font:inherit;background:0 0;border:0;flex:1;max-height:120px;padding:6px 0;font-size:15px}.composer textarea:focus-visible{outline:none}.composer textarea::placeholder{color:#6e7078}.send{width:40px;height:40px;color:var(--red-bright);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.send:hover:not(:disabled){background:#e0323d24}.powered{text-align:center;color:var(--muted);padding:6px 0 14px;font-size:11px}.powered .accent{color:var(--red-bright);font-weight:500}@media (width<=520px){:root{--gutter:16px}.launcher{bottom:12px;right:12px}.widget{border:0;border-radius:0;width:100%;height:100dvh;bottom:0;right:0}.widget-header{padding:12px 10px 12px var(--gutter);gap:6px}.widget-header .avatar{width:40px;height:40px;padding:7px}.widget-title h1{white-space:nowrap;text-overflow:ellipsis;font-size:16px;overflow:hidden}.icon-btn{width:34px;height:34px}.row{gap:6px}.avatar.sm{width:26px;height:26px;padding:4px}.avatar-slot{width:26px}.bubble{border-radius:16px;padding:10px 14px}.product-card{width:124px}}@media (width<=360px){.widget-header .avatar{width:34px;height:34px;padding:6px}.widget-title{margin-left:0}.widget-title h1{font-size:15px}.icon-btn{width:32px;height:32px}}@media (height<=520px){.widget-header{padding:8px 12px 8px var(--gutter)}.widget-header .avatar{width:32px;height:32px;padding:6px}.widget-title h1{font-size:15px}.icon-btn{width:32px;height:32px}.powered{display:none}}@media (width>=521px) and (height<=520px){.widget{height:100dvh;width:min(var(--widget-w), 100vw);border-right:0;border-radius:16px 0 0 16px;top:0;bottom:0;right:0}}@media (prefers-reduced-motion:reduce){.widget,.launcher{transition:none}.dot{animation:none}}
