.secure-checkout-wrapper {
    margin: 20px 0;
}
.secure-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.option-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.option-item {
    margin-bottom: 10px;
}
.option-button br{
    display: none;
}
.option-button {
    display: flex;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: background-color 0.3s;
    font-weight: 500;
}

.secure-checkout-box .pay-in-full-item .single_add_to_cart_button::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #3c434a;
    margin-right: 10px;
    background-color: #fff;
}

.secure-checkout-box .pay-in-full-item .quantity {
    display: none !important;
}

/* Popup Styles */
.otterwp-popup-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.otterwp-popup-overlay.otterwp-popup-active {
    visibility: visible;
    opacity: 1;
    top: 0;
    left: 0;
}

.otterwp-product-thumbnail{
    border-radius: 15px;
    max-width: 80px !important;
}
.otterwp-popup-header{
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
    justify-content: space-between;
}
.otterwp-popup-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.otterwp-popup-content .wpforms-container .wpforms-field{
    padding: 5px 0px;
}
.otterwp-popup-content p{
    margin: 0;
}
.otterwp-popup-close {
    position: absolute;
    top: 0px;
    right: 10px;
    background: none;
    border: none;
    font-size: 23px;
    cursor: pointer;
    color: #333;
}

body.otterwp-popup-open {
    overflow: hidden; /* Prevent scrolling when popup is open */
}
.payment-option-box {
    margin: 0;
    text-align: center;
}

.payment-option-box p {
    margin: 0;
    font-size: 1.05em;
}

.payment-option-box strong {
    font-size: 1.4em;
    color: #2c3e50;
}

.rto-payment,
.financing-payment {
    font-size: 1.8em !important;
    font-weight: bold;
}

.payment-option-box a {
    display: inline-block;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 200;
}
/* ==========================================================================
   Payment Plans Modal Styles
   ========================================================================== */

/* Overlay background */
.plans-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: none;
}

.plans-modal-overlay[style*="display: block"],
.plans-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal content container */
.plans-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 640px;
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    max-height: 90vh;
    overflow-y: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

}

.plans-modal-overlay[style*="display: block"],
.plans-modal-overlay.show {
    transform: scale(1);
}

/* Close button */
.plans-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 40px;
    line-height: 1;
    font-weight: 300;
    color: #888888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.plans-modal-close:hover,
.plans-modal-close:focus {
    color: #333333;
}

/* Title */
#plans-modal-title {
    margin: 0 0 28px;
    text-align: center;
    font-size: 1.85rem;
    font-weight: 600;
    color: #1a2533;
}

/* Section headings (RTO / Financing) */
.plans-section h3 {
    margin: 0 0 20px;
    font-size: 1.45rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

/* Table */
.plans-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.plans-table thead {
    background: #f8fafc;
}

.plans-table th,
.plans-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.plans-table th {
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.plans-table td {
    color: #374151;
    font-weight: 500;
}

/* Alternating row colors */
.plans-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}

/* Disclaimer text */
.plans-disclaimer {
    text-align: center;
    font-size: 0.925rem;
    color: #6b7280;
    line-height: 1.5;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.multiple-plans-link {
    white-space: nowrap !important; /* or normal if you want wrapping */
    display: inline !important;
    line-height: 1.4 !important;
}

.multiple-plans-link br {
    display: none !important;
}
/* Responsive adjustments */
@media (max-width: 640px) {
    .plans-modal-content {
        padding: 24px 18px;
    }

    #plans-modal-title {
        font-size: 1.6rem;
    }

    .plans-section h3 {
        font-size: 1.3rem;
    }

    .plans-table th,
    .plans-table td {
        padding: 12px 8px;
        font-size: 0.98rem;
    }
}
