.table-block {
    position: relative;
    margin-top: 32px;
    margin-bottom: 48px;
}

.mobile-table-block {
    display: none;
}

.table-block .table-body p,
.mobile-table-block .mobile-cell p,
.mobile-table-block .table-cell p,
.table-block .table-body ul {
    margin-bottom: 0;
}

.table-block[data-font-size='12'] {
    font-size: 12px;
    line-height: 16px;
}

.table-block[data-font-size='14'] {
    font-size: 14px;
    line-height: 18px;
}

.table-block[data-font-size='16'] {
    font-size: 16px;
    line-height: 20px;
}

.table-header-wrapper {
    position: sticky;
    top: 65px;
    z-index: 1;
    overflow-x: hidden;
    border-top-left-radius: 5px;
}

.table-body,
.table-header {
    display: grid;
    overflow-y: hidden;
    grid-template-columns: var(--grid-template-columns);
}

.table-header {
    overflow-x: hidden;
    border-top-right-radius: 5px;
}

.table-body {
    position: relative;
    z-index: 0;
    padding-bottom: 12px;
    overflow: auto;
}

.table-body::-webkit-scrollbar-track {
    background-color: #fff;
}

.table-body::-webkit-scrollbar {
    height: 6px;
}

.table-body::-webkit-scrollbar-thumb {
    background-color: var(--se-text-color-disabled);
    border-radius: 99px;
}

.first-column {
    position: sticky;
    left: 0;
    z-index: 2;
    font-weight: 700;
    background-color: var(--se-main-color-grey-dark);
}

.table-cell {
    padding: 12px;
}

.table-cell__true-false,
.table-cell__pricing {
    display: flex;
    align-items: center;
}

.table-cell__true-false {
    justify-content: space-between;
}

.table-cell:not(.table-header .table-cell):last-child {
    border-bottom-right-radius: 5px;
}

.table-cell__title {
    font-weight: 700;
}

.table-cell__subtitle {
    margin-top: 2px;
    font-weight: 400;
    color: var(--se-text-color);
}

.first-column:last-of-type {
    border-bottom-left-radius: 5px;
}

.table-cell:not(.table-cell_head) {
    border-right: 1px solid var(--se-stroke-color);
    border-bottom: 1px solid var(--se-stroke-color);
}

.first-column.table-cell {
    border-left: 1px solid var(--se-stroke-color);
}

.table-header .first-column:first-child {
    z-index: 2;
    border-top: 1px solid var(--se-stroke-color);
    border-top-left-radius: 5px;
}

.table-cell.grey {
    background-color: var(--se-main-color-grey);
}

.table-cell_head {
    display: grid;
    box-shadow: 1px 0 0 0 rgba(255, 255, 255, 0.16) inset;
    grid-gap: 8px;
}

.table-cell_head:not(.first-column) {
    background-color: var(--se-main-color-blue-dark);
}

.table-cell__head-logo {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border-radius: 5px;
}

.table-cell__head-title {
    font-weight: 700;
    line-height: 16px;
    color: #fff;
}

.table-cell__head-subtitle {
    margin-top: 2px;
    font-weight: 400;
    line-height: 16px;
    color: rgba(255, 255, 255, .7);
}

.table-cell__head-link {
    display: grid;
    align-items: center;
    justify-content: start;
    font-weight: 600;
    line-height: 16px;
    color: var(--se-accent-green);
    grid-auto-flow: column;
    grid-gap: 4px;
}

.table-cell__head-link:hover {
    color: var(--se-btn-color-green-hover);
    text-decoration: underline;
    cursor: pointer;
}

.table-cell__head-link:hover svg path {
    fill: var(--se-btn-color-green-hover);
}

.table-cell__stars,
.table-cell__text,
.table-cell__button {
    display: grid;
    grid-gap: 4px;
}

.table-cell__text {
    align-content: start;
}

.table-cell__button,
.table-cell__stars {
    align-content: center;
    align-items: center;
}

.table-cell__stars-wrapper {
    display: flex;
    align-items: center;
}

.table-cell__stars-items {
    display: flex;
}

.table-cell__stars-rating {
    margin-left: 4px;
    font-weight: 600;
    color: var(--se-heading-color);
}

.table-cell__true-false-icon-wrapper {
    height: 18px;
}

.table-cell__list {
    display: grid;
    align-content: start;
    grid-gap: 4px;
}

