/* Floating quick-contact buttons (bottom-right, visible on all devices while scrolling): Facebook, Zalo, Phone */
.mbws-quick{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:fixed;
  right:18px;
  bottom:78px;
  z-index:9990;
}
.mbws-quick a{
  position:relative;
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff!important;
  text-decoration:none;
  box-shadow:0 4px 14px rgba(0,0,0,.22);
  transition:transform .2s ease,box-shadow .2s ease;
}
.mbws-quick a:hover{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 6px 18px rgba(0,0,0,.28);
}
.mbws-quick .q-fb{background:#1877f2}
.mbws-quick .q-zalo{background:#0068ff}
.mbws-quick .q-call{background:#e53935}
.mbws-quick svg{width:22px;height:22px;fill:#fff;display:block}
.mbws-quick img{width:26px;height:26px;display:block;object-fit:contain}
/* Subtle pulse ring on Phone button */
.mbws-quick .q-call::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:inherit;
  opacity:.45;
  z-index:-1;
  animation:mbwsPulse 2.2s ease-out infinite;
}
@keyframes mbwsPulse{
  0%{transform:scale(1);opacity:.45}
  100%{transform:scale(1.55);opacity:0}
}
/* Clean hover tooltip on desktop */
@media (hover:hover) and (min-width:850px){
  .mbws-quick a[data-tip]::after{
    content:attr(data-tip);
    position:absolute;
    right:58px;
    top:50%;
    transform:translateY(-50%) translateX(6px);
    background:#104040;
    color:#fff;
    font-size:13px;
    font-weight:600;
    line-height:1;
    padding:8px 12px;
    border-radius:6px;
    white-space:nowrap;
    pointer-events:none;
    opacity:0;
    box-shadow:0 4px 12px rgba(0,0,0,.18);
    transition:opacity .18s ease,transform .18s ease;
  }
  .mbws-quick a[data-tip]:hover::after{
    opacity:1;
    transform:translateY(-50%) translateX(0);
  }
}
/* Align Flatsome back-to-top button neatly below the stack on desktop */
#top-link.back-to-top{right:21px!important;bottom:20px!important}
@media (max-width:849px){
  .mbws-quick{right:14px;bottom:20px;gap:10px}
  .mbws-quick a{width:46px;height:46px}
}
@media (prefers-reduced-motion:reduce){
  .mbws-quick .q-call::before{animation:none}
}
