.second-scroll {
    margin-bottom: 10px;
    -ms-flex-preferred-size: 80%;
    flex-basis: 80%;
}

.second-scroll__wrap {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
}

/* c-compare
------------------------------------------------------------------- */

.compare-page {
    background-color: var(--accent-background-color);
}

.c-compare {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 100%;
    width: 100%;
    height: 100%;
    padding: 20px 0 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.c-compare__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: var(--main-background-color);
    box-shadow: 0 0 10px #0000001a;
}

.c-compare__top__select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.c-compare-select {
    padding: 5px;
    border-radius: 5px;
    background-color: var(--accent-background-color);
    color: var(--main-text-color);
    height: 30px;
}

.c-compare__top__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.c-compare__top__buttons > a {
    margin-left: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 12px;
    background-color: var(--secondary-background-color);
    color: var(--secondary-text-color);
    transition: all 0.4s ease-in-out;
    display: flex;
    align-items: center;
}

.c-compare__top__buttons > a svg,
.c-compare__top__buttons > a i {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--secondary-text-color);
    fill: var(--secondary-text-color);
    transition: all 0.4s ease-in-out;
    margin-right: 5px;
}

.c-compare__top__buttons > a:hover {
    background-color: var(--accent-color);
    color: var(--main-text-color);
}

.c-compare__top__buttons > a:hover svg,
.c-compare__top__buttons > a:hover i {
    fill: var(--main-text-color);
    color: var(--main-text-color);
}

@media screen and (max-width: 768px){
    .c-compare__top__buttons .c-button {
        padding: 0;
        background: 0;
        color: #666;
        border-bottom: 1px dashed #666;
        border-radius: 0;
        font-size: 14px;
        line-height: 1;
        height: 25px;
    }

    .c-compare__top__buttons .c-button .icon {
        display: none;
    }


    .c-compare__top select {
        height: 25px;
    }

    .c-compare__top {
        height: auto;
    }
}

.c-compare__wrapper .compare-product__item {
    position: relative;
}




.c-compare__left {
    position: relative;
    width: 45%;
    height: 100%;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.c-compare__right {
    width: 100%;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    overflow: auto;
    margin-bottom: 40px;
}

.c-compare__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 10px;
}

.c-compare__item {
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}



.c-compare__img {
    display: block;
    margin-bottom: 20px;
    height: 200px;
    background-color: var(--main-background-color);
}

.c-compare__img img {
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.compare-product__title {
    font-size: 14px;
    color: #848484;
    line-height: 1.67;
    margin-bottom: 4px;
    letter-spacing: 0.8px;
    font-weight: 500;
    transition: all 0.4s ease-in-out;
}

.c-compare__item:hover .compare-product__title {
    text-decoration: underline;
}

.compare-product__title:hover {
    color: var(--accent-color);
}

.c-compare__property {
    display: none;
}

.c-compare__table {
    font-size: 12px;
    line-height: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    padding-bottom: 60px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
}

.c-compare__table__left {
    position: absolute;
    top: 300px;
    left: 0;
    width: 100%;
}

.c-compare__table__left .c-compare__row {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.c-compare__table__left .c-compare__column {
    font-weight: 500;
    width: 100%;
    text-transform: uppercase;
}

.c-compare__table__right .c-compare__column {
    min-width: 225px;
    max-width: 225px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.c-compare__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.c-compare__column {
    line-height: 1.2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 35px;
    margin-right: 10px;
    padding: 5px 10px;
    border-bottom: 1px solid #dadada;
    background: #fff;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.c-compare__name {
    color: var(--main-text-color);
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 7px;
    max-width: 65%;
}

.c-compare__value {
    color: var(--third-text-color);
    font-size: 12px;
    font-weight: 400;
}

.c-compare__remove {
    text-align: right;
    text-align: right;
    position: absolute;
    display: block;
    width: 25px;
    height: 25px;
    top: 10px;
    right: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
    font-size: 25px;
    line-height: 1;
}

.c-compare__remove:hover {
    color: var(--accent-color);
}


.c-compare .compare-product__title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-height: 47px;
    min-height: 47px;
}


.mg-compare-products .mg-tooltip .mg-tooltip-content {
    position: absolute;
    z-index: 111;
    text-align: left;
    padding: 5px 8px;
    border-radius: 5px;
    background: #fff;
    top: 100%;
    left: 10px;

    color: #000;
    font-size: 12px;
    line-height: 19px;
    box-shadow: 0 1px 23px 1px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
    white-space: normal;
    width: 200px;
}

.mg-compare-products .mg-tooltip:hover .mg-tooltip-content {
    display: block !important;
}

.mg-compare-products .mg-tooltip:hover {
    color: #9e9999;
    border: 1px solid #9e9999;
}

.mg-compare-products .mg-tooltip {
    display: inline-block;
    vertical-align: middle;
    padding: 0 0 0 0;
    width: 15px;
    height: 15px;
    border-radius: 100px;
    color: #1391c7;
    font-size: 9px;
    line-height: 14px;
    text-align: center;
    font-weight: normal;
    border: 1px solid #1391c7;
    cursor: pointer;
}

.c-compare__column {
    position: relative;
}

.mg-compare-fake-table-cell.with-tooltip .mg-tooltip {
    right: 5px;
    left: auto;
}

.mg-compare-fake-table-cell.with-tooltip .mg-tooltip {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.l-body_overflow_hidden {
    overflow: hidden;
}

.compare-product__price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    max-height: 30px;
    min-height: 30px;
    flex-wrap: wrap;
}

.mg-compare-product .compare-product__price--current {
    margin-right: 10px;
}

.mg-compare-product .compare-product__price--old {
    color: #848484;
}

@media screen and (max-width: 425px) {
    .c-compare__column {
        height: 45px;
    }

    .compare-text {
        font-size: 11px;
        max-width: 100%;
        overflow: hidden;
    }

    .compare-product__title {
        font-size: 15px;
    }

    .c-compare__table__left {
        top: 280px;
    }

    .c-compare__top__buttons > a {
        margin-left: 10px;
        margin-top: 0!important;
    }

    .c-compare__top__buttons,
    .c-compare__top {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .c-compare__top__buttons .button,
    .c-compare__top select {
        margin-bottom: 10px;
    }
}

.c-compare__right{
    scrollbar-color: var(--main-color) #f3f3f3;
    scrollbar-width: 10px;
}

.c-compare__right::-webkit-scrollbar {
    background-color: #f3f3f3;
    height: 8px;
}

.c-compare__right::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 5px; 
}

.c-compare__props {
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}