/* Тема MVV: чат бот с готови отговори */
#mvv-chat, #mvv-chat * { box-sizing: border-box; }
.mvvc-btn{
  position:fixed; right:20px; bottom:20px; z-index:9998;
  width:60px; height:60px; border-radius:50%; border:0; cursor:pointer;
  background:var(--teal,#1d6a78); color:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.25);
  display:flex; align-items:center; justify-content:center;
  transition:transform .15s, background .15s;
}
.mvvc-btn:hover{ transform:scale(1.06); background:var(--teal,#15525d); }
.mvvc-btn svg{ width:28px; height:28px; }
.mvvc-btn .mvvc-badge{
  position:absolute; top:-2px; right:-2px; background:var(--pink,#d6336c); color:#fff;
  font:700 11px/1 Arial,sans-serif; padding:4px 6px; border-radius:10px;
}
.mvvc-panel{
  position:fixed; right:20px; bottom:92px; z-index:9999;
  width:360px; max-width:calc(100vw - 32px); height:560px; max-height:calc(100vh - 120px);
  background:#fff; border-radius:14px; overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,.28);
  display:none; flex-direction:column;
  font-family:inherit;
}
.mvvc-panel.open{ display:flex; }
.mvvc-head{ background:var(--teal,#1d6a78); color:#fff; padding:14px 16px; display:flex; align-items:center; gap:10px; }
.mvvc-head b{ font-size:15px; flex:1; line-height:1.25; }
.mvvc-head .mvvc-close{ background:0; border:0; color:#fff; cursor:pointer; font-size:22px; line-height:1; opacity:.9; }
.mvvc-head .mvvc-close:hover{ opacity:1; }
.mvvc-body{ flex:1; overflow-y:auto; padding:14px; background:#f6f8f9; }
.mvvc-msg{ margin-bottom:12px; display:flex; }
.mvvc-msg.bot{ justify-content:flex-start; }
.mvvc-msg.user{ justify-content:flex-end; }
.mvvc-bubble{
  max-width:84%; padding:10px 13px; border-radius:14px; font-size:14px; line-height:1.45;
  white-space:pre-wrap; word-wrap:break-word;
}
.mvvc-msg.bot .mvvc-bubble{ background:#fff; color:#222; border:1px solid #e3e8ea; border-bottom-left-radius:4px; }
.mvvc-msg.user .mvvc-bubble{ background:var(--teal,#1d6a78); color:#fff; border-bottom-right-radius:4px; }
.mvvc-bubble a{ color:inherit; text-decoration:underline; }
.mvvc-chips{ display:flex; flex-wrap:wrap; gap:7px; margin:0 0 12px 0; }
.mvvc-chip{
  border:1px solid var(--teal,#1d6a78); color:var(--teal,#1d6a78); background:#fff;
  border-radius:16px; padding:7px 12px; font-size:13px; cursor:pointer; line-height:1.2; text-align:left;
}
.mvvc-chip:hover{ background:var(--teal,#1d6a78); color:#fff; }
.mvvc-links{ display:flex; flex-direction:column; gap:6px; margin:-4px 0 12px 0; }
.mvvc-link{
  display:inline-flex; align-items:center; gap:7px; align-self:flex-start;
  background:#fff; border:1px solid #e3e8ea; border-radius:8px; padding:8px 12px;
  font-size:13px; font-weight:600; color:var(--teal,#1d6a78); text-decoration:none;
}
.mvvc-link:hover{ background:var(--teal,#1d6a78); color:#fff; }
.mvvc-designwrap{ margin:2px 0 12px 0; }
.mvvc-design-link{
  display:flex; align-items:center; gap:10px; width:100%;
  background:var(--teal,#1d6a78); color:#fff; text-decoration:none;
  border-radius:10px; padding:12px 14px; font-size:14px; font-weight:800; line-height:1.25;
  box-shadow:0 4px 14px rgba(29,106,120,.35); border:2px solid rgba(255,255,255,.25);
  animation:mvvc-dl-pulse 1.8s ease-in-out 3;
}
.mvvc-design-link:hover{ filter:brightness(1.08); color:#fff; }
.mvvc-design-link .mvvc-dl-ico{ flex:0 0 22px; display:flex; }
.mvvc-design-link .mvvc-dl-ico svg{ width:22px; height:22px; }
@keyframes mvvc-dl-pulse{ 0%,100%{ box-shadow:0 4px 14px rgba(29,106,120,.35); } 50%{ box-shadow:0 4px 22px rgba(29,106,120,.6); } }
.mvvc-contacts{ display:flex; flex-direction:column; gap:7px; margin:0 0 12px 0; }
.mvvc-contact{
  display:inline-flex; align-items:center; gap:9px; align-self:flex-start;
  border-radius:8px; padding:9px 13px; font-size:14px; font-weight:700; color:#fff; text-decoration:none;
}
.mvvc-contact svg{ width:18px; height:18px; flex:0 0 18px; }
.mvvc-contact.phone{ background:#2b7a9e; }
.mvvc-contact.email{ background:#5a6b78; }
.mvvc-contact.viber{ background:#7360f2; }
.mvvc-contact.whatsapp{ background:#25d366; }
.mvvc-contact.form{ background:var(--teal,#1d6a78); }
.mvvc-contact:hover{ filter:brightness(1.08); }
.mvvc-orderform{ background:#fff; border:1px solid #e3e8ea; border-radius:10px; padding:12px; margin-bottom:12px; }
.mvvc-orderform input{ width:100%; margin-bottom:8px; padding:9px 11px; border:1px solid #cfd8dc; border-radius:7px; font-size:14px; }
.mvvc-orderform button{ width:100%; padding:9px; border:0; border-radius:7px; background:var(--teal,#1d6a78); color:#fff; font-weight:700; cursor:pointer; font-size:14px; }
.mvvc-orderform button:hover{ filter:brightness(1.08); }
.mvvc-foot{ border-top:1px solid #e3e8ea; padding:10px; display:flex; gap:8px; background:#fff; }
.mvvc-foot input{ flex:1; border:1px solid #cfd8dc; border-radius:20px; padding:9px 14px; font-size:14px; outline:none; }
.mvvc-foot input:focus{ border-color:var(--teal,#1d6a78); }
.mvvc-foot button{ border:0; background:var(--teal,#1d6a78); color:#fff; width:40px; height:40px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; flex:0 0 40px; }
.mvvc-foot button:hover{ filter:brightness(1.1); }
.mvvc-foot button svg{ width:18px; height:18px; }
.mvvc-typing{ font-size:13px; color:#889; padding:0 2px 10px; }
@media (max-width:480px){
  /* Закотвяме панела и горе, и долу, за да не изчезва заглавието зад лентата с адреса на браузъра */
  .mvvc-panel{ right:8px; left:8px; top:12px; bottom:84px; width:auto; height:auto; max-height:none; }
  .mvvc-btn{ right:14px; bottom:14px; }
}
