    /* دکمه شناور واتساپ */
    .wa-floating-btn {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 30px;
        left: 30px;
        background-color: #25D366;
        color: #FFF;
        border-radius: 50px;
        text-align: center;
        font-size: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wa-floating-btn:hover {
        transform: scale(1.1);
        background-color: #1ebe57;
    }

    .wa-floating-btn i {
        animation: wa-pulse 2s infinite;
    }

    @keyframes wa-pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.15); }
        100% { transform: scale(1); }
    }

    /* پاپ‌آپ چت */
    .wa-chat-popup {
        position: fixed;
        bottom: 100px;
        left: 30px;
        width: 400px;
        max-width: calc(100vw - 60px);
        background: var(--bg-card, #11191d);
        border: 1px solid var(--border, #2a3a44);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        z-index: 999;
        display: none;
        flex-direction: column;
        overflow: hidden;
        font-family: inherit;
    }

    .wa-chat-header {
        background: #25D366;
        color: white;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .wa-avatar {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
    }

    .wa-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .wa-header-info h4 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .wa-header-info p {
        margin: 4px 0 0;
        font-size: 0.85rem;
        opacity: 0.9;
    }

    .wa-close-btn {
        position: absolute;
        left: 16px;    
        top: 35px;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 2rem; 
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
        z-index: 10;
    }

    .wa-close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .wa-chat-body {
        padding: 20px;
        flex-grow: 1;
        color: var(--text-primary, #e0e0e0);
    }

    .wa-welcome-msg {
        background: var(--bg-secondary, #1a2429);
        padding: 12px 16px;
        border-radius: 12px;
        border-bottom-left-radius: 4px;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .wa-input-area {
        display: flex;
        gap: 10px;
        align-items: end;
    }

    .wa-message-input {
        flex: 1;
        padding: 12px 16px;
        background: var(--bg-secondary, #1a2429);
        border: 1px solid var(--border, #2a3a44);
        border-radius: 25px;
        color: var(--text-primary, white);
        font-size: 1rem;
        resize: none;
        min-height: 48px;
        max-height: 120px;
        overflow-y: auto;
    }

    .wa-message-input:focus {
        outline: none;
        border-color: var(--accent-cyan, #00ffff);
        box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.15);
    }

    .wa-send-btn {
        width: 48px;
        height: 48px;
        background: #25D366;
        color: white;
        border: none;
        border-radius: 50%;
        font-size: 1.3rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background 0.3s;
    }

    .wa-send-btn:hover {
        background: #1ebe57;
    }

    /* ریسپانسیو */
    @media (max-width: 768px) {
        .wa-floating-btn {
            width: 55px;
            height: 55px;
            font-size: 28px;
            bottom: 20px;
            left: 20px;
        }

        .wa-chat-popup {
            bottom: 85px;
            left: 20px;
            right: 20px;
            width: auto;
        }
    }