/* chat social style */
#main-chat .chat-label {
    position: absolute;
    right: 0;
    height: 45px;
    width: 45px;
    padding: 8px 10px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    z-index: -1;
    border-radius: 50px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(0);
    visibility: hidden;
    padding-right: 41px;
    pointer-events: none;
}

#main-chat a:hover .chat-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-9px);
    width: auto;
    pointer-events: auto;
    transition: all 0.4s ease-in-out;
}

#main-chat .chat-label > span {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    padding-left: 3px;
}

.zalo-pt {
    display: inline-block;
    background: url(/wp-content/uploads/2025/03/zalo.png) center center no-repeat;
    background-size: contain;
    width: 45px;
    height: 45px;
}

#main-chat .zalo-custom .chat-label { background: #41a0d7; }
#main-chat .viber-custom .chat-label { background: linear-gradient(0deg, #665CAC, #766acc); }
#main-chat .whatsapp-custom .chat-label { background: #2a8c35; }
#main-chat .messface-custom .chat-label { background: #0863f7; }
#main-chat .view360-custom .chat-label { background: linear-gradient(36deg, #0994ff, #ff676b); }

#main-chat a:nth-of-type(1) { bottom: calc(90px + 0*60px); }
#main-chat a:nth-of-type(2) { bottom: calc(90px + 1*60px); }
#main-chat a:nth-of-type(3) { bottom: calc(90px + 2*60px); }
#main-chat a:nth-of-type(4) { bottom: calc(90px + 3*60px); }
#main-chat a:nth-of-type(5) { bottom: calc(90px + 4*60px); }

#main-chat a {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    right:22.5px;
    z-index: 99;
}

#main-chat .fa-viber,
#main-chat .fab.fa-whatsapp,
#main-chat .fa-facebook-messenger {
    padding: 7px;
    border-radius: 99%;
    border: 1px solid #fff;
    width: 45px;
    height: 45px;
    color: #fff;
    font-size: 30px;
}

#main-chat .fa-viber { background: linear-gradient(0deg, #665CAC, #766acc); }
#main-chat .fab.fa-whatsapp { background: linear-gradient(0deg, #2a8c35, #4FCE5D); }
#main-chat .fa-facebook-messenger { background: #0863f7 }

.view-360 {
    border-radius: 99%;
    background: linear-gradient(36deg, #0994ff, #ff676b);
    border: 1px solid;
    width: 45px;
    height: 45px;
    color: #fff;
    display: grid;
    justify-items: center;
}

#main-chat .fa-street-view {
    font-size: 26px;
    padding: 7px;
}
/*CSS hotline */
.hotline-main {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
}

.hotline-shake .fa-phone-volume {
    color: #fff;
    font-size: 16pt;
    transform: rotate(270deg);
}

.hotline-shake {
    position: relative;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hotline-shake-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #d26e4b;
    animation: hotline-shake-circle-anim 1.2s infinite ease-in-out;
    opacity: .5;
}

.hotline-shake-circle-fill {
    width: 75%;
    height: 75%;
    position: absolute;
    background-color: #b20000;
    border-radius: 100%;
    animation: hotline-shake-circle-fill-anim 1.5s infinite ease-in-out;
}

.hotline-shake-img-circle {
    background-color: #fe1818;
    width: 50%;
    height: 50%;
    border: 1px solid #fff;
    position: absolute;
    border-radius: 100%;
    animation: hotline-shake-circle-img-anim 1s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotline-label {
    position: absolute;
    background: var(--primary-color, #ff0000);
    border: 1px solid #fff;
    height: 45px;
    width: auto;
    padding-top: 2px;
    cursor: pointer;
    transition: all .3s;
    z-index: 9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    right: 22.5px;
    bottom: 22.5px;
    padding-right: 56px;
    white-space: nowrap;
    transform-origin: right center;
}

.hotline-label a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-indent: 15px;
    display: block;
    line-height: 40px;
    letter-spacing: 1px;
}

.hotline-label:hover {
    background: #ff3b3b;
    transform: scale(1.05);
}

@keyframes hotline-shake-circle-anim {
    0% { transform: scale(0.5); opacity: .1; }
    30% { transform: scale(0.7); opacity: .5; }
    100% { transform: scale(1); opacity: .1; }
}

@keyframes hotline-shake-circle-fill-anim {
    0%, 100% { transform: scale(0.7); opacity: .6; }
    50% { transform: scale(1); opacity: .6; }
}

@keyframes hotline-shake-circle-img-anim {
    0%, 50%, 100% { transform: rotate(0) scale(1); }
    10%, 30% { transform: rotate(-25deg) scale(1); }
    20%, 40% { transform: rotate(25deg) scale(1); }
}

@media screen and (max-width: 549px) {
    .hotline-label {
    display:none;
    }
}