/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.floating-call-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    direction: rtl;
}

.floating-call-wrapper .floating-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    animation: floating-call-pulse 2s infinite;
}

.floating-call-wrapper .floating-call-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    color: #ffffff !important;
}

.floating-call-wrapper .floating-call-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    animation: floating-call-wiggle 1.5s infinite ease-in-out;
}

@keyframes floating-call-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes floating-call-wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .floating-call-wrapper {
        bottom: 50px;
        right: 20px;
    }
    .floating-call-wrapper .floating-call-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    .floating-call-wrapper .floating-call-btn svg {
        width: 18px;
        height: 18px;
    }
}
