/* Избранное */
.mg-add-to-favorites,
.mg-remove-to-favorites {
    font-size: 14px;
    color: #aaa;
    font-weight: bold;
    padding: 4px 5px 4px 8px;
    white-space: nowrap;
    margin-left: 5px;
    line-height: 17px;
    background: none;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    font-weight: 500;
}

.mg-add-to-favorites i,
.mg-remove-to-favorites i {
    margin-right: 5px;
}

.mg-add-to-favorites:hover,
.mg-remove-to-favorites:hover {
    color: var(--main-color);
}

.favorites__title {
    display: none;
}

.product__panel .favorites__title {
    display: inline-block;
}

.mg-remove-to-favorites {
    color: var(--main-color);
}

.c-goods__item:hover .mg-add-to-favorites,
.c-goods__item:hover .mg-remove-to-favorites {
    opacity: 1;
    visibility: visible;
}


.remove__hover {
    display: none;
    width: 87px;
    text-align: center;
}

.mg-remove-to-favorites--product .remove__hover {
    width: 102px;
}

.mg-remove-to-favorites:hover .remove__text {
    display: none;
}

.mg-remove-to-favorites:hover .remove__hover {
    display: inline-block;
}

.mg-product-slides .mg-remove-to-favorites--product,
.mg-product-slides .mg-add-to-favorites--product {
    position: absolute;
    visibility: visible;
    opacity: 1;
    top: 5px;
    z-index: 51;
    border: 0;
    background: transparent;
    font-size: 12px;
    width: 145px;
}

.mg-product-slides .mg-remove-to-favorites--product svg,
.mg-product-slides .mg-add-to-favorites--product svg {
    vertical-align: bottom;
    width: 20px;
    height: 20px;
}
