/* =========================================================
   WARRANTY PAGE
   ========================================================= */

.warranty-page {
    color: var(--carpal-navy);
    background: #fff;
}


.warranty-hero {
    padding: 15px 0 70px;
}


.warranty-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 40px;
}


.warranty-eyebrow {
    margin-bottom: 6px;

    color: var(--carpal-pink);

    font-family: var(--carpal-heading-font);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.warranty-heading h1,
.warranty-heading h2 {
    margin: 0 0 14px;

    color: var(--carpal-navy);

    font-family: var(--carpal-heading-font);

    font-weight: 400;
}


.warranty-heading h1 {
    font-size: 42px;
}


.warranty-heading h2 {
    font-size: 36px;
}


.warranty-heading p {
    max-width: 580px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.45;
}


/* =========================================================
   WARRANTY CARDS
   ========================================================= */

.warranty-package-list {
    width: 100%;
    max-width: 960px;

    margin: 0 auto;
}


.warranty-package-card {
    display: grid;

    grid-template-columns: 95px 1fr;

    align-items: center;

    gap: 25px;

    margin-bottom: 24px;

    padding: 28px 34px;

    border: 2px solid var(--carpal-light-blue);

    border-radius: 30px;

    background: #fff;
}


.warranty-package-icon {
    display: flex;

    align-items: center;
    justify-content: center;
}


.warranty-package-icon img {
    display: block;

    width: 72px;
    height: 72px;

    object-fit: contain;
}


.warranty-package-content h2 {
    margin: 0 0 9px;

    color: var(--carpal-navy);

    font-family: var(--carpal-body-font);

    font-size: 18px;
    font-weight: 700;
}


.warranty-package-content h2 span {
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
}


.warranty-package-content p {
    margin: 0 0 13px;

    color: var(--carpal-navy);

    font-size: 15px;
    line-height: 1.4;
}


.warranty-package-links {
    color: var(--carpal-navy);

    font-size: 14px;
    line-height: 1.4;
}


.warranty-package-links a {
    color: var(--carpal-pink);

    font-weight: 600;

    text-decoration: underline;
}


.warranty-package-links a:hover {
    color: var(--carpal-navy);
}


/* =========================================================
   COMPARISON
   ========================================================= */

.warranty-compare-section {
    padding: 65px 0 90px;

    scroll-margin-top: 110px;

    background: var(--carpal-light);
}


/* =========================================================
   BROCHURE MODAL
   ========================================================= */

.warranty-brochure-modal {
    overflow: hidden;

    border: 0;
    border-radius: 22px;
}


.warranty-brochure-modal .modal-header {
    border-bottom: 1px solid #ddd;
}


.warranty-brochure-modal .modal-title {
    color: var(--carpal-navy);

    font-family: var(--carpal-heading-font);

    font-size: 20px;
}


.warranty-brochure-frame {
    display: block;

    width: 100%;
    height: 78vh;

    border: 0;

    background: #fff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .warranty-hero {
        padding: 38px 0 50px;
    }


    .warranty-heading {
        margin-bottom: 30px;
    }


    .warranty-heading h1 {
        font-size: 34px;
    }


    .warranty-heading h2 {
        font-size: 30px;
    }


    .warranty-package-card {
        grid-template-columns: 1fr;

        gap: 15px;

        padding: 25px 20px;

        text-align: center;

        border-radius: 25px;
    }


    .warranty-package-icon img {
        width: 68px;
        height: 68px;
    }


    .warranty-package-content h2 span {
        display: block;

        margin-top: 3px;
    }


    .warranty-package-content p {
        text-align: left;
    }


    .warranty-package-links {
        text-align: left;
    }


    .warranty-brochure-frame {
        height: 72vh;
    }

}

/* =========================================================
   WARRANTY COMPARISON TABLE
   ========================================================= */

.warranty-compare-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
}

.warranty-compare-table {
    width: 100%;
    min-width: 900px;

    border-collapse: collapse;

    background: #fff;

    color: var(--carpal-navy);

    font-size: 14px;
    line-height: 1.3;
}

