.favourite {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 10px 20px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    z-index: 1;
    text-decoration: none;
    background: #5b3f97;
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 1px;
}

.favorites__icon {
    stroke: var(--main-text-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 10px;
    transition: all 0.2s ease-in-out;
}

.favorites__text {
    display: none;
}

.favorites__counter {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 2px;
    right: 7px;
    background-color: var(--accent-color);
    border-radius: 10px;
    padding: 2px 4px;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
}

.favorites_link {
    display: flex;
    color: var(--secondary-text-color);
    padding: 7px 0;
    align-items: center;
    position: relative;
}

.favorites_link-container {
    margin-right: 5px;
}


@media (max-width: 991px) {
    .favorites__icon {
        display: none;
    }
    .favorites__text {
        display: block;
    }
    .favorites_link {
        padding: 15px 20px;
        font-size: 13px;
        text-transform: uppercase;
        color: var(--main-text-color);
        font-weight: 700;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .favorites__counter {
        display: none;
    }
}

@media (max-width: 475px) {
    .favorites__icon {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }
}

.favorites_link:hover .favorites__icon {
    fill: var(--accent-color);
    stroke: var(--accent-color);
}

.favourite__text svg {
    width: 20px;
    height: 20px;
    fill: #ffc107;
    vertical-align: text-bottom;
}

@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

.favorites__informer {
    position: fixed;
    z-index: 999;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-width: 300px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--main-color);
}

.favorites__informer_content {
    font-size: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 16px;
    color: #000;
    background: #fff;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 10px;
}

.favorites__informer_content svg {
    width: 20px;
    height: 20px;
    fill: rgb(77, 165, 115);
    margin-right: 20px;
}

.favorites__informer .icon {
    margin-right: 6px;
}