.site-bot-toggle{position:fixed;right:22px;bottom:78px;z-index:50;display:flex;align-items:center;justify-content:center;gap:8px;min-width:52px;height:52px;padding:0 15px;border:0;border-radius:28px;background:var(--store-forest);color:#fff;box-shadow:0 8px 24px rgba(20,55,44,.24);font-size:1.6rem;transition:transform .18s,box-shadow .18s}.site-bot-toggle:hover{transform:translateY(-2px);box-shadow:0 11px 28px rgba(20,55,44,.3)}.site-bot-toggle span{font-size:1.1rem;font-weight:600}.site-bot-toggle:focus-visible,.site-bot-panel button:focus-visible,.site-bot-panel a:focus-visible{outline:3px solid #97b97f;outline-offset:3px}.site-bot-panel{position:fixed;right:22px;bottom:140px;z-index:51;display:flex;width:min(390px,calc(100vw - 28px));max-height:min(610px,calc(100vh - 170px));flex-direction:column;overflow:hidden;border:1px solid #dce6dc;border-radius:18px;background:#fff;box-shadow:0 20px 60px rgba(15,42,34,.22)}.site-bot-panel[hidden]{display:none}.site-bot-header{display:flex;align-items:center;gap:11px;padding:14px 16px;background:linear-gradient(130deg,#173c35,#285b4f);color:#fff}.site-bot-avatar{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;background:rgba(255,255,255,.14);font-size:2rem}.site-bot-header>div{display:flex;flex:1;flex-direction:column;gap:2px}.site-bot-header strong{font-size:1.25rem}.site-bot-header small{color:rgba(255,255,255,.77);font-size:1rem}.site-bot-header button{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:transparent;color:#fff;font-size:1.8rem}.site-bot-header button:hover{background:rgba(255,255,255,.14)}.site-bot-log{display:flex;min-height:160px;flex:1;flex-direction:column;gap:9px;overflow:auto;padding:14px;background:#f7f9f6}.site-bot-message{width:fit-content;max-width:89%;padding:10px 12px;border:1px solid #e5ebe4;border-radius:4px 13px 13px 13px;background:#fff;color:#304b41;font-size:1.12rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.site-bot-message-label{display:block;margin-bottom:3px;color:#65806b;font-size:.95rem;font-weight:700}.site-bot-message.is-user{align-self:flex-end;border-color:#d9e8db;border-radius:13px 4px 13px 13px;background:#e8f1e8}.site-bot-products{display:grid;width:94%;gap:7px;align-self:flex-start}.site-bot-product{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid #dfe8dd;border-radius:10px;background:#fff;color:#173c35}.site-bot-product:hover{border-color:#9bb69a;background:#f5f8f3;color:#173c35}.site-bot-product strong{font-size:1.05rem;line-height:1.35}.site-bot-product span{color:#62776b;font-size:1rem}.site-bot-suggestions{display:flex;gap:7px;overflow:auto;padding:10px 12px 0;scrollbar-width:thin}.site-bot-suggestions button{flex:none;padding:7px 10px;border:1px solid #dce7dc;border-radius:18px;background:#fff;color:#31564a;font-size:1rem}.site-bot-suggestions button:hover{background:#eff5ee}.site-bot-compose{display:flex;gap:7px;margin:10px 12px;padding:6px;border:1px solid #dbe5db;border-radius:12px;background:#fff}.site-bot-compose:focus-within{border-color:#77977c;box-shadow:0 0 0 3px rgba(119,151,124,.13)}.site-bot-compose input{width:100%;min-width:0;padding:8px 9px;border:0;outline:0;background:transparent;color:#173c35;font:inherit;font-size:1.15rem;box-shadow:none}.site-bot-compose button{display:grid;width:38px;height:38px;flex:none;place-items:center;border:0;border-radius:9px;background:var(--store-forest);color:#fff;font-size:1.8rem}.site-bot-compose button:disabled{opacity:.55}.site-bot-status{min-height:14px;margin:0;padding:0 14px 7px;color:#718377;font-size:.95rem}.site-bot-ticket{padding:11px 14px;border-top:1px solid #edf0eb;color:#426957;font-size:1.05rem;text-align:center}.site-bot-ticket:hover{background:#f7f9f6;color:#173c35}@media(max-width:575px){.site-bot-toggle{right:14px;bottom:74px;height:48px}.site-bot-panel{right:10px;bottom:132px;width:calc(100vw - 20px);max-height:calc(100vh - 150px);border-radius:15px}}
.site-bot-product{flex-direction:row;align-items:center;gap:11px}.site-bot-product-image{display:block;width:58px;height:58px;flex:none;object-fit:contain;border-radius:7px;background:#f3f5f1}.site-bot-product-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.site-bot-product-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
/* Keep the assistant inside the viewport; the conversation is its only scrolling area. */
.site-bot-panel {
    height: min(610px, calc(100vh - 170px));
    max-height: calc(100vh - 170px);
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
}
.site-bot-log {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.site-bot-suggestions {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
    overscroll-behavior-x: contain;
}
.site-bot-suggestions button {
    flex: 0 0 auto;
    white-space: nowrap;
}
.site-bot-links{display:flex;flex-direction:column;border-top:1px solid #edf0eb;text-align:center}
.site-bot-faq-link{padding:9px 14px 3px;color:#426957;font-size:1.05rem}
.site-bot-faq-link:hover{color:#173c35;text-decoration:underline}
.site-bot-links .site-bot-ticket{padding-top:5px;border-top:0}
@media (max-width: 575px) {
    .site-bot-panel {
        height: calc(100vh - 150px);
        max-height: calc(100vh - 150px);
    }
}
