/* Focused polish using the existing GGEE brand. Unslop workflow: Damir Sokolovsky, CC BY 4.0. */
.chat-head{background:#fff}.ai-avatar{box-shadow:none}.chat-card,.rec-card{box-shadow:0 2px 8px #173c3e08}
.chat-body{height:600px;gap:16px;padding:24px;background:#f7f9fa;scroll-behavior:auto}
.chat-body>.msg{display:block;flex:0 0 auto;max-width:90%;min-width:0;padding:16px 20px;border:1px solid #e1e8e8;border-radius:16px;background:#fff;font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#293c40}
.chat-body>.msg.user{background:#0d666c;color:#fff;border-color:#0d666c;border-bottom-right-radius:4px;align-self:flex-end}
.chat-body>.msg.ai{border-bottom-left-radius:4px;align-self:flex-start}
.chat-body>.msg.chat-products{max-width:100%;width:100%;padding:0;border:0;background:transparent;white-space:normal}
.ai-products-heading{font-size:15px;font-weight:700;color:#07353a;margin:4px 0 8px}
.ai-result-status{font-size:12px;line-height:1.7;color:#687b80;margin:0 0 12px}
.ai-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.ai-product-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dfe7e7;border-radius:12px;background:#fff}
.ai-product-photo{height:144px;background:#f1f4f4;padding:12px;display:grid;place-items:center;color:#78888c;font-size:12px}
.ai-product-photo img{width:100%;height:100%;max-height:120px;object-fit:contain;mix-blend-mode:multiply}
.ai-product-content{padding:14px;min-width:0;display:flex;flex:1;flex-direction:column}
.ai-product-content h4{font-size:13px;line-height:1.65;font-weight:600;color:#233c40;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 12px;word-break:keep-all;overflow-wrap:anywhere;min-height:43px}
.ai-product-price{font-size:20px;font-weight:750;color:#0d666c;margin:0;font-variant-numeric:tabular-nums}
.ai-product-moq{font-size:11px;color:#718387;margin:4px 0 14px}
.ai-product-actions{display:flex;gap:8px;align-items:center;margin-top:auto;flex-wrap:wrap}
.ai-product-actions a{font-size:12px;line-height:1.4;padding:10px 8px;border-radius:7px;color:#315b60;text-align:center;text-decoration:none;flex:1;white-space:nowrap;border:1px solid #dce6e6}
.ai-product-actions a.ai-order-button{color:#fff;background:#0d666c;border-color:#0d666c;flex:1.7}
.ai-product-actions a:hover{filter:brightness(.94)}.ai-product-actions a:focus-visible{outline:2px solid #0d666c;outline-offset:3px}
.ai-search-link{display:inline-block;margin-top:14px;font-size:12px;color:#0d666c;font-weight:600}
.rec-list{max-height:690px;gap:0}.rec-list .ai-product-grid{grid-template-columns:1fr}.rec-list .ai-product-card{flex-direction:row}.rec-list .ai-product-photo{width:96px;height:auto;min-height:144px;flex:0 0 96px;padding:8px}.rec-list .ai-product-photo img{max-height:120px}.rec-list .ai-product-content{padding:12px}.rec-list .ai-product-price{font-size:18px}
@media(max-width:620px){.chat-body{height:560px;padding:16px}.chat-body>.msg{max-width:96%;padding:14px 16px;font-size:13px}.ai-product-grid{grid-template-columns:1fr}.chat-products .ai-product-card{flex-direction:row}.chat-products .ai-product-photo{width:96px;height:auto;flex:0 0 96px}.ai-product-content{padding:12px}.ai-product-actions a{padding:10px 6px;font-size:11px}.rec-list{max-height:540px}}

.ai-layout>*{min-width:0}.ai-product-content{overflow:hidden}@media(max-width:980px){.ai-layout{grid-template-columns:minmax(0,1fr)}}
