.comparison-table {
    width: 100%;
}

.comparison-corner {
    width: 100%;
    order: 10;
    display: block;
    text-align: center;
    background: #ccd5e7;
}

a.comparison-link {
    text-decoration: none;
}

a.comparison-params__btn {
    text-decoration: none;
    display: inline-block;
    border-bottom: none;
    background: #ccd5e7;
    color: #005b9b;
    padding: 5px 20px;
    border-radius: 20px;
    margin: 0 5px;
}

a.comparison-params__btn.active {
    background: #ffffff;
}

a.comparison-go {
    color: #0086d8;
    border-bottom: 1px solid;
    text-decoration: none;
}


.comparison .comparison-add {
    display: inline-block;
}

.comparison .comparison-remove,
.comparison .comparison-go,
.comparison .comparison-total {
    display: none;
}

.comparison.added .comparison-add {
    display: none;
}

.comparison.added .comparison-remove,
.comparison.added.can_compare .comparison-go,
.comparison.added.can_compare .comparison-total {
    display: inline-block;
}

.comparison .loading {
    opacity: .7;
    cursor: default;
}

.comparison .loading:hover {
    text-decoration: none;
}


.comparison-table td {
    padding: 5px;
}

.comparison-table .comparison-head {
    padding-bottom: 1em;
    position: relative;
}


.comparison-head img {
    width: 100%;
    height: auto;
    max-width: 130px;
}

.comparison {
    position: relative;
}

.comparison-head__wrap {
    width: 100%;
    background: white;
    position: relative;
    transition: all 0.8s ease;
}



.comparison-head__wrap._fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.8s ease;
}

.comparison-head__wrap._out {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.8s ease;
}




.comparison-table .field-price {
    font-weight: bold;
}

.compare-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

ul.compare-lists__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
        width: 100%;
}
ul.compare-lists__clearlists{
    justify-content: flex-end;
}
.compare-lists__totalcount {
    background: #ccd5e7;
    ;
    display: flex;
    align-items: center;
    position: relative;
    height: 50px;
    max-height: 50px;
    padding: 10px 25px 10px 10px
}

.compare-lists__totalcount::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 25px solid #f0f3f7;
    border-bottom: 25px solid #f0f3f7;
    border-left: 25px solid #ccd5e7;
    ;
}

.compare-lists__items li {
    border: solid 1px #ccd5e7;
    border-radius: 25px;
    padding: 5px 15px;
}

.compare-lists__items li a {
    text-decoration: none;
}

.compare-lists__items li.activelist {
    background: white;
    font-weight: 600;
}

li.compare-clearlists {
    background: #ccd5e7;
    transition: all 0.3s;
}

li.compare-clearlists:hover {
    background: #ffffff;
}

li.compare-clearlists a {
    position: relative;
    margin-left: 20px;
    color: #000000;
    text-decoration: none;
}

li.compare-clearlists a::before {
    content: '';
    position: absolute;
    transition: all 0.4s;
    top: 0;
    left: -25px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/2024/icon-delete.svg);
    opacity: .7;
}

li.compare-clearlists a:hover::before {
    filter: invert(12%) sepia(100%) saturate(5018%) hue-rotate(7deg) brightness(81%) contrast(121%);
}



.comparison-table table,
.comparison-table table tbody,
.comparison-table table tr,
.comparison-table table td {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
}
.comparison-table table th, .comparison-table table td {
    padding: 0; 
    border: none; 
}
.comparison-table table tr td:first-child p{
    font-weight: 600;
}
.comparison-table table th {
    font-weight: 600;
}
.comparison-table table p {
    display: inline-block;
    margin: 0;
}
.comparison-table table tr {
    margin-bottom: 6px;
}

.comparison-table table td {
    display: inline;
}
.comparison-table table thead {
    background-color: white;
}
.comparison-table table td:first-child {
    font-weight: 600;
    margin-right: 4px;
}
.comparison-table li {    
    margin-bottom: 10px;
}

.comparison-param {
    width: 100%;
    background: #e6eaf1;
    text-align: center;
    text-transform: uppercase;
}

.comparison-param__sticky {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
}


.comparison-row {
    display: flex;
    flex-wrap: wrap;
    background: white;
}

.comparison-table.comparison-items-2,
.comparison-table.comparison-items-2 .comparison-row {
    min-width: 360px;
}

.comparison-table.comparison-items-3,
.comparison-table.comparison-items-3 .comparison-row {
    min-width: 540px;
}

.comparison-table.comparison-items-4,
.comparison-table.comparison-items-4 .comparison-row {
    min-width: 720px;
}

.comparison-table.comparison-items-5,
.comparison-table.comparison-items-5 .comparison-row {
    min-width: 900px;
}

.comparison-table.comparison-items-6,
.comparison-table.comparison-items-6 .comparison-row {
    min-width: 1080px;
}

.comparison-cell.comparison-items-2 {
    width: 50%;
}

