.gonweb-studio-cta {
    position: fixed;
    right: 18px;
    bottom: var(--gonweb-studio-cta-bottom, 24px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    font-family: inherit;
}

.gonweb-studio-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
    transform-origin: right center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gonweb-studio-cta__button:hover,
.gonweb-studio-cta__button:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateX(-3px) scale(1.03);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}

.gonweb-studio-cta__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.86);
    outline-offset: 3px;
}

.gonweb-studio-cta__button--hotline {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.gonweb-studio-cta__button--zalo {
    background: linear-gradient(135deg, #0068ff, #00a7ff);
}

.gonweb-studio-cta__button--messenger {
    background: linear-gradient(135deg, #7c3aed, #0084ff);
}

.gonweb-studio-cta__icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 17px;
    font-weight: 800;
}

.gonweb-studio-cta__icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: currentColor;
}

.gonweb-studio-cta__label {
    white-space: nowrap;
}

.gonweb-studio-cta--icons-only .gonweb-studio-cta__button {
    width: 52px;
    height: 52px;
    min-height: 52px;
    justify-content: center;
    padding: 0;
}

.gonweb-studio-cta--icons-only .gonweb-studio-cta__icon {
    width: 38px;
    height: 38px;
}

.gonweb-studio-cta--shake .gonweb-studio-cta__button {
    animation: gonweb-studio-cta-shake 3.8s ease-in-out infinite;
}

.gonweb-studio-cta--shake .gonweb-studio-cta__button:nth-child(2) {
    animation-delay: 0.3s;
}

.gonweb-studio-cta--shake .gonweb-studio-cta__button:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes gonweb-studio-cta-shake {
    0%,
    72%,
    100% {
        transform: translateX(0) rotate(0);
    }

    76% {
        transform: translateX(-2px) rotate(-2deg);
    }

    80% {
        transform: translateX(2px) rotate(2deg);
    }

    84% {
        transform: translateX(-1px) rotate(-1deg);
    }

    88% {
        transform: translateX(1px) rotate(1deg);
    }
}

@media (max-width: 640px) {
    .gonweb-studio-cta {
        right: 12px;
        gap: 8px;
    }

    .gonweb-studio-cta__button {
        min-height: 46px;
        padding-right: 12px;
        font-size: 13px;
    }

    .gonweb-studio-cta__icon {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gonweb-studio-cta--shake .gonweb-studio-cta__button,
    .gonweb-studio-cta__button {
        animation: none;
        transition: none;
    }
}
