.checkout-parts.packages .sales_process .badge:after {
    width: 160px;
    left: 70%;
}

.service-card .pkgtype.standard{    float: right;
font-size: 12px;
background: rgba(107, 114, 128, 0.12);
padding: 5px 12px;
border-radius: 20px;
margin-bottom: 10px;
border: 1px solid rgba(107, 114, 128, 0.35);
color: #6b7280;}
.service-card .pkgtype.premium{float: right;
font-size: 12px;
background: rgba(30, 58, 138, 0.12);
padding: 5px 12px;
border-radius: 20px;
margin-bottom: 10px;
border: 1px solid rgba(30, 58, 138, 0.4);
color: #1e3a8a;}    
.vehicle_information .modal_detail .year .mileage_msg{    position: absolute;
    font-size: 13px;
    color: #727272;
    padding: 3px;
    text-transform: capitalize;}
.service-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: 490px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.aftersales-prepaidpackages-index .secondary-btn{border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    padding: 10px 50px;
}

/* Hide the default checkbox */
.service-card input[type="checkbox"] {
    display: none;
}

/* When checked, change border color */
.service-card input[type="checkbox"]:checked+.content {
    border-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Checkmark circle in top right */
.service-card input[type="checkbox"]:checked+.content::after {
    content: "✔";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.service-card .content {
    border: 1px solid transparent;
    border-radius: 8px;
    transition: border 0.3s ease;
    padding: 20px;
}

.service-card .title {
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.service-card .desc {
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
    margin-bottom: 10px;
}

.service-card .content .card_tag {
    display: inline-block;
    font-size: 12px;
    background: #ffffff;
    padding: 3px 10px;
    border-radius: 20px;
    color: #1a1a1a;
    margin-bottom: 10px;
    border: 1px solid #0000001A;
}

.service-card .price-section {
    margin: 10px 0;
}

.service-card .old-price {
    color: #6B7280;
    /*text-decoration: line-through;*/
    font-size: 16px;
    line-height: 20px;
}
.service-card .old-price span {
    text-decoration: line-through;
}
.service-card .new-price label {
    font-size: 16px;
}

.service-card .new-price {
    font-weight: bold;
    font-size: 24px;
    line-height: 36px;
    display: inline-block;
    color: #1a1a1a;
}

.service-card .save_tag {
    background: #d7f7dc;
    color: #1a7f37;
    border-radius: 20px;
    font-size: 12px;
    padding: 4px 10px;
    display: inline-block;
    float: right;
}

.service-card hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.service-card .included-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
    margin: 5px 0;
}

.service-card ul li::before {
    content: "✔";
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
}

.aftersales-prepaidpackages-index .offers-grid{margin-top: 30px;}

.service-card .btn {
    margin-top: 10px;
}


@media screen and (max-width: 899px) {
    .checkout-container {
        flex-direction: column-reverse;
    }

    .right-section {
        width: 100%;
    }

    .service-card .content {
        padding: 15px;
    }

    .service-card .title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 6px;
    }

    .service-card .old-price {
        font-size: 14px;
        line-height: 18px;
    }

    .service-card .new-price {
        font-size: 22px;
        line-height: 28px;
    }


    .service-card {
        max-width: 100%;
    }




    .checkout-parts .sales_process {
        gap: 52px;
    }

    .checkout-parts.packages .sales_process .badge:after {
        width: 100px;
    }

    .sales_process .badge:after {
        top: 55px;
    }

    .sales_process .badge .badge_details .badge_title {
        min-height: 32px;
    }
}

@media screen and (min-width: 900px) and (max-width: 1280px) {
    .service-card .content {
        padding: 15px;
    }

    .service-card .title {
        font-size: 17px;
        line-height: 25px;
        margin-bottom: 7px;
    }

    .service-card .old-price {
        font-size: 14px;
    }

    .service-card .new-price {
        font-size: 22px;
        line-height: 30px;
    }
}