.comparison-cell.comparison-items-3 {
    width: 33.33%;
}

.comparison-cell.comparison-items-4 {
    width: 25%;
}

.comparison-cell.comparison-items-5 {
    width: 20%;
}

.comparison-cell.comparison-items-6 {
    width: 16.66%;
}

.comparison-cell,
.comparison-head {
    text-align: center;
    padding: 12px;
    min-width: 180px;
    border: 1px solid #e6eaf1;
}

.comparison-cell.field-product_character{
    font-size: 14px!important;
    line-height: 1.2;
}
.comparison-cell.field-product_character {
    text-align: left;
}

.field-product_character p {
       margin-bottom: 10px;
   
}

.comparison-table .comparison-remove {
    display: inline-block;
    position: absolute;
    top: 30px;
    right: 0px;
    font-size: .7em;
    color: white;
    transition: all 0.4s;
}

.comparison-table .comparison-remove:hover {
    color: black;

}

.comparison-table .comparison-remove::before {
    content: '';
    position: absolute;
    transition: all 0.4s;
    top: -50%;
    left: 5px;
    display: inline-block;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    background-image: url(../img/2024/icon-delete.svg);
    opacity: .4;
}

.comparison-table .comparison-remove:hover::before {
    content: '';
    filter: invert(12%) sepia(100%) saturate(5018%) hue-rotate(7deg) brightness(81%) contrast(121%);
    opacity: .7;
}

.comparison-head__wrap .comparison-row:first-child {
    position: static;
    max-width: 1440px;
}

.gtx-trans-icon {
    display: none !important;
}

.comparison-btn-add {
    position: relative;
    margin-left: 28px;
    margin-right: 40px;
}
.comparison-btn-add.comparison-category{
    position: relative;
    margin-left: 28px;
    margin-right: 0px;
}
.comparison-category-add::before {
    filter: grayscale(1);
} 
.comparison-category-add:hover::before {
    filter: none;
} 
.comparison-go.comparison-linktocompare {
    position: relative;
    display: block !important;
    border-bottom: none !important;
}

.comparison-linktocompare__total {
    text-align: center;
}

span.comparison-total.comparison-linktocompare__total {
    display: block;
}

.comparison-btn-add .comparison-add:before,
.comparison-btn-add .comparison-remove:before {
    content: '';
    position: absolute;
    transition: all 0.4s;
    top: 0;
    left: -28px;
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.comparison-linktocompare__total {
    position: absolute;
}

.comparison-linktocompare:before {
    content: '';
    position: absolute;
    transition: all 0.4s;
    top: 7px;
    left: 10px;
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.comparison-linktocompare:before {
    background-image: url(/assets/img/compare.svg);
}

.comparison-btn-add .comparison-add:before {
    background-image: url(/assets/img/compare.svg);
}

.comparison-btn-add .comparison-remove:before {
    background-image: url(/assets/img/compare1.svg);
}

.comparison .comparison-go.comparison-linktocompare {
    display: block;
}

a.comparison-go.comparison-linktocompare:before {
    background-image: url(/assets/img/compare_none.svg);
    filter: invert(33%) sepia(9%) saturate(1820%) hue-rotate(180deg) brightness(96%) contrast(84%);
}

a:hover.comparison-go.comparison-linktocompare:before {
    background-image: url(/assets/img/compare_none.svg);
    filter: invert(100%);
}

a.comparison-go.comparison-linktocompare .counter-value__null {
    opacity: 0;
    transition: all 0.4s;
}

a:hover.comparison-go.comparison-linktocompare .counter-value__null {
    opacity: 1;
}


.comparison-head-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 17;
    background: #fff;
    overflow-x: hidden;
    padding: 0 10px;
        box-shadow: 0 0 9px 0px #00000082;
}

.comparison-head-fixed .comparison-corner{
    display: none;
}

.comparison-head-fixed .comparison-head__wrap {
    overflow-x: auto;
}

a.comparison-head__pagetitle {    
    display: block;
    line-height: 1.3;
    width: 100%;
}


@media (max-width: 992px) {
    .comparison-wrapper {
        overflow-x: scroll;

    }

    .compare-page .container {
        width: 100%;
        padding: 0 10px;
    }

    .compare-page .comparison-head__wrap .container {
        width: 100%;
        padding: 0;
    }

    .comparison-param__sticky {
        width: 680px;
        position: -webkit-sticky;
        position: -webkit-sticky;
        position: sticky;
        left: 25px;
        display: block;
    }

    .comparison-table .comparison-remove {

        top: 20px;
        right: 10px;
        font-size: .4em;

    }

    a.comparison-head__pagetitle {
        font-size: 14px;       
    }
}

@media (max-width: 767px) {
    .comparison-param__sticky {
        width: 500px;
    }

}

@media (max-width: 576px) {
    .comparison-param__sticky {
        width: calc(100vw - 75px);
        left: 25px;

    }

}