/*----------------------Верстка всех кнопок------------------------*/
.add_to_favorites_button:hover {
    cursor: pointer;
    opacity: 1;
}

.add_to_favorites_button{
    opacity: .4;
    border-radius: 50%;
}

.product-badge.product__feature .add_to_favorites_button:hover {
    cursor: pointer;
    opacity: 1;
}

.product-badge.product__feature .add_to_favorites_button{
    opacity: .6;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-badge.product__feature .add_to_favorites_button img{
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

@media (min-width: 1200px) and (max-width: 1569.98px) {
    .product-badge.product__feature .add_to_favorites_button img {
        width: 30px;
        height: 30px;
        margin-bottom: 3px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .product-badge.product__feature .add_to_favorites_button img {
        width: 30px;
        height: 30px;
        margin-bottom: 3px;
    }
}

@media (max-width: 575.98px) {
    .product-badge.product__feature .add_to_favorites_button img {
        width: 30px;
        height: 30px;
        margin-bottom: 3px;
    }
}

.product-list-item.product-list-item--grid .add_to_favorites_button {
    position: absolute;
    width: 40px;
    display: flow;
    right: 13px;
    top: 14px;
}


.product-list-item.product-list-item--table .add_to_favorites_button {
    position: absolute;
    height: 30px;
    width: 30px;
    top: 15%;
}

@media (min-width: 1570px) {
    .product-list-item.product-list-item--table .add_to_favorites_button {
        /*right: 125px;*/
    }
}
@media (min-width: 1200px) {
    .product-list-item.product-list-item--table .add_to_favorites_button {
        top: 10%;
        left: 13px;
    }
}
@media (min-width: 991px) and (max-width: 1199px) {
    .product-list-item.product-list-item--table .add_to_favorites_button {
        top: 5%;
        left: 13px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-list-item.product-list-item--table .add_to_favorites_button {
        top: 5%;
        left: 13px;
    }
}


@media (max-width: 991px) {
    .product-list-item.product-list-item--table .add_to_favorites_button {
        height: 40px;
        width: 40px;
        display: flow;
        right: 13px;
        top: 14px;
        left: auto;
    }
}

.changePopupFavorites {
    display: none;
    position: fixed;
    z-index: 99999999;
    top: 15%;
    right: 8%;
    transform: translate(0, -50%);
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border-radius: 5px;
    max-width: 250px;
    transition: opacity 0.5s ease-in-out;
    border: 1px solid #e72d2e;
}

.close_faforite_popap {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    padding-bottom: 5px;
}

/* Heart Image */
.heart-img {
    width: 70px;
    height: 70px;
    padding-right: 10px;
}

.favorite_popup_content{
    display:  flex;
}

.favorite_popup_content h4 {
    font-size: 18px;
}

.favorite_popup_content p{
    font-size: 12px;
}

.favorite_popup_content a{
    font-size: 13px;
}


/*-------------------------------------Вёрстка меню на странице изранного----------------------------------------*/
.favorite_menu {
    position: absolute;
    right: 10%;
}

@media (max-width: 991px) {
    .favorite_menu{
        position: static;
        right: auto;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid black;
    }

    .favorite_menu_button {
        border-radius: 3px;
        border: 1px solid #808080;
        padding: 5px 10px 5px 10px;
    }
    .favorite_menu_button:hover {
        border: 1px solid #e72d2e;
    }
}


.favorite_menu_list {
    display: flex;
}

.favorite_menu_button {
    margin-right: 15px;
    color: #808080;
    position: relative;
    margin-bottom: 5px;
}

.favorite_menu_button:hover {
    color: #e72d2e;
    border-bottom: 2px solid #e72d2e;
    cursor: pointer;
}


/*--------------------------------------Стили для сообщения при пустом избранном----------------------------------------------------------------*/
