.compare {
    margin: 0 0 60px
}
.compare__empty {
    display: none;
    margin: 20px 0
}
.compare__empty-title {
    margin-bottom: 10px
}
.compare__table--mobile {
    display: none
}
.compare__row {
    border-bottom: 1px solid #aaa;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
    padding: 6px 0
}
.compare__row--sticky {
    position: sticky;
    top: 37px;
    background: #fff;
    z-index: 2;
}
.compare__row--noborder {
    border-bottom: 0
}
.compare__row--gray {
    background-color: #f0f0f0;
}
.compare__header {
    font-size: 18px;
    line-height: normal;
    font-weight: 700;
    padding: 8px 0;
    margin: 16px 0 8px 0;
}
.compare__head {
    flex-shrink: 0;
    width: 170px;
    color: #333;
}
.compare__body {
    overflow: hidden;
    width: calc(100% - 170px)
}

.compare__body-scroller {
    display: -webkit-box;
    display: flex;
    width: 100%
}

.compare__item {
    position: relative;
    flex-shrink: 0;
    width: 190px;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-align: start;
    align-items: flex-start;
    color: #666;
    overflow: hidden;
    margin-left: 12px;
}
.compare__item .order-button {
    width: 100%;
}
.compare__table--mobile .order-button {
    padding-bottom: 0.5em;
}
.compare__item .btn {
	display: block;
	width: 100%;
    min-width: 0;
    height: auto;
    line-height: normal;
    padding: 10px;
}
.compare__item img {
    width: 190px;
    align-self: center
}
.compare__item .slick-slider {
    width: 100%
}
.compare__item .slick-slider .slider-nav-prev {
    left: 0;
    top: 100%;
    margin-top: 0;
}
.compare__item .slick-slider .slider-nav-next {
    right: 0;
    top: 100%;
    margin-top: 0;
}
.compare__item .slick-slider>.compare__slide:not(:first-child) {
    display: none
}
.compare__block {
    display: none;
    width: 100%;
    text-align: center
}
.compare__block:first-child {
    display: block
}

.compare__rowhead {
    margin-bottom: 4px;
    width: 100%;
    background: #e5e5e5;
    text-align: center;
}
.compare__title ,
.content .compare__title a {
    font-size: 14px;
    line-height: 1.6em;
    font-weight: normal;
    text-decoration: none;
    color: #000;
}
.content .compare__title a:hover {
    color: var(--blue);
    text-decoration: underline;
}
.compare__img {
    position: relative;
    width: 100%;
}
.compare__img:after {
    display: block;
    content: '';
    width: 100%;
    padding-bottom: 100%;
    background: #eee;
}
.compare__img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}
.compare__price-container {
    display: -webkit-box;
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
    line-height: 18px;
    color: #333;
    padding-right: 12px;
}
.compare__price-container--featured {
    font-weight: bold;
}
.compare__price-type {
    margin-right: 10px;
}
.compare__price--old {
    color: #999;
    text-decoration: line-through
}
.compare__price--new {
    color: #f00;
}
.compare__counter {
    width: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    padding: 0 0 6px 0;
}

.content a.compare__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
}
.content a.compare__remove img {
    width: 16px;
    height: 16px;
}
.content a.compare__remove:hover {
	color: var(--blue);
}


.compare__scroll {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    width: 100%
}
.compare__scroll-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    cursor: pointer
}
.compare__scroll-container {
    position: relative;
    -webkit-box-flex: 1;
    flex-grow: 1;
    height: 6px;
    border-radius: 2px;
    background: #eee;
    overflow: hidden
}
.compare__scroll-scroller {
    position: absolute;
    top: 0;
    height: 6px;
    background-color: var(--blue)
}
@media (max-width: 700px) {
    .compare__table {
        display:none;
    }
    .compare__table--mobile {
        display: block
    }
    .compare__row {
        flex-wrap: wrap;
        width: 100%;
        padding: 2px 0;
        border-bottom: 0
    }
    .compare__row--sticky {
        padding: 0 20px;
        margin: 0 -20px;
        width: auto;
        border-bottom: 1px solid #aaa;
    }
    .compare__head {
        display: none
    }
    .compare__body {
        width: 100%
    }
    .compare__item {
        width: 50%;
        padding: 0 4px;
        margin-left: 0;
    }
    .compare__row--sticky .compare__item {
        overflow: visible;
    }
    .compare__img {
        max-width: 190px;
        margin: 0 auto;
    }
    .compare__item img {
        width: 100%
    }
    .compare__item .button {
        margin: 24px 0 12px
    }
    .compare__title {
        display: flex;
        align-items: flex-end;
        font-size: 14px;
        line-height: 18px;
        height: 36px;
        overflow: hidden;
        margin-bottom: 6px
    }
    .compare__price-container {
        padding: 0 4px 0 0;
    }
    .compare__price-container:last-child {
        padding-bottom: 4px;
    }
    .compare__scroll {
        display: none
    }
}
@media (max-width: 480px) {
    .compare__item {
        display:block
    }
    .compare__item .button {
        width: 100%
    }
    .compare__item .button svg {
        display: none
    }
    .compare__price {
        margin-top: auto;
        display: block;
        text-align: center
    }
}
