/* Консультант в чате (владелец 10.10.2026): стиль окна темы сохранён, окно чуть больше, фото и подпись
   консультанта светлой строкой (без тёмной плашки), подсказки, карточки товаров. */
.chat-panel.vgk{width:420px;max-width:calc(100% - 24px)}
.chat-panel.vgk .dialog-heading{padding-bottom:14px}
.vgk .chat-messages{height:min(340px,calc(100dvh - 400px));min-height:190px;padding:14px 6px 14px 0;gap:12px;margin-bottom:10px}

.vgk-persona{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line,#e5e5e5)}
.vgk-avatar{position:relative;flex:none;width:48px;height:48px}
.vgk-avatar img{display:block;width:48px;height:48px;border-radius:50%;object-fit:cover;background:#f3f3f3}
.vgk-avatar i{position:absolute;right:1px;bottom:1px;width:11px;height:11px;border-radius:50%;background:#2e9f5b;box-shadow:0 0 0 2px #fff}
.vgk-who{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.vgk-who b{font-size:16px;font-weight:650;color:#171717}
.vgk-who>span{font-size:13px;color:#555}
.vgk-who small{display:flex!important;align-items:center;gap:6px;margin-top:3px!important;font-size:12px!important;color:#777!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vgk-who small i{flex:none;width:7px;height:7px;border-radius:50%;background:#2e9f5b}

.vgk-row{display:flex;align-items:flex-end;gap:8px;max-width:100%}
.vgk-row.is-user{justify-content:flex-end}
.vgk-row>img{flex:none;width:26px;height:26px;border-radius:50%;object-fit:cover;margin-bottom:2px}
.vgk .chat-bubble{max-width:calc(100% - 34px);border-radius:10px;font-size:14px;line-height:1.55;padding:11px 13px}
.vgk .chat-bubble.assistant{background:#f3f3f3;border-bottom-left-radius:3px}
.vgk .chat-bubble.customer{border-bottom-right-radius:3px;max-width:85%}
.vgk .chat-bubble a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.vgk .chat-bubble a.vgk-tel{font-weight:600;text-decoration-color:#f36d21}

.vgk-cards{display:grid;gap:8px;margin:0 0 2px 34px}
.vgk-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:11px;align-items:center;padding:8px 10px 8px 8px;border:1px solid var(--line,#e5e5e5);border-radius:8px;background:#fff;color:#171717;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.vgk-card:hover{border-color:#171717;box-shadow:0 6px 18px #0000000f}
.vgk-card img{width:64px;height:64px;object-fit:contain;border-radius:5px;background:#f6f6f6;mix-blend-mode:multiply}
.vgk-card b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:500;line-height:1.35}
.vgk-card-price{display:flex;align-items:baseline;gap:7px;margin-top:4px;font-size:14px;font-weight:650;white-space:nowrap}
.vgk-card-price s{font-size:12px;font-weight:400;color:#8a8a8a}
.vgk-card-sizes{margin-top:3px;font-size:11.5px;color:#777;line-height:1.35;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.vgk-card-sizes .ok{color:#2e7d4f;font-weight:600}
.vgk-card-sizes .no{color:#b0503a}

.vgk-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.vgk-chips:empty{display:none}
.vgk-chips button{border:1px solid #dcdcdc;border-radius:18px;background:#fff;padding:7px 13px;font:inherit;font-size:13px;line-height:1.2;color:#222;cursor:pointer;transition:border-color .2s,background .2s}
.vgk-chips button:hover{border-color:#171717}

.vgk-typing{display:inline-flex;gap:4px;padding:14px 14px!important}
.vgk-typing span{width:6px;height:6px;border-radius:50%;background:#9a9a9a;animation:vgk-dot 1.2s infinite ease-in-out}
.vgk-typing span:nth-child(2){animation-delay:.15s}
.vgk-typing span:nth-child(3){animation-delay:.3s}
@keyframes vgk-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.vgk-typing span{animation:none;opacity:.6}}

.vgk-form .vgk-consent{margin:0 0 10px}
.vgk-form .vgk-consent.is-required{color:#b0503a}
.vgk-form textarea{display:block;width:100%;min-height:58px;max-height:160px;border:1px solid var(--line,#e5e5e5);border-radius:6px;padding:10px 12px;font:inherit;font-size:14px;line-height:1.45;resize:vertical}
.vgk-form textarea:focus{outline:none;border-color:#171717}
.vgk-actions{display:flex;align-items:center;gap:14px;margin-top:10px}
.vgk-actions .button{min-height:44px;padding:10px 24px}
.vgk-status{margin:8px 0 0;font-size:12px;color:#b0503a}
.vgk-status:empty{display:none}

@media (max-width:800px){
	.chat-panel.vgk{width:auto}
	.vgk .chat-messages{height:calc(100dvh - 430px);min-height:170px;max-height:none}
	.vgk-form textarea{font-size:16px}
	.vgk-cards{margin-left:0}
}
