#store-ai[hidden]{display:none!important}
#store-ai-launcher{position:fixed;right:24px;bottom:24px;z-index:80;display:flex;align-items:center;gap:9px;min-width:78px;height:56px;padding:0 18px;background:var(--primary,#16834a);color:#fff;border:1px solid #ffffff70;border-radius:20px;box-shadow:0 8px 28px #153d3230;font:700 16px/1 system-ui,sans-serif;cursor:pointer}
#store-ai-launcher:hover{filter:brightness(.96);transform:translateY(-2px)}#store-ai-launcher svg{width:26px;height:26px}#store-ai-launcher:focus-visible,#store-ai-panel button:focus-visible,#store-ai-panel a:focus-visible{outline:3px solid #d69c34;outline-offset:3px}
#store-ai-panel{position:fixed;inset:auto 24px 94px auto;width:410px;height:min(660px,calc(100dvh - 120px));max-width:calc(100vw - 32px);max-height:none;margin:0;padding:0;border:1px solid #d6e4de;border-radius:24px;background:#fff;color:#193b30;box-shadow:0 18px 70px #183a3030;overflow:hidden;font:14px/1.5 system-ui,sans-serif}
#store-ai-panel:popover-open{display:flex;flex-direction:column}#store-ai-panel:not(:popover-open){display:none}#store-ai-panel *,#store-ai-panel *::before,#store-ai-panel *::after{box-sizing:border-box}#store-ai-panel [hidden]{display:none!important}#store-ai-panel button{font-family:inherit;cursor:pointer}#store-ai-panel button:disabled{opacity:.5;cursor:default}#store-ai-panel svg{width:22px;height:22px;flex:none}
.store-ai-header{display:flex;align-items:center;gap:12px;padding:19px 18px;background:#f2f8f5;border-bottom:1px solid #dfe9e4;flex:none}.store-ai-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--primary,#16834a);color:#fff}.store-ai-header>div{flex:1;min-width:0}.store-ai-header h2{margin:0!important;font-size:15px!important;line-height:1.4!important;overflow-wrap:anywhere}.store-ai-header>div>span{display:block;font-size:.8125rem;color:#4e6458;margin-top:3px}#store-ai-panel [data-chat-close]{border:0;background:#fff;color:#365f4f;border-radius:50%;width:34px;height:34px;flex:none;padding:0;font-size:26px;line-height:1}
.store-ai-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-bottom:1px solid #e5ede8;flex:none;font-size:.8125rem;color:#4e6458}#store-ai-panel [data-chat-new]{background:#fff;border:1px solid #d6e5dd;color:var(--primary,#16834a);padding:6px 10px;border-radius:9px;font-size:.8125rem;font-weight:650}
.store-ai-new{padding:12px 16px;background:#f8faf7;flex:none;border-bottom:1px solid #e1e8e2}.store-ai-new p{font-size:.875rem;margin:0 0 9px}.store-ai-new>div{display:flex;gap:8px;flex-wrap:wrap}.store-ai-new button{border:1px solid #cfdfd6;border-radius:8px;padding:8px;background:#fff;color:#275b42;font-size:.8125rem}.store-ai-new [data-chat-confirm]{background:var(--primary,#16834a);color:#fff}.store-ai-pause{padding:12px 16px;background:#fff5df;font-size:.875rem;border-bottom:1px solid #eedfbf;flex:none}
.store-ai-log{padding:20px 16px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;flex:1;min-height:80px;display:flex;flex-direction:column;gap:15px;background:#fafcfb;scrollbar-width:thin}.store-ai-welcome{margin:auto 0;text-align:center;padding:12px 6px}.store-ai-welcome>span{display:inline-grid;place-items:center;width:58px;height:58px;border:1px solid #d8e9df;border-radius:20px;color:var(--primary,#16834a);background:#eef6f1}.store-ai-welcome h3{font-size:21px;margin:15px 0 8px;letter-spacing:-.5px}.store-ai-welcome p{font-size:13px;line-height:1.65;color:#4e6458;white-space:pre-wrap}.store-ai-welcome>div{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:20px}.store-ai-welcome button{border:1px solid #dce7e0;padding:8px 10px;border-radius:10px;font-size:.8125rem;background:#fff;color:#33634b}
.store-ai-message{flex:none;align-self:flex-start;width:fit-content;max-width:94%;padding:13px;border:1px solid #dfe8e2;border-radius:15px 15px 15px 4px;background:#fff;min-width:0}.store-ai-message.is-user{align-self:flex-end;background:#edf6f0;border-color:#d6e6db;border-radius:15px 15px 4px 15px}.store-ai-message>small{font-size:.8125rem;font-weight:700;color:#387354}.store-ai-message>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;margin:6px 0 0}.store-ai-product{display:grid;gap:7px;padding:12px;margin-top:12px;border:1px solid #dde9e0;border-radius:10px;background:#fff;color:#244233;text-decoration:none}.store-ai-product:hover{border-color:var(--primary,#16834a)}.store-ai-product strong{font-size:.875rem;line-height:1.5}.store-ai-product>span{font-size:17px;font-weight:750}.store-ai-product>b{display:flex;justify-content:space-between;font-size:.8125rem;color:var(--primary,#16834a)}.store-ai-more{display:block;margin-top:12px;color:var(--primary,#16834a);font-size:.875rem;font-weight:650}
.store-ai-typing{align-self:flex-start;display:flex;align-items:center;gap:4px;flex:none;padding:12px 14px;background:#fff;border:1px solid #dfe8e2;border-radius:15px}.store-ai-typing i{width:5px;height:5px;border-radius:50%;background:var(--primary,#16834a);animation:store-ai-dot 1.2s infinite}.store-ai-typing i:nth-child(2){animation-delay:.15s}.store-ai-typing i:nth-child(3){animation-delay:.3s}.store-ai-typing>span{font-size:.8125rem;color:#4e6458;margin-left:5px}@keyframes store-ai-dot{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
.store-ai-error{margin:0;padding:10px 16px;background:#fff3f0;color:#8b3e30;flex:none;font-size:.875rem;max-height:100px;overflow:auto}.store-ai-recover{background:#fff;border:0;border-top:1px solid #e5ede8;padding:10px;color:var(--primary,#16834a);font-size:.875rem;flex:none}
.store-ai-composer{border-top:1px solid #dfebe3;padding:13px 16px 12px;background:#fff;flex:none;margin:0}.store-ai-composer>label{font-size:.8125rem;font-weight:650}.store-ai-composer textarea{display:block;width:100%;min-height:58px;max-height:100px;padding:10px;margin:6px 0 10px;border:1px solid #ccdfd2;border-radius:10px;font-family:inherit;font-size:13px;line-height:1.5;resize:vertical;background:#fff;color:#193b30}.store-ai-composer textarea:focus{outline:2px solid var(--primary,#16834a);outline-offset:1px}.store-ai-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-ai-compose-actions button{display:flex;align-items:center;gap:6px;border:0;border-radius:10px;font-size:.875rem;padding:10px 13px;font-weight:650}.store-ai-compose-actions [data-chat-image]{background:#f3f8f4;color:#39644b}.store-ai-compose-actions [data-chat-image] svg{width:16px;height:16px}.store-ai-compose-actions [data-chat-send]{background:var(--primary,#16834a);color:#fff}.store-ai-composer>small{display:block;font-size:.8125rem;color:#4e6458;margin-top:9px}.store-ai-attachment{display:flex;align-items:center;gap:9px;margin-bottom:10px;padding:7px;border:1px solid #dfe8e2;border-radius:9px}.store-ai-attachment img{width:36px;height:36px;object-fit:contain}.store-ai-attachment span{font-size:.8125rem;overflow-wrap:anywhere;flex:1;min-width:0}.store-ai-attachment button{border:0;background:#f2f7f3;font-size:20px;color:#345d45;border-radius:50%;width:28px;height:28px;padding:0}
@media(max-width:768px){#store-ai-launcher{right:16px;bottom:calc(88px + env(safe-area-inset-bottom,0px));height:52px;min-width:74px;border-radius:18px}#store-ai-panel{inset:auto 12px auto auto;top:calc(var(--chat-top,0px) + 12px);width:calc(100vw - 24px);max-width:none;height:calc(var(--chat-viewport-height,100dvh) - 24px);max-height:760px;border-radius:22px}.store-ai-header{padding:14px 15px}.store-ai-composer textarea{font-size:16px;resize:none}.store-ai-log{padding:16px 12px}.store-ai-composer{padding:11px 13px 12px}.store-ai-toolbar{padding:8px 14px}}
@media(max-height:500px){#store-ai-panel{inset:auto 12px auto auto;top:calc(var(--chat-top,0px) + 12px);width:min(500px,calc(100vw - 24px));height:calc(var(--chat-viewport-height,100dvh) - 24px);max-width:calc(100vw - 24px)}.store-ai-header{padding:8px 14px}.store-ai-mark{width:32px;height:32px}.store-ai-toolbar{padding:5px 14px}.store-ai-composer{padding:7px 12px}.store-ai-composer textarea{min-height:38px;height:38px;margin:4px 0 5px}.store-ai-composer>small{display:none}.store-ai-compose-actions button{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.store-ai-typing i{animation:none;opacity:.6}#store-ai-launcher:hover{transform:none}}
