/**
 * 2007-2025 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 */

#ps-whatsapp-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#ps-whatsapp-chat-container.ps-whatsapp-rtl {
    right: auto;
    left: 20px;
}

#ps-whatsapp-chat-container.ps-whatsapp-rtl .ps-whatsapp-button {
    flex-direction: row-reverse;
}

#ps-whatsapp-chat-container.ps-whatsapp-rtl .ps-whatsapp-label {
    margin-left: 0;
    margin-right: 10px;
}

.ps-whatsapp-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    background-color: #25D366 !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
    text-decoration: none !important;
    width: auto !important;
    height: auto !important;
}

.ps-whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: #20BA5A;
}

.ps-whatsapp-label {
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-left: 10px;
    font-family: 'Inter', sans-serif, system-ui;
    white-space: nowrap;
}

.ps-whatsapp-button svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
}

@media (max-width: 767px) {
    #ps-whatsapp-chat-container {
        bottom: 90px;
        right: 15px;
    }

    .ps-whatsapp-button {
        padding: 10px;
        /* Make it circular/square-ish */
        width: 45px;
        /* Fixed width for circle */
        height: 45px;
        /* Fixed height for circle */
    }

    .ps-whatsapp-label {
        display: none;
        /* Hide text */
    }
}