.cep-pricing-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    box-sizing: border-box;
    align-items: stretch;
    font-family: Arial, Helvetica, sans-serif;
}

.cep-card {
    position: relative;
    min-height: 506px;
    padding: 28px 24px 24px;
    border: 1px solid #d8e2ec;
    border-radius: 17px;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(16,43,76,.025);
}

.cep-card.popular {
    border: 3px solid #ff7417;
    padding-top: 28px;
    box-shadow: 0 4px 12px rgba(16,43,76,.035);
}

.cep-badge {
    position: absolute;
    top: 16px;
    right: 17px;
    padding: 8px 11px 7px;
    border-radius: 999px;
    background: #79c943;
    color: #173500;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .15px;
    white-space: nowrap;
}

.cep-title {
    margin: 0 0 8px;
    color: #102b4c;
    font-size: 23px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.15px;
}

.cep-description {
    min-height: 68px;
    margin: 0;
    color: #36516d;
    font-size: 16px;
    line-height: 1.62;
    font-weight: 400;
    max-width: 100%;
}

.cep-price {
    margin: 24px 0 18px;
    color: #102b4c;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.35px;
    white-space: nowrap;
}

.cep-price span {
    display: inline-block;
    margin-left: 5px;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: baseline;
}

.cep-features {
    flex: 1 1 auto;
    margin: 0;
    padding: 0 0 0 18px;
    color: #102b4c;
    font-size: 16px;
    line-height: 1.72;
}

.cep-features li {
    margin: 0 0 5px;
    padding-left: 1px;
}

.cep-features li::marker {
    font-size: 9px;
}

.cep-payment {
    flex: 0 0 auto;
    margin-top: 15px;
    margin-bottom: 14px;
    padding: 11px 10px;
    min-height: 38px;
    border-radius: 9px;
    background: #f2f6fa;
    color: #36516d;
    font-size: 13px;
    line-height: 1.45;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.cep-button {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 10px 15px;
    border: 1px solid #ff7417;
    border-radius: 9px;
    background: #fff;
    color: #ff7417;
    text-align: center;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .05px;
    box-sizing: border-box;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.cep-button:hover {
    background: #ff7417;
    color: #fff;
}

.cep-card.popular .cep-button {
    background: #ff7417;
    border-color: #ff7417;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(255,116,23,.22);
}

.cep-card.popular .cep-button:hover {
    background: #ed670e;
    border-color: #ed670e;
    color: #fff;
}

/* Keep the three cards visually aligned at the same baseline. */
.cep-card > .cep-features {
    min-height: 154px;
}

@media (max-width: 1024px) {
    .cep-pricing-grid {
        gap: 16px;
    }

    .cep-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cep-title {
        font-size: 21px;
    }

    .cep-price {
        font-size: 30px;
    }

    .cep-badge {
        font-size: 9px;
        right: 12px;
    }
}

@media (max-width: 767px) {
    .cep-pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cep-card,
    .cep-card.popular {
        min-height: 0;
        padding: 25px 20px 20px;
    }

    .cep-card > .cep-features {
        min-height: 0;
    }

    .cep-description {
        min-height: 0;
    }

    .cep-price {
        margin-top: 22px;
    }
}