.warranty-compare-table th,
.warranty-compare-table td {
    padding: 10px 8px;

    border: 1px solid var(--carpal-light-blue);

    vertical-align: top;
}

.warranty-compare-table thead th {
    background: var(--carpal-light-blue);

    color: var(--carpal-navy);

    font-weight: 700;

    text-align: left;
}

.warranty-compare-table tbody th {
    width: 25%;

    font-weight: 700;

    text-align: left;
}

.warranty-compare-table tbody td {
    width: 25%;
}

.warranty-check {
    color: var(--carpal-green);

    font-size: 30px;
    font-weight: 700;
    line-height: .8;
}

.warranty-cross {
    color: var(--carpal-pink);

    font-size: 25px;
    font-weight: 400;
    line-height: .8;
}


/* Mobile */

@media (max-width: 767.98px) {

    .warranty-compare-table-wrap {
        margin-left: -12px;
        margin-right: -12px;

        width: calc(100% + 24px);
    }

    .warranty-compare-table {
        font-size: 13px;
    }

}

.purchase-warranty-options {
    width: 100%;
    max-width: 880px;

    margin: 35px auto 0;
}

.purchase-warranty-card {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 22px;

    width: 100%;

    margin-bottom: 20px;
    padding: 24px 28px;

    border: 2px solid var(--carpal-light-blue);
    border-radius: 28px;

    background: #fff;

    color: var(--carpal-navy);

    text-align: left;

    cursor: pointer;

    transition: .15s ease-in-out;
}

.purchase-warranty-card:hover {
    border-color: var(--carpal-green);
}

.purchase-warranty-card.selected {
    border: 6px solid var(--carpal-green);
}

.purchase-warranty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-warranty-icon img {
    width: 70px;
    height: 70px;

    object-fit: contain;
}

.purchase-warranty-content h3 {
    margin: 0 0 3px;

    color: var(--carpal-navy);

    font-size: 18px;
    font-weight: 700;
}

.purchase-warranty-term {
    margin-bottom: 8px;

    font-size: 14px;
    font-style: italic;
}

.purchase-warranty-content p {
    margin: 0 0 10px;

    font-size: 14px;
    line-height: 1.4;
}

.purchase-warranty-links {
    font-size: 14px;
}

.purchase-warranty-links a {
    color: var(--carpal-pink);

    font-weight: 600;

    text-decoration: underline;
}

.purchase-warranty-declined {
    background: #fafafa;
}

@media (max-width: 767.98px) {

    .purchase-warranty-card {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .purchase-warranty-content p,
    .purchase-warranty-links {
        text-align: left;
    }

}

.purchase-warranty-roadside {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: calc(100% - 40px);
    max-width: 1050px;

    margin: 0 auto 28px;
    padding: 10px 15px;

    background: var(--carpal-green);
    color: var(--carpal-navy);

    font-size: 18px;
    line-height: 1.2;
}

.purchase-warranty-roadside img {
    width: 42px;
    height: auto;
}

.purchase-warranty-why {
    width: 100%;
    max-width: 900px;

    margin: 32px auto 30px;
    padding: 24px 30px;

    background: rgba(152, 238, 255, 0.20);

    color: var(--carpal-navy);

    text-align: left;
}

.purchase-warranty-why h3 {
    margin: 0 0 12px;

    font-family: var(--carpal-heading-font);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
}

.purchase-warranty-why p {
    margin: 0 0 12px;

    font-size: 13px;
    line-height: 1.35;
}

.purchase-warranty-why p:last-child {
    margin-bottom: 0;
}

.purchase-warranty-why strong {
    font-weight: 700;
}


@media (max-width: 767.98px) {

    .purchase-warranty-why {
        width: calc(100% - 20px);

        margin-top: 25px;
        padding: 20px;
    }

    .purchase-warranty-why h3 {
        font-size: 19px;
    }

}
