.nir-compare {
    cursor: pointer;
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #F4F6F6;
    border-radius: 100%;
    position: relative;
}
.nir-compare:before {
    color: #182b48;
    /*font-size: 20px !important;
    width: 20px;*/
    transition: none;
    top: Calc((100% - 24px)/2);
    left: Calc((100% - 24px)/2);
    position: absolute;
}
.goods-block-right .nir-compare{
    background: transparent;
}
/*.nir-compare:hover, .nir-compare.active{
    background: #102C60;
}*/
.nir-compare:hover:before, .nir-compare.active:before {
    color: rgba(24, 43, 72, 0.7);
}

.nir-compare > span {
    display: none;
    color: #607D8B;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    bottom: 5px;
    margin-left: 8px;
}

.goods-heading-tab .nir-compare, .goods-heading .nir-compare {
    position: relative;
    height: 24px;
    width: auto;
}
.goods-heading-tab .nir-compare:before, .goods-heading .nir-compare:before {
    transition: color 200ms;
    left: 0;
    top: 0;
    position: relative;
}
.goods-heading-tab .nir-compare > span, .goods-heading .nir-compare > span {
    display: inline-block;
}

@media (min-width: 768px) {
    .product .nir-compare:hover i:before {
        bottom: -4px;
        left: 50%;
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border: solid transparent;
        border-color: rgba(49, 53, 65, 0);
        border-bottom-color: #313541;
        border-width: 4px;
        margin-left: -4px;
    }

    .product .nir-compare:hover i:after {
        content: attr(data-title);
        position: absolute;
        top: 36px;
        left: calc(50% - 128px);
        z-index: 1;
        background: #313541;
        color: #fff;
        font-size: 12px;
        font-weight: 400;
        font-style: normal;
        letter-spacing: normal;
        line-height: normal;
        padding: 6px 8px;
        border-radius: 6px;
        width: 144px;
        text-align: center;
        text-transform: none;
    }
}

@media (max-width: 767px) {
    .nir-compare:hover:before {
        color: #B3E5FC;
    }
}
