.compare {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 100px;
    padding: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    text-decoration: none;
    color: var(--main-text-color);
    transition: all 0.2s;
    background: var(--header-menu-background);
    margin-right: 1rem;
}

.compare:hover {
    transform: scale(1.05);
}

.compare__icon {
    width: 2.1rem;
    height: 1.9rem;
    fill: var(--main-text-color);
    flex-shrink: 0;
}

.compare__count {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    background: none;
    color: inherit;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 500;
    position: absolute;
    top: 0rem;
    right: 0rem;
    background: var(--accent-color);
    color: var(--secondary-text-color);
    min-height: 14px;
    min-width: 14px;
    border-radius: 20px;
    text-align: center;
}

.compare__container {
    display: none;
}

.compare .c-compare__link--text {
    display: none;
}

