.xc-contact {
    position: fixed;
    width: 100%;
    z-index: 999999 !important;
    bottom: 0;
    display: none !important;
}
@media only screen and (max-width: 850px) {
    .xc-contact {
        display: block !important;
    }
}
.xc-contact__inner {
    border-bottom: 15px solid #fff;
    display: flex;
    max-width: 1200px;
    margin: auto;
    position: relative;
    padding-top: 5px;
}
.xc-contact__inner::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background-image: url("../images/xc-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;
}
.xc-contact__item {
    position: relative;
    display: block;
    flex: 1 1 0%;
    text-align: center;
    padding: 11px 0 0 0;
    color: #313131;
    text-decoration: none;
}
.xc-contact__content {
    display: block;
}
.xc-contact__label {
    display: block;
    padding: 0 2px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    line-height: 1.2;
}
.xc-contact__icon {
    height: 30px;
    width: 30px;
    display: inline-block;
    vertical-align: middle;
}
.xc-contact__item--center {
    position: relative;
    background: transparent !important;
}
.xc-contact__item--center .xc-contact__label {
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
}
.xc-contact__center-label-text {
    padding: 0 8px;
    background-image: linear-gradient(92.83deg, #0E68C8 0, #02A4A5 100%);
    border-radius: 30px;
    color: #fff;
    display: inline-block;
}
.xc-contact__center-icon-wrap {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    background-image: linear-gradient(92.83deg, #f90000 0, #950099 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: -28px;
    text-align: center;
    box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, 0.15);
    border: 2px solid #fff;
}
.xc-contact__center-icon-wrap .xc-contact__icon {
    max-width: 20px;
    height: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.xc-contact__pulse {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 0 0 #0E68C8;
    border: 2px solid rgba(255, 255, 255, 0);
    transition: all 0.5s;
    animation: xc-zoom 1.3s infinite;
}
@keyframes xc-zoom {
    0% {}
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
.xc-contact-desktop {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    bottom: 70px !important;
    right: 15px !important;
}
@media (max-width: 850px) {
    .xc-contact-desktop {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .xc-contact-desktop {
        transform: scale(0.78);
        transform-origin: right bottom;
    }
}
.xc-contact-desktop__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;
    background: #0079d3 !important;
    animation: xc-dt-bounce 1.4s infinite;
    transition: 0.25s;
}
.xc-contact-desktop__toggle:hover {
    background: #005ea8 !important;
    filter: brightness(1);
}
.xc-contact-desktop__item {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
    animation: xc-dt-bounce 1.4s infinite;
}
.xc-contact-desktop__item:hover {
    background: #005ea8 !important;
    filter: brightness(1);
}
.xc-contact-desktop__item::before,
.xc-contact-desktop__item::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.85;
    pointer-events: none;
    animation: xc-dt-wave 1.6s infinite;
}
.xc-contact-desktop__item::before {
    animation-delay: 0.8s;
}
@media (prefers-reduced-motion: reduce) {
    .xc-contact-desktop__item::before,
    .xc-contact-desktop__item::after {
        display: none !important;
        animation: none !important;
    }
}
.xc-contact-desktop__icon {
    width: 28px;
    height: 28px;
}
.xc-contact-desktop__item--phone {
    background: #6d96e8 !important;
    animation: xc-dt-shake 0.5s infinite;
}
.xc-contact-desktop__item--zalo {
    background: #0091ff !important;
}
.xc-contact-desktop__item--messenger {
    background: #d720ff !important;
}
.xc-contact-desktop__item--top {
    background: #0079d3 !important;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.xc-contact-desktop__item--show {
    opacity: 1;
    visibility: visible;
    transform: scale(1.05);
}
@keyframes xc-dt-wave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.85;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.85);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.85);
        opacity: 0;
    }
}
@keyframes xc-dt-shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(8deg);
    }
    80% {
        transform: rotate(-8deg);
    }
}
@keyframes xc-dt-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}
