/* Your original CSS with modifications for dynamic positioning */
.jts-call-button .cc-calto-action-ripple {
    z-index: 999999 !important;
    position: fixed !important;
    background: #210D94;
    width: 4rem;
    height: 4rem;
    padding: 1rem;
    border-radius: 100%;
    box-sizing: border-box;
    color: #ffffff !important;
    animation: cc-calto-action-ripple 0.6s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    line-height: 1 !important;
    overflow: visible !important;
}

.jts-call-button .cc-calto-action-ripple .jts-icon {
    transition: 0.3s ease;
    width: 2.2rem;
    height: 2.2rem;
    display: block;
}

.jts-call-button .cc-calto-action-ripple:hover .jts-icon {
    transform: rotate(135deg);
}

@keyframes cc-calto-action-ripple {
    0% {
        box-shadow: 0 4px 10px rgba(33, 13, 148, 0.1), 0 0 0 0 rgba(33, 13, 148, 0.1), 0 0 0 5px rgba(33, 13, 148, 0.1), 0 0 0 10px rgba(33, 13, 148, 0.1);
    }
    100% {
        box-shadow: 0 4px 10px rgba(33, 13, 148, 0.1), 0 0 0 5px rgba(33, 13, 148, 0.1), 0 0 0 10px rgba(33, 13, 148, 0.1), 0 0 0 20px rgba(236, 139, 0, 0);
    }
}

.jts-whatsapp-button {
    position: fixed !important;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #25D366;
    z-index: 999999 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.jts-whatsapp-button .jts-icon {
    width: 30px;
    height: 30px;
    display: block;
}

.jts-whatsapp-button:hover {
    color: #fff;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 25%, 50%, 75%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-12px);
    }
}

/* Ensure compatibility with all themes */
.jts-call-button *,
.jts-whatsapp-button * {
    box-sizing: border-box;
    max-width: none;
    max-height: none;
    font-family: inherit;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .jts-call-button .cc-calto-action-ripple {
        width: 3.5rem;
        height: 3.5rem;
        padding: 0.8rem;
    }
    
    .jts-call-button .cc-calto-action-ripple .jts-icon {
        width: 1.8rem;
        height: 1.8rem;
    }
    
    .jts-whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .jts-whatsapp-button .jts-icon {
        width: 24px;
        height: 24px;
    }
}

/* Icon wrapper safety: avoids theme setting svg to inline/overflow hidden */
.jts-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}