.table-cell__items {
    display: grid;
    grid-gap: 4px;
}

.table-cell__list[data-list-type='dotted'] .table-cell__list-item {
    position: relative;
    padding-left: 10px;
}

.table-cell__list[data-list-type='dotted'] .table-cell__list-item:before {
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    content: '';
    background-color: var(--se-accent-blue);
    border-radius: 50%;
}

.table-block[data-font-size='12'] .table-cell__list[data-list-type='dotted'] .table-cell__list-item:before,
.mobile-table-block .table-cell__list[data-list-type='dotted'] .table-cell__list-item:before {
    top: 6px;
}

.table-block[data-font-size='14'] .table-cell__list[data-list-type='dotted'] .table-cell__list-item:before {
    top: 7px;
}

.table-block[data-font-size='16'] .table-cell__list[data-list-type='dotted'] .table-cell__list-item:before {
    top: 8px;
}

.table-cell__list[data-list-type='numbered'] .table-cell__list-item span {
    font-weight: 600;
    color: var(--se-accent-blue);
}

.table-cell__list[data-list-type='numbered'] .table-cell__list-item {
    display: grid;
    justify-content: start;
    grid-auto-flow: column;
    grid-gap: 6px;
}

.table-cell__list-item-cross-out {
    color: var(--se-text-color-placeholder);
}

.table-cell__button-wrapper {
    display: block;
    width: 100%;
    height: max-content;
    padding: 6px 0;
    color: #fff;
    text-align: center;
    background-color: var(--se-btn-color-blue);
    border-radius: 5px;
}

.table-cell__button-wrapper:hover {
    color: #fff;
    cursor: pointer;
    background-color: var(--se-btn-color-blue-hover);
}

.last-first-cell {
    border-bottom-left-radius: 5px;
}

@media screen and (max-width: 767px) {
    .table-block {
        display: none;
    }

    .mobile-table-block {
        display: block;
        margin: 24px -20px 48px;
        font-size: 12px;
        line-height: 16px;
    }

    .mobile-table__item:last-child .mobile-table__item-dropdown,
    .mobile-table__item:last-child .mobile-table__item-title-block:not(.mobile-table__item.active .mobile-table__item-title-block) {
        border-bottom: 1px solid var(--se-stroke-color);
    }

    .mobile-table__item-title-block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        font-weight: 700;
        background-color: var(--se-main-color-grey-dark);
        border-top: 1px solid var(--se-stroke-color);
    }

    .mobile-table__item-title-icon {
        display: flex;
        transform: rotate(180deg);
    }

    .mobile-table__item-title {
        font-size: 14px;
        line-height: 20px;
    }

    .mobile-table__item-row {
        position: relative;
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .mobile-table__item-row:after {
        position: absolute;
        width: 100%;
        height: 1px;
        content: '';
        background-color: var(--se-stroke-color);
    }

    .mobile-table__item-row.grey {
        background-color: var(--se-main-color-grey);
    }

    .mobile-table__item-dropdown {
        position: relative;
    }

    .mobile-table__item-dropdown:before {
        position: absolute;
        left: 50%;
        z-index: 1;
        width: 1px;
        height: 100%;
        content: '';
        background-color: var(--se-stroke-color);
    }

    .table-cell,
    .mobile-cell__left {
        padding: 12px 20px;
    }

    .table-cell__stars-items[data-star-size='18'] svg {
        width: 14px;
        height: 14px;
    }

    .mobile-cell__left {
        display: grid;
        align-content: start;
        grid-gap: 8px;
    }

    .mobile-cell__left-title {
        font-weight: 700;
    }

    .mobile-cell__left-subtitle {
        color: var(--se-text-color);
    }

    .mobile-cell__left-link {
        display: grid;
        align-items: center;
        justify-content: start;
        color: var(--se-accent-blue);
        grid-auto-flow: column;
        grid-gap: 4px;
    }

    .table-cell__true-false {
        display: flex;
        align-items: center;
    }

    .table-cell:not(.table-cell_head) {
        border-right: none;
        border-bottom: none;
    }

    .mobile-table__item-dropdown {
        display: none;
    }

    .mobile-table__item.active .mobile-table__item-dropdown {
        display: block;
    }

    .mobile-table__item.active .mobile-table__item-title-icon {
        transition: .2s;
        transform: rotate(360deg);
    }
}