#button-contact-vr {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end; /* dồn buttons xuống đáy */
    pointer-events: none;
}
#button-contact-vr > * {
    pointer-events: all; /* nhưng con thì click được */
}
/*phone*/
#button-contact-vr .button-contact {
    position: relative;
}
#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}
.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}
.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}
.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}
.phone-vr-img-circle img {
    max-width: 25px;
}
@-webkit-keyframes phone-vr-circle-fill {
  0% {-webkit-transform: rotate(0) scale(1) skew(1deg);  }
  10% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg);}
  20% {-webkit-transform: rotate(25deg) scale(1) skew(1deg);}
  30% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg);}
  40% {-webkit-transform: rotate(25deg) scale(1) skew(1deg);}
  50% {-webkit-transform: rotate(0) scale(1) skew(1deg);}
  100% {-webkit-transform: rotate(0) scale(1) skew(1deg);}
}
@-webkit-keyframes zoom{0%{transform:scale(.9)}70%{transform:scale(1);box-shadow:0 0 0 15px transparent}100%{transform:scale(.9);box-shadow:0 0 0 0 transparent}}@keyframes zoom{0%{transform:scale(.9)}70%{transform:scale(1);box-shadow:0 0 0 15px transparent}100%{transform:scale(.9);box-shadow:0 0 0 0 transparent}}
/* Phone row wrapper: circle + bar cùng hàng */
.pzf-phone-row {
    display: flex;
    align-items: center;
    flex-direction: row; /* mặc định: bên trái */
}
/* Khi container bên phải: đảo chiều bar sang trái */
.pzf-right .pzf-phone-row {
    flex-direction: row-reverse;
}
/* Phone bar */
.phone-bar {
    display: flex;
    align-items: center;
}
/* Bar bên TRÁI: bar nằm sau circle, kéo dài sang phải */
.phone-bar a {
    display: inline-flex;
    align-items: center;
    background: rgb(232, 58, 58);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px 10px 20px;
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(232,58,58,.4);
    /* Bên trái: bar kéo trái đè nhẹ vào circle */
    margin-left: -45px;
    padding-left: 52px;
    position: relative;
    z-index: 1;
    transition: opacity .2s;
}
/* Bar bên PHẢI: đảo lại — bar kéo phải đè nhẹ vào circle */
.pzf-right .phone-bar a {
    margin-left: 0;
    padding-left: 20px;
    margin-right: -45px;
    padding-right: 52px;
}
.phone-bar a:hover {
    opacity: 0.85;
    color: #fff;
}
@media(max-width: 736px) {
    .phone-bar { display: none; }
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}
#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}
#viber-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #714497;
    background-color: rgba(113, 68, 151, 0.8);
}
#viber-vr .phone-vr-img-circle {
    background-color: #714497;
}
#contact-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}
#contact-vr .phone-vr-img-circle {
    background-color: #2196F3;
}
#telegram-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2AABEE;
    background-color: rgba(42, 171, 238, 0.7);
}
#telegram-vr .phone-vr-img-circle {
    background-color: #2AABEE;
}

/* WhatsApp Styling (NEW v3.0) */
#whatsapp-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #25D366;
    background-color: rgba(37, 211, 102, 0.7);
}
#whatsapp-vr .phone-vr-img-circle {
    background-color: #25D366;
}
.phone-vr-img-circle svg {
    margin-top: 8px;
    width: 24px;
    height: 24px;
}

/* Premium Tooltip styling (NEW v3.0) */
.bcb-tooltip {
    position: absolute;
    top: 30px;
    left: 80px;
    background: rgba(33, 37, 41, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(-10px);
    z-index: 9999;
}
/* Tooltip caret arrow */
.bcb-tooltip::before {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
}
/* Trái (mặc định) */
.bcb-tooltip::before {
    left: -10px;
    border-color: transparent rgba(33, 37, 41, 0.95) transparent transparent;
}

/* Phải (pzf-right) */
.pzf-right .bcb-tooltip {
    left: auto;
    right: 80px;
    transform: translateX(10px);
}
.pzf-right .bcb-tooltip::before {
    left: auto;
    right: -10px;
    border-color: transparent transparent transparent rgba(33, 37, 41, 0.95);
}

/* Hover state */
.button-contact:hover .bcb-tooltip {
    opacity: 1;
    transform: translateX(0);
}