
/* ==========================================
   Why EcomVA Is the Smarter Choice
========================================== */

.ecomva-comparison {
    padding: 40px 24px 68px;
    /* background: #fbfbfc; */
    color: #101b2d;
}

.ecomva-comparison *,
.ecomva-comparison *::before,
.ecomva-comparison *::after {
    box-sizing: border-box;
}

.ecomva-comparison__container {
    width: 100%;
    /* max-width: 1112px; */
    margin: 0 auto;
}

/* Heading and introduction */

.ecomva-comparison__heading {
    margin: 0 0 12px;
    color: #101b2d;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.ecomva-comparison__intro {
    max-width: 720px;
    margin: 0 auto 42px;
    color: #43536b;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.ecomva-comparison__intro p {
    margin: 0;
}

/* Scroll wrapper */

.ecomva-comparison__scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dce2e9;
    border-radius: 16px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

/* Comparison table */

.ecomva-comparison__table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    color: #26364d;
    font-size: 14px;
    line-height: 1.45;
}

.ecomva-comparison__table th,
.ecomva-comparison__table td {
    width: auto;
    padding: 20px 12px;
    border: 0;
    border-right: 1px solid #e5e9ef;
    border-bottom: 1px solid #e5e9ef;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: break-word;
}

.ecomva-comparison__table tr > *:last-child {
    border-right: 0;
}

.ecomva-comparison__table tbody tr:last-child > * {
    border-bottom: 0;
}

/* First column */

.ecomva-comparison__table .ecomva-comparison__row-heading {
    width: 155px;
    font-weight: 400;
}

.ecomva-comparison__table thead .ecomva-comparison__row-heading {
    background: #ffffff;
}

.ecomva-comparison__table tbody .ecomva-comparison__row-heading {
    color: #26364d;
    font-size: 14px;
}

/* Column headings */

.ecomva-comparison__table thead th {
    height: 104px;
    background: #ffffff;
    color: #101b2d;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Body rows */

.ecomva-comparison__table tbody td,
.ecomva-comparison__table tbody th {
    height: 132px;
    background: #ffffff;
}

.ecomva-comparison__table tbody tr:nth-child(3) td,
.ecomva-comparison__table tbody tr:nth-child(3) th {
    background: #f7f8fa;
}

/* Highlight EcomVA row */

.ecomva-comparison__table tbody tr.ecomva-comparison__row--highlight td,
.ecomva-comparison__table tbody tr.ecomva-comparison__row--highlight th {
    background: #EBF6EB;
}

.ecomva-comparison__table tbody tr.ecomva-comparison__row--highlight th {
    color: #37A35A;
    font-weight: 700;
}

/* Status icons */

.ecomva-comparison__status {
    display: block;
    margin: 0 auto 8px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
}

.ecomva-comparison__status.is-check {
    color: #087969;
}

.ecomva-comparison__status.is-cross {
    color: #d91f16;
    font-size: 29px;
}

.ecomva-comparison__status.is-dash {
    color: #c74400;
    font-size: 23px;
    font-weight: 600;
}

.ecomva-comparison__cell-text {
    color: #354660;
    font-size: 14px;
    line-height: 1.45;
}

/* Table note */

.ecomva-comparison__note {
    margin: 14px 0 0;
    color: #687990;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

/* CTA */

.ecomva-comparison__action {
    margin-top: 38px;
    text-align: center;
}

.ecomva-comparison__button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 8px;
    background: #087565;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ecomva-comparison__button:hover {
    background: #065e52;
    color: #ffffff;
}

.ecomva-comparison__button:focus-visible {
    outline: 3px solid #087565;
    outline-offset: 4px;
}

/* ==========================================
   Tablet
========================================== */

@media (max-width: 767px) {
    .ecomva-comparison {
        padding: 36px 18px 52px;
    }

    .ecomva-comparison__heading {
        font-size: 32px;
    }

    .ecomva-comparison__intro {
        margin-bottom: 30px;
        font-size: 15px;
    }

    .ecomva-comparison__table {
        min-width: 900px;
    }

    .ecomva-comparison__action {
        margin-top: 30px;
    }
}

/* ==========================================
   Mobile
========================================== */

@media (max-width: 480px) {
    .ecomva-comparison {
        padding: 30px 14px 44px;
    }

    .ecomva-comparison__heading {
        font-size: 27px;
    }

    .ecomva-comparison__intro {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .ecomva-comparison__note {
        font-size: 12px;
    }

    .ecomva-comparison__button {
        width: 100%;
    }
}
