/**
 * 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.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 *  @author    Adrián Daswani Linde
 *  @copyright 2007-2025 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */

.ntwhatsapp .btn {
    display: flex;
    align-items: center;
}

.ntwhatsapp .btn > i {
    font-size: 1.5rem;
    margin-right: 7px;
}

.ntwhatsapp {
    display: block;
    width: fit-content;

    --ntwhatsapp-color: #25d366;
}

.ntwhatsapp > div:not(.header) {
    margin-top: 12px;
}

.ntwhatsapp .btn {
    display: flex;
    align-items: center;
    transition: all .2s ease-out;
    background-color: var(--ntwhatsapp-color);
    border: 1px solid var(--ntwhatsapp-color);
    color: #fff;
}

.ntwhatsapp .btn:hover {
    color: var(--ntwhatsapp-color) !important;
    background-color: transparent;
}

@media (max-width: 380px) {
    .ntwhatsapp .btn > i {
        margin-right: 4px;
    }
}

@media (max-width: 768px) {
    .ntwhatsapp .header .btn {
        padding: 0;
        background: transparent;
        border: none;
    }

    .ntwhatsapp .header .phone {
        display: none;
    }

    .ntwhatsapp .btn > i {
        font-size: 1.4rem;
    }

    .ntwhatsapp .btn {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .ntwhatsapp .btn {
        font-size: 12px;
    }
}

@media (min-width: 767px) {
    .ntwhatsapp > div.header {
        margin-inline-end: 50px;
    }
}
