#bmed-ai-root{--bmed-accent:#183b5b;--bmed-ink:#172b3f;--bmed-muted:#64748b;--bmed-line:#e5eaf0;position:fixed;right:24px;bottom:24px;z-index:999999;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--bmed-ink);font-size:14px;-webkit-font-smoothing:antialiased}#bmed-ai-root *{box-sizing:border-box}#bmed-ai-root button,#bmed-ai-root textarea{font-family:inherit}#bmed-ai-root .bmed-launcher{display:flex;align-items:center;gap:11px;border:0;border-radius:999px;padding:13px 19px;background:var(--bmed-accent);color:#fff;box-shadow:0 8px 28px rgb(15 35 55 / .24);font-size:14px;font-weight:650;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}#bmed-ai-root .bmed-launcher:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgb(15 35 55 / .28)}#bmed-ai-root .bmed-launcher-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid rgb(255 255 255 / .58);border-radius:50%;font-size:16px}#bmed-ai-root .bmed-panel{width:370px;max-width:calc(100vw - 32px);height:min(570px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgb(203 213 225 / .9);border-radius:20px;background:#f6f8fb;box-shadow:0 22px 70px rgb(15 23 42 / .25);transform-origin:bottom right;animation:bmed-pop .18s ease-out}@keyframes bmed-pop{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}#bmed-ai-root .bmed-panel[hidden],#bmed-ai-root .bmed-launcher[hidden]{display:none}#bmed-ai-root .bmed-header{display:flex;align-items:center;gap:12px;padding:17px 18px;background:linear-gradient(135deg,var(--bmed-accent),#245477);color:#fff;box-shadow:0 2px 8px rgb(15 35 55 / .12)}#bmed-ai-root .bmed-brand-mark{display:grid;place-items:center;flex:0 0 42px;height:42px;border:1px solid rgb(255 255 255 / .35);border-radius:13px;background:rgb(255 255 255 / .13);color:#fff;font-weight:800;font-size:14px;letter-spacing:.4px}#bmed-ai-root .bmed-brand-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}#bmed-ai-root .bmed-brand-copy strong{font-size:16px;line-height:1.2;font-weight:700;letter-spacing:-.2px}#bmed-ai-root .bmed-brand-copy small{font-size:12px;line-height:1.3;color:rgb(255 255 255 / .82)}#bmed-ai-root .bmed-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgb(255 255 255 / .24);border-radius:10px;background:rgb(255 255 255 / .1);color:#fff;font-size:23px;line-height:1;cursor:pointer;transition:background .15s ease}#bmed-ai-root .bmed-close:hover{background:rgb(255 255 255 / .2)}#bmed-ai-root .bmed-messages{flex:1;min-height:0;overflow:auto;padding:19px 16px 17px;display:flex;flex-direction:column;gap:13px;scroll-behavior:smooth}#bmed-ai-root .bmed-message{max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 15px;border-radius:15px;font-size:14px;line-height:1.58;letter-spacing:.01px}#bmed-ai-root .bmed-message.is-assistant{align-self:flex-start;background:#fff;border:1px solid var(--bmed-line);border-bottom-left-radius:5px;color:#27384a;box-shadow:0 2px 7px rgb(15 23 42 / .035)}#bmed-ai-root .bmed-message.is-user{align-self:flex-end;background:#e5eef7;border:1px solid #d7e3ef;color:#17334d;border-bottom-right-radius:5px}#bmed-ai-root .bmed-form{display:flex;align-items:flex-end;gap:9px;padding:13px 14px 10px;background:#fff;border-top:1px solid var(--bmed-line)}#bmed-ai-root .bmed-form textarea{flex:1;resize:none;max-height:112px;min-height:46px;border:1px solid #d6dee8;border-radius:13px;padding:12px 14px;background:#fbfcfe;color:#1f2937;font-size:14px;line-height:1.4;outline:none;transition:border-color .15s ease,box-shadow .15s ease}#bmed-ai-root .bmed-form textarea::placeholder{color:#8996a6}#bmed-ai-root .bmed-form textarea:focus{border-color:var(--bmed-accent);background:#fff;box-shadow:0 0 0 3px rgb(24 59 91 / .09)}#bmed-ai-root .bmed-form button{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:0;border-radius:13px;background:var(--bmed-accent);color:#fff;font-size:19px;cursor:pointer;transition:filter .15s ease,transform .15s ease}#bmed-ai-root .bmed-form button:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-1px)}#bmed-ai-root .bmed-form button:disabled{opacity:.55;cursor:wait}#bmed-ai-root .bmed-footnote{text-align:center;padding:1px 10px 11px;background:#fff;color:#8995a4;font-size:10px;letter-spacing:.15px}#bmed-ai-root .bmed-product-list{display:flex;flex-direction:column;gap:9px;margin-top:12px;width:min(100%,360px)}#bmed-ai-root .bmed-product-card{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:"img info" "desc desc" "actions actions";column-gap:12px;row-gap:9px;align-items:start;padding:11px;border:1px solid #e0e7ef;border-radius:13px;background:#fff;color:var(--bmed-ink);white-space:normal;box-shadow:0 2px 8px rgb(15 23 42 / .035);transition:border-color .15s ease,box-shadow .15s ease}#bmed-ai-root .bmed-product-card.no-image{grid-template-columns:minmax(0,1fr);grid-template-areas:"info" "desc" "actions"}#bmed-ai-root .bmed-product-card:hover{border-color:#c6d3e0;box-shadow:0 4px 12px rgb(15 23 42 / .07)}#bmed-ai-root .bmed-product-image-button{grid-area:img;display:block;width:96px;height:96px;padding:0;border:0;border-radius:9px;background:#fff;cursor:zoom-in}#bmed-ai-root .bmed-product-card img{display:block;width:96px;height:96px;object-fit:contain;border:1px solid #edf0f4;border-radius:9px;background:#fff;padding:3px}#bmed-ai-root .bmed-product-info{grid-area:info;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}#bmed-ai-root .bmed-product-name{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.38;font-weight:700;color:var(--bmed-accent);text-decoration:none}#bmed-ai-root .bmed-product-name:hover{text-decoration:underline}#bmed-ai-root .bmed-product-price{font-size:16px;line-height:1.3;color:#172b43;font-weight:750;letter-spacing:-.15px}#bmed-ai-root .bmed-price-box{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px}#bmed-ai-root .bmed-regular-price{font-size:12px;font-weight:500;color:#8a97a6;text-decoration:line-through}#bmed-ai-root .bmed-product-price.is-sale{color:#b42318}#bmed-ai-root .bmed-product-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:11px;line-height:1.4;color:var(--bmed-muted)}#bmed-ai-root .bmed-stock{font-weight:650;color:#32724f}#bmed-ai-root .bmed-stock.is-out{color:#9a4b4b}#bmed-ai-root .bmed-meta-sep{color:#b5c0cc}#bmed-ai-root .bmed-description{grid-area:desc;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;color:#59697a}#bmed-ai-root .bmed-product-actions{grid-area:actions;display:flex;gap:8px}#bmed-ai-root .bmed-cart-button,#bmed-ai-root .bmed-product-link{flex:1 1 0%;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;cursor:pointer;transition:background .15s ease,filter .15s ease}#bmed-ai-root .bmed-cart-button{border:0;background:var(--bmed-accent);color:#fff}#bmed-ai-root .bmed-cart-button:hover{filter:brightness(1.12);color:#fff}#bmed-ai-root .bmed-cart-button:disabled{opacity:.7;cursor:wait}#bmed-ai-root .bmed-cart-button.is-added{background:#2f7a52}#bmed-ai-root .bmed-product-link{border:1px solid #d5e0ea;background:#edf3f8;color:var(--bmed-accent)}#bmed-ai-root .bmed-product-link:hover{background:#e2ebf3}#bmed-ai-root .bmed-view-cart{grid-column:1/-1;justify-self:end;font-size:11px;font-weight:700;color:#2f7a52;text-decoration:none}#bmed-ai-root .bmed-view-cart:hover{text-decoration:underline}#bmed-ai-root .bmed-suggestion-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;max-width:100%}#bmed-ai-root .bmed-suggestion-label{width:100%;font-size:11px;color:#6b7b8d}#bmed-ai-root .bmed-suggestion{border:1px solid #d6e0ea;border-radius:999px;background:#fff;color:var(--bmed-accent);padding:7px 11px;font-size:11px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease}#bmed-ai-root .bmed-suggestion:hover,#bmed-ai-root .bmed-suggestion:focus{background:#edf3f8;border-color:#aebfd0}#bmed-ai-root .bmed-policy-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;padding-top:8px;border-top:1px solid #edf0f4}#bmed-ai-root .bmed-policy-links small{width:100%;font-size:10px;color:#718096}#bmed-ai-root .bmed-policy-links a{font-size:11px;color:#1769aa;text-decoration:underline}#bmed-ai-root .bmed-lightbox{position:fixed;inset:0;z-index:1000002;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:48px 22px 28px;background:rgb(8 18 30 / .94)}#bmed-ai-root .bmed-lightbox[hidden]{display:none}#bmed-ai-root .bmed-lightbox img{display:block;max-width:min(92vw,900px);max-height:75vh;width:auto;height:auto;object-fit:contain;background:#fff;border-radius:8px}#bmed-ai-root .bmed-lightbox-close{position:absolute;top:16px;right:18px;width:42px;height:42px;border:1px solid rgb(255 255 255 / .4);border-radius:50%;background:rgb(255 255 255 / .12);color:#fff;font-size:28px;cursor:pointer}#bmed-ai-root .bmed-lightbox-title{max-width:90%;color:#fff;font-size:15px;font-weight:650;text-align:center;text-decoration:underline}body.bmed-lightbox-open{overflow:hidden}#bmed-ai-root .bmed-correction-note{display:block;margin-top:8px;color:#718096;font-size:11px;line-height:1.4}#bmed-ai-root .bmed-typing{display:inline-flex;align-items:center;gap:5px;color:#718096;font-size:12px}#bmed-ai-root .bmed-typing i{width:5px;height:5px;border-radius:50%;background:#8b9aaa;animation:bmed-pulse 1s infinite ease-in-out}#bmed-ai-root .bmed-typing i:nth-child(2){animation-delay:.15s}#bmed-ai-root .bmed-typing i:nth-child(3){animation-delay:.3s}@keyframes bmed-pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}#bmed-ai-root .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){#bmed-ai-root{right:12px;bottom:12px}#bmed-ai-root .bmed-panel{width:calc(100vw - 24px);height:min(570px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:17px}#bmed-ai-root .bmed-header{padding:14px 15px}#bmed-ai-root .bmed-messages{padding:15px 12px}#bmed-ai-root .bmed-message{max-width:95%;font-size:14px}#bmed-ai-root .bmed-product-list{width:100%}#bmed-ai-root .bmed-product-card{grid-template-columns:80px minmax(0,1fr);column-gap:10px;padding:9px}#bmed-ai-root .bmed-product-card.no-image{grid-template-columns:minmax(0,1fr)}#bmed-ai-root .bmed-product-image-button{width:80px;height:80px}#bmed-ai-root .bmed-product-card img{width:80px;height:80px}}@media(prefers-reduced-motion:reduce){#bmed-ai-root *,#bmed-ai-root *:before,#bmed-ai-root *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}