
.compare-item {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    max-width: 27rem;
    margin: 0 auto;
}

.compare-item__buttons {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.compare-item__image {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    height: 5rem;
    margin: 0 0 1rem;
}

.compare-item__footer {
    display: -ms-flexbox;
    display: flex;
    margin: auto 0 0 0;
}

.compare-item__title {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
    line-height: 1.37;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s;
    color: inherit;
}

.compare-item__price-container {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 1.7rem;
    line-height: 1.15;
    font-weight: 400;
    white-space: nowrap;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex: 1;
    flex: 1;
}

.compare-item__price {
    text-decoration: none;
    margin: 0 1rem 0 0;
}

.compare-item__old-price {
    display: block;
    margin: 0;
    padding: 0 0.2rem;
    position: relative;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 400;
}

.compare-item__old-price::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0.2rem;
    background: #F45656;
    margin: -1px 0 0;
}

.compare-item .quickview__favorites svg {
    display: block;
    margin: 0;
    flex: 0 0 auto;
    position: relative;
    fill-rule: evenodd;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 2;
    width: 1.9rem;
    height: 1.7rem;
}
.compare-item .quickview__favorites,
.comare-item__remove {
    background: var(--main-background-color);
    color: var(--main-text-color);
    padding: 0;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 4px;
    border: 1px solid var(--secondary-border-color);
}

.compare-item .quickview__favorites .favorites-text {
    display: none;
}

.compare-item .quickview__favorites_remove svg {
    width: 2.4rem;
    height: 1.7rem;
    stroke: initial;
}

.comare-item__remove {
    margin: 0 0.5rem 0 0;
}

.comare-item__remove svg {
    display: block;
    margin: 0;
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
}
.compare-item .compare-item__footer .product-info.default-btn,
.compare-item .compare-item__footer .card__add-button.default-btn {
    width: 5rem;
    height: 5rem;
    padding: 0;
    justify-content: center;
}
.compare-item .compare-item__footer .a-button__title {
    display: none;
}

@media (min-width: 1200px) {
    .compare__item {
        min-width: 20%;
        max-width: 50rem;
    }
    .compare-item__image {
        margin: 0 0 2rem;
        height: 7rem;
    }
    .compare-item__title {
        margin: 0 0 1.5rem;
    }
    .compare-item__price-container {
        margin: 0 0 2rem;
    }
}