/* COMPARISON TABLE */

.comparison-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin: auto;
}

.comparison-section > .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.plans-section > .container {
    max-width: 100%;
    height: 100%;
    padding: 0;
}

.plans-content {
    height: 100%;
    padding-top: 0;
}

.plans-section .plans-block {
    height: calc(100% - 90px);
    padding: 45px;
}

.plans-section .plan-details-free {
    font-size: var(--font-lg);
}

.plusheat-plan .plan-name {
    order: 1;
    font-size: var(--font-subheading);
    margin-bottom: 20px;
}

.plusheat-plan .plan-price-wrapper {
    order: 2;
}

.repair-care-total-price {
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text);
}

.repair-care-total-price .duration {
    font-size: var(--font-xs);
}

.repair-care-total-price::before {
    content: "£99 upfront for your initial repair";
    display: block;
    margin-bottom: 10px;
}

.repair-care-total-price::after {
    content: ' for ongoing cover';
}

.plusheat-plan .plan-details-free {
    order: 3;
    margin-top: 20px;
    margin-bottom: 20px;
}

.plusheat-plan .plan-details {
    order: 4;
}

.plan-details ul li {
    font-size: var(--font-rg);
    font-weight: var(--font-thin);
}

.plusheat-plan .plans-form::before {
    content: "£99 excess per callout\A*£35 refunded if boiler is beyond repair";
    white-space: pre-line;
    display: block;
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    margin-bottom: 30px;
}

.plusheat-plan .plans-form {
    order: 5;
    margin-top: auto;
    margin-bottom: 0;
}

#features_comparison_table > .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

@media (min-width: 768px) {
    #plans_section {
        max-width: calc(30% - 25px);
        flex: 1;
        margin: 0;
    }

    #features_comparison_table {
        max-width: calc(70% - 25px);
        flex: 1;
    }
}

@media (max-width: 992px) {
    .comparison-section > .container {
        gap: 30px;
    }

    #plans_section {
        max-width: calc(30% - 15px);
    }

    .plans-section .plans-block {
        height: calc(100% - 60px);
        padding: 30px;
    }

    #features_comparison_table {
        max-width: calc(70% - 15px);
    }
}

@media (max-width: 768px) {
    .plusheat-plan .plan-name {
        font-size: var(--font-subtitle);
    }

    .comparison-section {
        padding-top: 0;
    }

    .comparison-section > .container {
        flex-direction: column;
        gap: 40px;
    }

    #plans_section,
    #features_comparison_table {
        max-width: 100%;
        margin: 0;
    }

    .plans-section > .container {
        padding: 0;
    }

    .plans-section .plans-block {
        background-color: var(--color-grey-light);
        padding: 30px;
        margin-top: 0;
    }
}

/* /COMPARISON TABLE */