<style type="text/css">
/* Remove the Product Search Bar */
    div.products-runtime-addon-search {
        display: none !important;
    }
    div.products-runtime-addon-search:has(input[placeholder="Search products"]),
    .products-runtime-addon-search:has(.neonfront_input),
    .products-runtime-addon-search {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove "Add a store purchase" check box */
    /*.addon-gate.neonfront_element {
        display: none !important;
    }*/

    /* Remove the option to uncheck "Processing Fees" on the payment screen */
    div.form-check:has(#payment\.card\.donorCoveredFeeOpt) {
        pointer-events: none !important;
    }

    /* 2. Hide the original text and the clickable check square */
    label[for="payment.card.donorCoveredFeeOpt"],
    input#payment\.card\.donorCoveredFeeOpt {
        visibility: hidden !important;
        position: relative;
    }

    /* 3. Force your new mandatory text onto the screen in its place */
    label[for="payment.card.donorCoveredFeeOpt"]::before {
        content: "* Credit card processing and administrative fee included." !important;
        visibility: visible !important;
        position: absolute;
        left: 0;
        top: 0;
        color: #333; /* Matches standard text color */
        font-weight: normal;
    }

    /* Add padding between question fields on the form */
    .neonfront_element.col-md-12 {
        padding-bottom: 10px !important;
    }

    /* Add Waiver of Liability Text /*
    /* 1. Target the specific label matching your exact text descriptor */
    .neonfront_element label[data-fa-orig-label="Waiver of Liability and Acknowledgement of Organizational Standards"]::after {
        /* Set up a counter to automatically handle the list numbering */
        counter-reset: waiver-counter;
        
        /* Force the pseudo-element to display as a distinct structural block */
        display: block;
        margin-top: 15px;
        padding: 15px;
        background-color: #f9f9f9;
        border: 1px solid #cccccc;
        border-radius: 4px;
        
        /* Font formatting for clean legal text styling */
        font-family: inherit;
        font-size: 14px;
        font-weight: normal;
        color: #333333;
        line-height: 1.6;
        text-transform: none;
        
        /* Preserve line-breaks (\A) contained inside the content string */
        white-space: pre-wrap; 
        
        /* Injecting the extensive string. Adjust text strings as needed. */
        content: "By becoming a member of the Nassau County Police Reserves (the Organization), I acknowledge and agree that participation in any activities, events, or programs organized by the Nassau County Police Reserves is voluntary and may involve inherent risks, including but not limited to physical injury, property damage, or other harm. I hereby release, waive, and discharge the Nassau County  Police Reserves, its officers, directors, employees, volunteers, and agents from any and all liability, claims, demands, actions, or causes of action arising out of or related to any loss, damage, or injury, including death, that may be sustained by me or to any property belonging to me, whether caused by the negligence of the Nassau County Police Reserves or otherwise, while participating in such activities, events, or programs.\A\A"
                "As a condition of my involvement with the Nassau County Policy Reserves, I acknowledge and agree to abide by the Organization's policies, procedures, and code of conduct. I understand that my actions, whether on or off the premises of the Organization, may reflect on the reputation and integrity of the Organization.\A\A"
                "I further acknowledge and agree to the following:\A\A"
                "1. Standards of Conduct: I will conduct myself in a manner that upholds the mission, values, and reputation of the Organization. I understand that any behavior deemed inappropriate, unethical, or harmful to the Organization's reputation may result in disciplinary action, up to and including termination of my involvement with the Organization.\A\A"
                "2. Waiver of Liability: I hereby waive, release, and discharge the Organization, its officers, directors, employees, and agents from any and all claims, liabilities, or damages arising out of or related to disciplinary actions taken by the Organization in response to my conduct. This waiver includes, but is not limited to, claims of defamation, emotional distress, or other damages resulting from the enforcement of the Organization's policies.\A\A"
                "3. Indemnification: I agree to indemnify and hold harmless the Nassau County Police Reserves, its officers, directors, employees, volunteers, and agents from and against any and all claims, liabilities, damages, losses, costs, or expenses (including reasonable attorneys' fees) arising out of or related to my participation in any activities, events, or programs organized by the Nassau County Police Reserves, including but not limited to any claims arising from my own negligence or misconduct.";
    }
    /* Add FOP text during selection /*
    /* Target the parent container holding the "Additional membership opportunities" label */
    .addon-gate.neonfront_element::after {
        /* Force the injected text to display as a new block section directly beneath the checkbox row */
        display: block;
        margin-top: 15px;
        padding: 15px;
        background-color: #f4f7f6; /* Light distinct background color to act as a callout box */
        border-left: 4px solid #003366; /* Clean deep blue vertical accent line to draw attention */
        border-radius: 0 4px 4px 0;
        
        /* Font formatting to match a standard readable alert message */
        font-family: inherit;
        font-size: 14px;
        font-weight: normal;
        color: #2b2b2b;
        line-height: 1.6;
        text-transform: none;
        
        /* Allows the browser to handle line wraps automatically */
        white-space: pre-wrap; 
        
        /* Injected text wrapped in single quotes so internal double quotes parse smoothly */
        content: 'As an NCPR Member, you have the option to join New York State Fraternal Order of Police (FOP) Lodge #A04. For more information and benefits of joining FOP, visit www.nysfop.org. If you desire to join, add a quantity of "1" in the membership form below (Cost of $50) for FOP Membership.';
    }
</style>