/** menu favorites items heart **/

.heart {
    cursor: pointer;
    height: 50px;
    width: 50px;
    min-width: 50px;
    background-image: url("/frontend/img/menu/web_heart_animation.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 2900%;
}

.heart.is_animating {
    animation: heart-burst 0.8s steps(28) 1;
}

.heart.saved {
    background-position: right;
}

@keyframes heart-burst {
    from {
        background-position: left;
    }
    to {
        background-position: right;
    }
}

.saved-items-container {
    background: #ffffff;
    position: fixed;
    z-index: 500;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    max-width: 90%;
    box-shadow: 0px 0px 13px 5px rgba(0, 0, 0, 0.25);
    border-radius: 20px 20px 0 0;
    max-height: 65px;
    transition: max-height 0.5s ease-in-out;
}

.saved-items-container.open {
    max-height: 100%;
}

.saved-items-container button:hover{
    opacity: 1;
}

.saved-items-container .saved-items-header {
    height: 65px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1em;
    padding-right: 1em;
}

.saved-items-category{
    text-transform: uppercase;
    font-weight: 700;
    color: var(--red-color);
}

.saved-items-container .saved-items-list {
    max-height: 65vh;
    z-index: 200;
    overflow-y: scroll;
    padding: 0 2em;
}

.saved-items-container .saved-items-list .saved-items-list-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
}
