.header-compare,
.header-favorite {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 36px;
    height: 36px;
    margin-left: 0;
    vertical-align: middle;
    color: #000;
    text-decoration: none;
}

.header-compare:hover,
.header-compare:focus,
.header-favorite:hover,
.header-favorite:focus {
    color: #aac834;
    text-decoration: none;
}

.header-compare:hover .header-icon-svg--compare rect,
.header-compare:focus .header-icon-svg--compare rect {
    fill: #aac834;
}

.header-compare .header-icon,
.header-favorite .header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 0;
}

.header-icon-svg {
    display: block;
    width: 20px;
    height: 20px;
}

.header-icon-svg--compare rect {
    fill: currentColor;
}

.header-icon-svg--heart .header-heart-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linejoin: round;
    transition: fill 0.15s ease, stroke 0.15s ease;
}

.header-favorite:hover .header-icon-svg--heart .header-heart-path,
.header-favorite:focus .header-icon-svg--heart .header-heart-path {
    fill: #aac834;
    stroke: #aac834;
}

.header-compare .js-header-compare-count,
.header-favorite .js-header-favorite-count {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin: 0;
    border-radius: 9px;
    background: #aac834;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.header-compare .js-header-compare-count:empty,
.header-compare.is-empty .js-header-compare-count,
.header-favorite .js-header-favorite-count:empty,
.header-favorite.is-empty .js-header-favorite-count {
    display: none;
}

.phone-col .header-compare,
.phone-col .header-favorite {
    display: inline-flex;
}

.phone-col.visible-xs .header-compare,
.phone-col.visible-xs .header-favorite {
    margin-left: 0;
    margin-top: 10px;
}

/* --- Листинг: избранное на карточке --- */

.catalog-item-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}

.catalog-item-image-wrap .image {
    position: relative;
}

.link-favorite {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    margin: 0;
    line-height: 0;
}

.link-favorite .add-to-favorite {
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #aac834;
    font-size: 17px;
    line-height: 1;
    transition: color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.link-favorite .add-to-favorite:not(.active) {
    color: #aac834;
    opacity: 0.45;
}

.link-favorite .add-to-favorite:hover {
    opacity: 1;
    transform: scale(1.06);
}

.link-favorite .add-to-favorite.active {
    color: #aac834;
    opacity: 1;
}

.link-favorite--remove .add-to-favorite--remove {
    color: #666;
    opacity: 1;
}

.link-favorite--remove .add-to-favorite--remove:hover {
    color: #c0392b;
}

.link-favorite .add-to-favorite .fa {
    pointer-events: none;
}

.favorites-page-empty {
    padding: 24px 0;
    font-size: 16px;
}
.search-col_wrapp {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.compare_favorite_mobile {
    display: flex;
}