/* Избранное */
.c-buy__buttons .mg-add-to-favorites,
.c-buy__buttons .mg-remove-to-favorites {
    color: var(--main-color);
    border: 1px solid var(--main-color);
    background-color: #fff;
    font-size: 15px;
    padding: 12px 15px;
    margin-right: 10px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.mg-add-to-favorites:hover,
.mg-remove-to-favorites:hover {
    color: #afafaf;
    border-color: #afafaf;
}

.mg-add-to-favorites svg,
.mg-remove-to-favorites svg {
    width: 20px;
    height: 20px;
    vertical-align: sub;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    display: none;
}

.mg-add-to-favorites:hover svg,
.mg-remove-to-favorites svg {
    display: none;
}

.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;
}

.product-options__item--wishlist {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.product-options__item--wishlist a {
    width: 20px !important;
    height: 20px !important;
    border: none !important;
    padding: 0;
    font-size: 0;
    position: relative;
    background-color: transparent;
    display: none;
}

.product-options__item--wishlist .mg-add-to-favorites {
    display: block;
}
.product-options__item--wishlist .mg-remove-to-favorites {
    display: block;
}

.product-options__item--wishlist .mg-remove-to-favorites svg {
    fill: var(--main-color);
    width: 20px;
    height: 20px;
}

.product-options__item--wishlist a svg {
    display: inline-block;
    position: absolute;
    top: 6px;
    fill: #878787;
}

.product-options__item--wishlist a:hover svg {
    fill: var(--main-color);
    display: block;
}

.c-goods__item .mg-add-to-favorites,
.c-goods__item .mg-remove-to-favorites {
    color: var(--main-color);
    border: 1px solid var(--main-color);
    background-color: #fff;
    font-size: 15px;
    padding: 12px 15px;
    margin-right: 10px;
    text-transform: uppercase;
    margin: 0;
}
