.pv-contact-box{
    position:fixed;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    z-index:99999;
}
.pv-contact-toggle{
    color:#fff;
    padding:12px 10px;
    border-radius:20px;
    writing-mode:vertical-rl;
    cursor:pointer;
    font-weight:600;
    font-size:14px;
    box-shadow:0 4px 8px rgba(0,0,0,0.2);
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
}

.pv-item{
    width:46px;
    height:46px;
    border-radius:50%;
    position: relative;
    overflow: visible;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    transition:.25s;
}

/* Hiệu ứng “tỏa sóng” (PC) cho các nút tròn */
.pv-item::before,
.pv-item::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:100%;
    height:100%;
    border-radius:50%;
    border:2px solid rgba(255,106,0,.55);
    transform: translate(-50%,-50%) scale(1);
    opacity:.85;
    pointer-events:none;
    animation: pv-wave 1.6s infinite;
}
.pv-item::before{ animation-delay: .8s; }

@keyframes pv-wave{
    0%{ transform: translate(-50%,-50%) scale(1); opacity:.85; }
    70%{ transform: translate(-50%,-50%) scale(1.85); opacity:0; }
    100%{ transform: translate(-50%,-50%) scale(1.85); opacity:0; }
}

/* Tắt animation nếu user giảm chuyển động */
@media (prefers-reduced-motion: reduce){
  .pv-item::before,
  .pv-item::after{ display:none !important; animation:none !important; }
}
.pv-item img{
    width:28px;
    height:28px;
}

/* ===== PC Contact Buttons Dock (Sang0975800089) ===== */
#phongvt-contact-pc {
    position: fixed !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border-radius: 35px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-sizing: border-box !important;
    transform-origin: bottom right !important;
}

#phongvt-contact-pc .pv-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    position: relative !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
}

#phongvt-contact-pc .pv-btn:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.28) !important;
}

#phongvt-contact-pc .pv-btn svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    fill: currentColor !important;
    display: block !important;
    margin: auto !important;
}

#phongvt-contact-pc .pv-btn img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
    border-radius: 50% !important;
}

.pv-top{
    opacity:0;
    visibility:hidden;
    transition:.3s;
}
.pv-top.show{
    opacity:1;
    visibility:visible;
    transform:scale(1.05);
}

/* Nút toggle trên mobile */
.pv-mobile-toggle{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#0079d3;
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:99998;
    cursor:pointer;
    display:none;
}
.pv-mobile-toggle::after{
    content:"≡";
    color:#fff;
    font-size:28px;
    font-weight:bold;
    position:absolute;
    top:6px;
    left:13px;
    line-height:1;
}

.pv-contact-box.pv-hidden{
    display:none !important;
}

@media (max-width: 480px){
    .pv-mobile-toggle{display:block;}
    .pv-contact-box{
        transform:scale(.78);
        transform-origin:right bottom;
    }
}

/* PC only: ẩn nút nổi trên mobile/tablet */
@media (max-width: 850px){
  .pv-contact-box,
  .pv-mobile-toggle{
    display:none !important;
  }
}


/* ===== Mobile Contact Footer ===== */
#phongvt-contact-footer-outer {
    position: fixed;
    width: 100%;
    z-index: 999999 !important;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    pointer-events: none;
}
#phongvt-contact-footer-outer * {
    box-sizing: border-box;
}
#phongvt-contact-footer:after {
    content: "";
    position: absolute;
    pointer-events: none;
    background-image: url(mb-footer-bg.svg);
    background-color: unset;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    box-shadow: unset;
    height: 65px;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
}
#phongvt-contact-footer {
    border-bottom: 15px solid #fff;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-around !important;
    max-width: 1200px;
    margin: auto;
    position: relative;
    padding-top: 5px;
    pointer-events: auto;
}
#phongvt-contact-footer > a {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center !important;
    padding: 8px 1px 2px 1px !important;
    color: #313131 !important;
    text-decoration: none !important;
}

/* ĐẢM BẢO ICON VÀ TEXT TRÊN MOBI LUÔN NẰM CÙNG 1 CỘT DỌC (COLUMN) */
#phongvt-contact-footer .hs-footer-btn-col,
#phongvt-contact-footer > a > span.hs-footer-btn-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}
#phongvt-contact-footer .hs-footer-btn-col img,
#phongvt-contact-footer > a img:not(.phongvt-contact-footer-btn-center-icon img) {
    display: block !important;
    margin: 0 auto 3px auto !important;
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: contain !important;
}
#phongvt-contact-footer .phongvt-contact-footer-btn-label {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 1px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin: 0 !important;
}

/* NÚT 3 TRÒN NỔI Ở GIỮA (LOGO / GỌI NGAY) */
#phongvt-contact-footer-btn-center {
    position: relative !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
}
#phongvt-contact-footer-btn-center .phongvt-contact-footer-btn-label {
    position: absolute !important;
    left: 50% !important;
    bottom: 2px !important;
    transform: translateX(-50%) !important;
    width: auto !important;
}
#phongvt-contact-footer-btn-center .phongvt-contact-footer-btn-label > span {
    padding: 1px 8px !important;
    background-image: linear-gradient(92.83deg, #ff7700 0, #ee5a24 100%) !important;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.35) !important;
    border-radius: 30px !important;
    color: white !important;
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}
.phongvt-contact-footer-btn-center-icon {
    left: 50% !important;
    position: absolute !important;
    transform: translateX(-50%) !important;
    background-image: linear-gradient(92.83deg, #f90000 0%, #950099 100%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    top: -28px !important;
    text-align: center !important;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.18) !important;
    border: 2px solid #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}
.phongvt-contact-footer-btn-center-icon img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
}
.phone-vr-circle-fill {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 0 0 #ff6a00;
    border: 2px solid transparent;
    transition: all .5s;
    animation: zoom 1.3s infinite;
    z-index: 1;
}
@keyframes zoom {
    0% {box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.85);}
    70% {box-shadow: 0 0 0 17px rgba(255, 106, 0, 0);}
    100% {box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);}
}
@media only screen and (max-width: 850px) {
    #phongvt-contact-footer-outer {display:block;}
}

