/**
* 2007-2024 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    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* "link copied" notice (views/js/front.js) */
.solid-copy-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    max-width: calc(100vw - 16px);
    padding: 8px 14px;
    border-radius: 4px;
    background: #222;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
}

.solid-copy-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.solid-copy-tooltip.is-error {
    background: #c0392b;
}

/* on phones a long press on a product must not open the browser menu or select text */
@media (hover: none) {
    .js-product-miniature,
    .js-product-miniature img,
    .js-product,
    .autocomplete-suggestion,
    .autocomplete-suggestion img {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}