/*
Theme Name: Anvogue
Theme URI: https://anvogue.presslayouts.com/landing
Author: PressLayouts Team
Author URI: https://presslayouts.com
Description: Anvogue is ThemeForest WordPress Premium Theme.
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Version: 3.2.0
License: Themeforest Commercial Licence
License URI: https://themeforest.net/licenses/standard
Text Domain: anvogue
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
Anvogue WordPress Theme, (C) 2024 PressLayouts.com
Anvogue is distributed under the terms of the Envato.

 DO NOT ADD YOUR CSS TO THIS FILE - IT WILL BE LOST
 To add your own CSS, use a child theme anvogue-child
 
 CSS file is in "assets/css"
*/


.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}
.whatsapp-button img {
    width: 30px;
    height: 30px;
}
.whatsapp-button:hover {
    transform: scale(1.1);
}
/* Tooltip */
.whatsapp-button .tooltip {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    bottom: 70px;
    right: 50%;
    transform: translateX(50%);
    transition: opacity 0.3s;
    font-size: 14px;
    white-space: nowrap;
}
.whatsapp-button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
 .tooltip-text {
    position: absolute;
    right: 70px; /* فاصله از دکمه */
    background-color: #fff;
    color: black;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 15px;
    }
}    .whatsapp-button img {
        width: 25px;
        height: 25px;
    }
    .whatsapp-button .tooltip {
        bottom: 60px;
        font-size: 12px;
    }
     .tooltip-text {
        right: 60px;
        font-size: 12px;
        padding: 4px 10px;
    }

}

