.checkout-payment .col-lg-8 {
    max-width: 500px;
    width: 100%;
}

._furniture_order_summery .d-flex:last-child {
    /* border-bottom: 1px solid #d1d5db !important; */
}
input#promo-code {
    border-radius: 0px !important;
    padding: 0.75rem 1rem !important;
    font-size: 14px;
    transition: all 0.3s ease;
}
.card {
    background: white;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
}
.card-header {
    background: #000000;
    padding: 16px 24px;
    color: white;
}
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}
.payment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.payment-list > li {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}
.payment-list > li:hover {
    background: #ffeeebff;
}
.radio-listing {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 8px;
    cursor: pointer;
}
.payment-icon {
    margin-right: 8px;
}
/* .payment-icon img {
        height: 25px;
        width: auto;
        object-fit: contain;
        display: block;
    } */
.payment-details {
    flex: 1;
}
.payment-name {
    font-size: 20px;
    font-weight: 600;
    height: 22px;
    color: #2d3748;
    /* margin-bottom: 4px; */
}
.payment-description {
    font-size: 0.875rem;
    color: #718096;
}
.payment-list > li:has(input[type="radio"]:checked) {
    background: #ffeeebff;
    border-color: #fc5f75;
}
.payment-list > li:has(input[type="radio"]:checked) .payment-name {
    color: #fc5f75;
}

.stripe-button-el,
.razorpay-payment-button {
    display: none !important;
}
.caserush-justify-content-start-stripe {
    padding: 0px 10px;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .checkout-payment {
        max-width: 95%;
    }
    .card-header,
    .card-body {
        padding: 20px;
    }
    .payment-icon img {
        height: 24px;
    }
}

/* ================= CLEAN PAYMENT UI ================= */

.caserush-payment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* SECTION TITLE */
.payment-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.payment-section-title::before,
.payment-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

/* REMOVE HOVER BG */
.payment-list > li:hover {
    background: none;
}

/* CARD STYLE */
.radio-listing {
    position: relative;
    border-radius: 14px;
    padding: 10px; /* FIXED spacing */
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid #eee;
    background: #fff;

    display: flex;
    align-items: center;
    gap: 12px;
}

/* HIDE RADIO */
.radio-listing input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* HOVER */
.radio-listing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* ACTIVE */
.radio-listing.active {
    border: 2px solid #ed1d24;
    background: rgba(232, 58, 21, 0.04);
    box-shadow: 0 12px 30px rgba(232, 58, 21, 0.15);
}

/* ❌ REMOVE BACKGROUND IMAGE OVERLAY */
.radio-listing::before {
    display: none !important;
}

/* ✅ IMAGE BOX (NEW STYLE) */
.payment-icon {
    width: 100px;
    height: 70px;
    border-radius: 10px;
    /* border: 1px solid #e8e8e8; */
    padding: 5px;
    /* background: #f8f8f8; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* IMAGE FIX */
.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* CONTENT */
.payment-details {
    flex: 1;
}

/* TEXT */
/* .payment-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
} */

.payment-description {
    font-size: 13px;
    color: #666;
}

/* CHECK ICON */
.radio-listing.active::after {
    content: "✔";
    position: absolute;
    top: 12px;
    right: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ed1d24;
    color: #fff;
    font-size: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* INNER TICK */
.radio-listing.active::before {
    content: "✔";
    position: absolute;
    top: 16px;
    right: 19px;
    font-size: 12px;
    color: #fff;
    z-index: 3;
}

.caserush-proceed-to-pay {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    background: #ed1d24; /* pink/red tone */
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover */
.caserush-proceed-to-pay:hover {
    background: #ed1d24;
}

/* Click feel */
.caserush-proceed-to-pay:active {
    transform: translateY(1px);
}

/* Loader state */
.caserush-proceed-to-pay.loading {
    position: relative;
    pointer-events: none;
}

/* Hide text when loading */
.caserush-proceed-to-pay.loading .btn-text {
    opacity: 0;
}

/* Spinner */
.caserush-proceed-to-pay .btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%); */
    display: none;
    animation: spin 0.6s linear infinite;
}

.caserush-proceed-to-pay.loading .btn-spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
