<div class="std-each-custom-field std-checkbox-wrap std-rounded">
    <div class="std-label"><label class="std-checkbox-label"><?php echo esc_html($field_label); ?></label></div>
    <div class="std-radio-value" data-field-key="<?php echo esc_attr($field_key); ?>">
        <?php
        if (!empty($field_details['options'])) {
            $i = 0;
            foreach ($field_details['options'] as $option) {
        ?>
                <div class="std-radio-main">
                    <label><input type="radio" name="<?php echo esc_attr($field_name); ?>" value="<?php echo esc_attr($field_details['values'][$i]); ?>" <?php checked($field_details['checked'][$i], 1); ?> /><span class="std-checkbox-item"><?php echo esc_html($option); ?></span></label>
                </div>
        <?php
                $i++;
            }
        }
        ?>


    </div>
</div>