.compare-table-block {
    padding-bottom: 90px;
}

.compare-table-wrapper {
    max-width: 1560px;
    padding: 0 22px;
    margin: 0 auto;
}

.compare-table-heading {
    padding: 0 0 15px;
}

.compare-table-block td {
    padding: 20px;
    border-bottom: 1px solid rgba(134,140,140,0.34);
    font-size: 13px;
    font-weight: 400;
    color: #3D3E3F;
    text-align: center;
}

.compare-table-block th {
    padding: 15px 12px 10px;
    vertical-align: top;
}

.compare-table-block thead {
    background-color: #F4F5F4;
}

.compare-table-block thead tr td.no-text {
    border: 0;
    display: none;
}

.compare-table-block table {
    min-width: 988px;
}

.compare-table-block tbody tr {
    background-color: #fff;
}

.compare-table-block tbody tr:nth-child(even) {
    background-color: #F4F5F4;
}

.compare-table-block tbody tr td:first-child {
    font-weight: 700;
    font-family: var(--font-gothambold);
    letter-spacing: -0.01em;
    text-align: right;
}

.compare-table-block tbody tr td:not(:first-child) {
    /* min-width: 244px; */
    width: 244px;
}

.table-wrapper {
    position: relative;
}

.table {
    overflow: auto;
    position: relative;
    padding-right: 70px;
}

.table-wrapper:after {
    position: absolute;
    content: "";
    width: 176px;
    height: 100%;
    right: 0;
    top: 0;
    background: rgb(255,255,255);
    background: linear-gradient(270deg, rgba(255,255,255,1) 23%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.table-price {
    color: #9EB28F;
    font-weight: 700;
    font-size: 15px;
}

.table-image-button__image {
    width: 100%;
    height: 134px;
}

.table-image-button__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-image-button__image-hover {
    display: none;
}

.table-image-button span {
    font-size: 11px;
    font-weight: 400;
    color: #3D3E3F;
    display: block;
    text-align: center;
    padding: 9px 0 0;
}

.table-image-button__image-btn .btn {
    font-size: 11px;
    display: block;
    margin-top: 5px;
    text-align: center;
    padding: 8px;
}

.table-image-button__image-btn .btn::after {
    display: none;
}

.ninja-table-block {
    padding-bottom: 0 !important;
}

.compare-table-block tbody tr td.no-text{
    display: none;
}
.compare-table-block table{
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) { 
    .table-wrapper:after {
        right: -22px;
    }

    .compare-table-block table {
        margin: 0 auto;
    }

    .compare-table-block td.no-text:not(:first-of-type) {display: none;}
}

@media (min-width: 768px) {
    .table-wrapper {
        margin-right: -52px;
        width: calc(100% + 52px);
    }

    .compare-table-wrapper {
        padding: 0 52px;
    }

    .compare-table-heading {
        text-align: center;
        max-width: 892px;
        margin: 0 auto;
        padding: 0 23px 15px;
    }

    .compare-table-block {
        padding-bottom: 65px;
    }

    .compare-table-heading h2 {
        padding-bottom: 8px;
        font-size: 30px;
    }

    .ninja-table-block .compare-table-heading {
        padding: 0 23px 0;
    }
}


@media (min-width: 1200px) {
    .compare-table-block tbody tr td:first-child {
        font-size: 17px;
    }

    .compare-table-block td {
        font-size: 16px;
        padding: 20px 39px;
    }

    .compare-table-block th {
        padding: 36px 34px 36px 0;
    }

    .table {
        padding-right: 0;
    }

    .table-price {
        font-size: 20px;
    }

    .table-image-button span {
        font-size: 16px;
        padding: 10px 0 0;
    }

    .table-image-button__image-hover {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        height: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(134,140,140,0.9);
        background-color: rgba(255,255,255,0.9);
        opacity: 0;
        width: 100%;
        transition: all ease 0.3s;
    }

    .table-image-button__image {
        position: relative;
    }

    .table-image-button:hover .table-image-button__image-hover {
        height: 100%;
        opacity: 1;
    }

    .table-image-button .btn {
        font-size: 15px;
        padding: 12px 10px;
        text-align: center;
    }

    .table-image-button .btn:after {
        display: none;
    } 

    .table-wrapper:after {
        display: none;
    }

    .table-image-button:hover span {
        font-weight: 600;
    } 

    .compare-table-block tbody tr td:first-child,
    .compare-table-block thead tr th:first-child {
        min-width: 288px;
        padding: 20px 60px 20px 0;
    }

    .compare-table-block tbody tr td:nth-child(2) {
        background-color: #EFF2EE;
    }

    .compare-table-block tbody tr:nth-child(odd) td:nth-child(2) {
        background-color: #F9FBF8;
    }

    .compare-table-block tbody tr td:hover {
        background-color: #E2E6E1;
    }

    .compare-table-block tbody tr td.no-text {
        pointer-events: none;
    }

    .compare-table-block tbody tr:nth-child(odd) td:hover {
        background-color: #ECEFEB;
    }

    .compare-table-block {
        padding-bottom: 130px;
    }

    .compare-table-heading {
        padding: 0 0 25px;
    }

    .compare-table-heading h2 {
        font-size: 50px;
    }
}