.rdap-purchase-section {
    margin: 30px auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 400px;
    align-items: start;
    flex-wrap: wrap;
}

.rdap-type-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.rdap-type-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    color: #333;
}
.rdap-type-tab:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.rdap-type-tab.active {
    border-color: #0073aa;
    background: #f0f8ff;
    box-shadow: 0 4px 12px rgba(0,115,170,0.15);
}
.rdap-type-tab img {
    margin-bottom: 8px;
}
.rdap-type-tab span {
    font-weight: 600;
    font-size: 0.9rem;
}
.rdap-field {
    width: 100%;
}

.rdap-card {
    border: none;
    padding: 0;
    margin: 0;
}

.rdap-card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.rdap-checkout-box {
    background: #f5f7fa;
    color: #333;
    border-radius: 10px;
    padding: 18px 20px;
    border: 1px solid #e2e6ea;
    margin-top: 10px;
}

.rdap-checkout-box #rdap-order-summary {
    margin-bottom: 8px;
}
.rdap-checkout-box .rdap-total {
    border-top: 1px solid #dce0e5;
    padding-top: 12px;
    margin-top: 8px;
}

.rdap-checkout-box #rdap-pay-button {
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .rdap-purchase-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .rdap-type-tab {
        padding: 10px 15px;
        min-width: 60px;
    }
    .rdap-type-tab span {
        font-size: .7rem;
    }
}

@media (max-width: 480px) {
    .rdap-purchase-section {
        padding: 15px;
    }
    .rdap-checkout-box {
        padding: 15px;
    }
    .rdap-type-tab {
        padding: 7px 12px;
        min-width: 50px;
    }
    .rdap-type-tab span {
        font-size: .6rem;
    }
}
