/**
* 2007-2022 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-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
*/

.save-for-later .sfl-text-block {
    text-align: center;
    padding: 2rem 0;
}
.save-for-later .sfl-text-block h2 {
    margin-bottom: 1rem;
}
.save-for-later .sfl-text-block a {
    margin-top: 2rem;
}
.save-for-later .sfl-icon {
    margin-bottom: 2rem;
}
.save-for-later .sfl-icon i {
    font-size: 34px;
}
.save-for-later .product-description {
    position: static;
}
.save-for-later .header-icon-wrapper {
    padding: .75rem;
    line-height: 1;
}
.btn-saveforlater {
    outline: 0 !important;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    min-width: 40px;
    padding-top: 3px;
    background-color: #ffffff;
    color: #7a7a7a;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s ease-out;
    border: none;
}
.btn-saveforlater.product {
    position: relative;
    top: 0;
    right: 0;
    height: 44px;
    width: 44px;
    margin-left: 1rem;
}
.btn-saveforlater:hover, .btn-saveforlater.active {
    color: #232323;
}

.btn-saveforlater.active .heart {
    display: block;
    animation: beatIn cubic-bezier(0.04, 0.4, 0.5, 0.95) 1.2s forwards 1;
}
.btn-saveforlater.active .small-heart {
    animation: flyOut ease-out 2s forwards 1;
    animation-delay: 200ms;
}
.small-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: .625rem;
    line-height: 1em;
    margin: -.125rem 0 0 -.1875rem;
    opacity: 0;
    pointer-events: none;
}
.small-heart:nth-child(2) {
    font-size: .5rem;
}

/* animation keyframes */

@-webkit-keyframes beatIn {
    30% {
        -webkit-transform: scale(1.4);
        transform: scale(1.4);
    }
    50% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    to {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes beatIn {
    30% {
        -webkit-transform: scale(1.4);
        transform: scale(1.4);
    }
    50% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    to {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@-webkit-keyframes flyOut {
    15% {
        opacity: 0;
    }
    16% {
        opacity: 1;
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    to {
        -webkit-transform: translate(calc(var(--flyX) * 1px), calc(var(--flyY) * 1px));
        transform: translate(calc(var(--flyX) * 1px), calc(var(--flyY) * 1px));
        opacity: 0;
    }
}
@keyframes flyOut {
    15% {
        opacity: 0;
    }
    16% {
        opacity: 1;
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    to {
        -webkit-transform: translate(calc(var(--flyX) * 1px), calc(var(--flyY) * 1px));
        transform: translate(calc(var(--flyX) * 1px), calc(var(--flyY) * 1px));
        opacity: 0;
    }
}
