.payment-card--wrapper{
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
}

.payment-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 16px 8px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 100%;

    box-shadow:0 0 0 2px rgba(0,0,0,.08);
    transition:all .18s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #f9fafb, #eef2f7);
}

.payment-card:hover{
    box-shadow:0 6px 14px rgba(0,0,0,.08);
}

.payment-card input{
    display:none;
}

.payment-card img{
    height:22px;
}
@media (max-width:640px) {
    .payment-card img{
        height:16px;
    }

}

.payment-card:has(input:checked){
    border-color:#111;
    background:#f7f7f7;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.192);
    border: 2px solid rgb(209, 209, 209);
    transform:translateY(-1px);
}

.payment-card:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: 0px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-coupon-btn:hover {
    color: #fff !important;
}

.checkout-total-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.checkout-final-amount {
    font-size: 24px;
    font-weight: 600;
    color: #777;
    line-height: 2.6rem;
}
.checkout-total-label{
    font: 18px;
    font-weight: 600;
}

.discount-percentage {
        font-size: 12px;
        padding: 2px 12px;
    }

@media (max-width:480px) {
   .discount-percentage {
        font-size: 10px;
        padding: 2px 8px;
    }
    #cod-option span{
        font-size: 10px;
    }
    .payment-card{
        padding: 14px 0px;
    }
    .payment-card--wrapper{
        gap: 12px;
    }

}
