/* Clever Energy Boilers - Servicing Plans */
.ceb-service-plans {
    padding: 30px 0;
    font-family: inherit
}

.ceb-service-plans * {
    box-sizing: border-box
}

.ceb-sp-head {
    text-align: center;
    margin-bottom: 80px
}

 a.ceb-sp-policy-summary {
    text-decoration: underline;
    margin-bottom: 20px;
    font-size: 13px;
 }

 

.ceb-sp-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
    margin-bottom: 48px
}

.ceb-sp-control {
    text-align: center
}

.ceb-sp-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.ceb-sp-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid #dfe3e8;
    border-radius: 15px;
    overflow: hidden;
    background: #fff
}

.ceb-sp-btn {
    border: 0;
    border-right: 1px solid #dfe3e8;
    background: #fff;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
    font-size: 13px;
}

.ceb-sp-btn:last-child {
    border-right: 0
}

.ceb-sp-btn:hover {
    background: #f3f4f6
}

.ceb-sp-btn.is-active {
    background: #29c436;
    color: #fff
}

.ceb-sp-btn.is-disabled, .ceb-sp-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
    background: #f1f5f9;
    color: #64748b
}

.ceb-sp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.ceb-sp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 15px;
    background: var(--color-content-bg-alt);
    padding: 20px;
    border: 1px solid var(--color-content-border);
}



.ceb-sp-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 850
}

.ceb-sp-price {
    margin-bottom: 4px;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.ceb-sp-frequency {
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 400;
}

.ceb-sp-covered {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.ceb-sp-covered li {
    text-wrap: pretty;
    position: relative;
    margin-bottom: 12px;
    padding-bottom: 12px;
    line-height: 1.6;
    border-bottom: 1px solid var(--color-content-border);
}

.ceb-sp-covered li:before {
    margin-right: 8px;
    font-size: 12px;
    content: "\f00c";
    font-family: "fontawesome";
    font-weight: 400;
    background: var(--color-alt-content-primary);
    color: white;
    height: 20px;
    width: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

.cep-sp-buttons-spacer {
height: 30px;
}

.ceb-sp-subscribe {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 30px;
    background: var(--color-alt-content-primary);
    color: white;
    text-decoration: none !important;
    font-weight: 900;
    transition: .2s ease
}

.ceb-sp-subscribe:hover {
    background: var(--color-alt-content-bg);
    color: white !important;
}

.ceb-sp-empty {
    text-align: center;
    padding: 30px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #475569
}

.ceb-sp-loading {
    text-align: center;
    color: #475569;
    padding: 24px
}

.ceb-sp-error {
    text-align: center;
    color: #b91c1c;
    padding: 24px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    border-radius: 14px
}



/* Above tablet styling */
@media only screen and (min-width: 1025px) {
    .ceb-sp-covered li {
        font-size: 13px;
    }
}


@media(max-width:1100px) {
    .ceb-sp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ceb-sp-controls {
        grid-template-columns: 1fr;
        gap: 22px
    }
}

@media(max-width:640px) {
    .ceb-service-plans {
        padding: 30px 0
    }

    .ceb-sp-grid {
        grid-template-columns: 1fr
    }

   

    .ceb-sp-buttons {
        display: flex;
        width: 100%
    }

    .ceb-sp-btn {
        flex: 1 1 auto;
        padding: 13px 10px;
        font-size: 13px
    }

    .ceb-sp-price {
        font-size: 30px
    }
}