.favorites_list_item {
    display: flex;
    background: white;
    padding: 20px;
    border-radius: 10px;
    gap:40px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
        max-width: 1200px;
         position: relative;
}

.favorites-item__infowrap {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
       width: 100%;
       align-items: center;
}

.favorites-info__pagetitle {
    font-size: 22px;
    font-weight: 600;
    height: auto;
    margin-bottom: 20px;
    margin-top: 0px;
    display: block;

}
.favorites-info__block {
    display: flex;
   gap: 60px;
    margin-bottom: 30px;
}
.favorites-info__blockleft {
    width: 250px;
}
.favorites_list_item b,
.favorites_list_item strong{
font-weight: 600;
}
.favorites-item__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 300px;
    justify-content: flex-end;
}
.favorites-item__buttons .catalog-item__price{
    font-size: 30px;
    white-space: nowrap;
    padding-right: 20px;
}

.favorites-item__buttons .catalog-item__btn {
    border-radius: 26px;  
    padding: 0 28px;    
    height: 46px;
    width: 150px;
}
button.favorites-item__delbtn {
    background: white;         
    border-radius: 100px;
    position: absolute;    
        top: 30px;
    right: 60px;
    z-index: 2;
}

button.favorites-item__delbtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    display: inline-block;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    background-image: url(../img/2024/icon-delete.svg);   
    filter: none;
    opacity: 0.5;
}
button.favorites-item__delbtn:hover::before {  
    filter: invert(12%) sepia(100%) saturate(5018%) hue-rotate(7deg) brightness(81%) contrast(121%);
}


.myfavorites-counter:before {
    background-color: #4b5b78 !important;
    position: absolute;
    top: 8px;
    left: 12px;
}
.myfavorites-counter:hover:before {
    background-color: #fff !important;
}

.myfavorites-counter .counter-value.counter-value__null {
    opacity: 0;
}
.myfavorites-counter .counter-value.counter-value__notnull {
    opacity: 1;
}


.myfavorites-wrapper {    
    color: #005b9b;
    position: relative;
    width: 150px;
}
span.myfavorites-text {
    position: absolute;
    top: 0;
    left: 30px;
    white-space: nowrap;
    transform: translateY(-50%);
}
.myfavorites-wrapper:hover .myfavorites-text{
   color: #2196f3;
}
.myfavorites-btn {    
    background: rgba(0, 0, 0, 0);
    border: 0;
    cursor: pointer;
    display: inline-block;   
    margin: 0;
    padding: 0;
    text-decoration: none;
    width: 150px;
    position: absolute;
    transform: translateY(-50%);
    
}

.myfavorites-btn:focus {
    outline: none
}

.myfavorites-btn:before {
    background-color: var(--myf-btn-icon-color, var(--myf-primary-color, #ffa900));
    content: "";
    display: block;    
    -webkit-mask-image: var(--myf-btn-icon, url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="none" stroke="%23ffa900" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpath d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/%3e%3c/svg%3e'));
    mask-image: var(--myf-btn-icon, url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="none" stroke="%23ffa900" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpath d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/%3e%3c/svg%3e'));
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-transition: var(--myf-btn-transition, background-color .2s ease-in-out);
    -o-transition: var(--myf-btn-transition, background-color .2s ease-in-out);
    transition: var(--myf-btn-transition, background-color .2s ease-in-out);
    width: var(--myf-btn-size, 24px);
    height: var(--myf-btn-size, 24px);
}

.myfavorites-btn.glow-hover:before {
    background-image: -o-linear-gradient(135deg, transparent 46.5%, var(--myf-btn-icon-color-hover, #fff) 50%, transparent 53.5%);
    background-image: linear-gradient(-45deg, transparent 46.5%, var(--myf-btn-icon-color-hover, #fff) 50%, transparent 53.5%);
    background-position: 100%;
    background-size: 300% 300%;
    -webkit-transition: background-position .6s;
    -o-transition: background-position .6s;
    transition: background-position .6s
}

.myfavorites-btn.glow-hover:hover:before {
    background-position: 0
}

.myfavorites-btn.animate:before {
    -webkit-animation: var(--myf-btn-animate, myfavorites-btn .2s 1);
    animation: var(--myf-btn-animate, myfavorites-btn .2s 1)
}

.myfavorites-btn.added:before {
    background-color: var(--myf-btn-added-icon-color, var(--myf-primary-color, #ffa900));
    -webkit-mask-image: var(--myf-btn-added-icon, url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="%23ffa900" stroke="%23ffa900" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpath d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/%3e%3c/svg%3e'));
    mask-image: var(--myf-btn-added-icon, url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="%23ffa900" stroke="%23ffa900" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpath d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/%3e%3c/svg%3e'))
}

.myfavorites-counter {
    cursor: pointer;
    display: inline-block;
    position: relative;
    text-decoration: none
}

.myfavorites-counter:before {
    background-color: var(--myf-counter-icon-color, var(--myf-secondary-color, rgba(0, 0, 0, .549)));
    content: "";
    height: var(--myf-counter-size, 24px);
    -webkit-mask-image: var(--myf-counter-icon, url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="none" stroke="%23ffa900" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpath d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/%3e%3c/svg%3e'));
    mask-image: var(--myf-counter-icon, url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="none" stroke="%23ffa900" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpath d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/%3e%3c/svg%3e'));
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: var(--myf-counter-size, 24px)
}

.myfavorites-counter .counter-value,
.myfavorites-counter:before {
    display: block;
    -webkit-transition: var(--myf-counter-transition, all .2s ease-in-out);
    -o-transition: var(--myf-counter-transition, all .2s ease-in-out);
    transition: var(--myf-counter-transition, all .2s ease-in-out)
}

.myfavorites-counter .counter-value {
    background-color: var(--myf-counter-value-bg, var(--myf-primary-color, #ffa900));
    border-radius: 50%;
    color: var(--myf-counter-value-color, #fff);
    font-size: var(--myf-counter-font-size, 9px);
    height: var(--myf-counter-value-size, 18px);
    line-height: var(--myf-counter-value-size, 18px);
    opacity: var(--myf-counter-value-opacity, .9);
    position: absolute;
    right: var(--myf-counter-value-offset, 1px);
    text-align: center;
    top: var(--myf-counter-value-offset, 1px);
    width: var(--myf-counter-value-size, 18px)
}

.myfavorites-counter:hover:before {
    background-color: var(--myf-counter-icon-color-hover, var(--myf-primary-color, #ffa900))
}

.myfavorites-counter:hover .counter-value {
    opacity: var(--myf-counter-value-opacity-hover, 1)
}

@-webkit-keyframes myfavorites-btn {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    90% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3)
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes myfavorites-btn {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    90% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3)
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}
.favorites-clearlists {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
  .favorites-info__block {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-direction: column;
}
.favorites-info__blockleft {
    width: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.catalog-item__img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.favorites-item__buttons {
    justify-content: flex-start;
}
.myfavorites-wrapper {
    width: 24px;
}
.myfavorites-btn {
    width: 24px;
}
  }

@media (max-width: 576px) {
.favorites-item__infowrap {
   
    flex-direction: column;
}
.favorites-info__pagetitle {
    font-size: 20px;
    margin-right: 0;
    text-align: center;
}
.favorites-item__buttons {

    width: 100%; 
    justify-content: space-between;
}
  }