post_content, 'peptide_coa') || has_shortcode($post->post_content, 'peptide_coa_table'))) { wp_register_style('wp-peptide-coa-css', false); wp_enqueue_style('wp-peptide-coa-css'); $css = ' /* ========================================================================== WordPress Peptide Certificate of Analysis (CoA) Stylesheet Isolated Namespace: .wp-coa-* Designed for WordPress Gutenberg Custom HTML blocks, Shortcodes & WooCommerce tabs. No Lab Name, No Address, No Contact Info. ========================================================================== */ .wp-coa-wrap { width: 100%; max-width: 860px; margin: 1.5rem auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1e293b; line-height: 1.5; box-sizing: border-box; } .wp-coa-wrap *, .wp-coa-wrap *::before, .wp-coa-wrap *::after { box-sizing: border-box; } .wp-coa-card { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); } /* Header */ .wp-coa-header { padding: 1.5rem 2rem; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; background: #ffffff; gap: 1rem; } .wp-coa-title-group h2 { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin: 0; letter-spacing: -0.02em; } .wp-coa-title-group p { font-size: 0.8rem; color: #64748b; margin: 0.2rem 0 0 0; } .wp-coa-report-meta { text-align: right; font-size: 0.75rem; } .wp-coa-report-number { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: 700; color: #0f172a; font-size: 0.85rem; } /* 3-Column Information Grid */ .wp-coa-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e2e8f0; background: #ffffff; } .wp-coa-meta-col { border-right: 1px solid #e2e8f0; } .wp-coa-meta-col:last-child { border-right: none; } .wp-coa-col-header { background: #0a2540; color: #ffffff; padding: 0.45rem 1rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; } .wp-coa-col-body { padding: 1rem; background: #f8fafc; font-size: 0.78rem; } .wp-coa-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; } .wp-coa-row:last-child { margin-bottom: 0; } .wp-coa-row-label { color: #64748b; } .wp-coa-row-value { font-weight: 600; color: #0f172a; text-align: right; } .wp-coa-status-pill { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.72rem; font-weight: 700; } /* Test Results Block */ .wp-coa-results-block { padding: 1.5rem 2rem; border-bottom: 1px solid #e2e8f0; background: #ffffff; } .wp-coa-section-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #0f172a; margin: 0 0 1rem 0; } .wp-coa-metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; } .wp-coa-metric-card { padding: 1rem; border-radius: 6px; text-align: center; border: 1px solid #e2e8f0; background: #f8fafc; } .wp-coa-metric-card-purity { background: #ecfdf5; border-color: #a7f3d0; } .wp-coa-metric-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; margin-bottom: 0.25rem; } .wp-coa-metric-card-purity .wp-coa-metric-label { color: #047857; } .wp-coa-metric-value { font-size: 2rem; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color: #0f172a; line-height: 1.1; margin: 0.25rem 0; } .wp-coa-metric-card-purity .wp-coa-metric-value { color: #059669; } .wp-coa-metric-note { font-size: 0.7rem; color: #64748b; } .wp-coa-metric-card-purity .wp-coa-metric-note { color: #065f46; font-weight: 500; } /* Visual Documentation (Vial & Chromatogram) */ .wp-coa-visual-block { padding: 1.5rem 2rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0; } .wp-coa-visual-grid { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: stretch; } .wp-coa-vial-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } .wp-coa-chrom-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 1rem; } /* Footer & Verification */ .wp-coa-footer { padding: 1rem 2rem; background: #ffffff; display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: #64748b; } /* Responsive */ @media (max-width: 768px) { .wp-coa-header { flex-direction: column; align-items: flex-start; } .wp-coa-report-meta { text-align: left; margin-top: 0.5rem; } .wp-coa-meta-grid { grid-template-columns: 1fr; } .wp-coa-meta-col { border-right: none; border-bottom: 1px solid #e2e8f0; } .wp-coa-visual-grid { grid-template-columns: 1fr; } .wp-coa-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; } } /* Print */ @media print { body { background: #ffffff !important; } .wp-coa-wrap { max-width: 100% !important; margin: 0 !important; } .wp-coa-card { border: 1px solid #94a3b8 !important; box-shadow: none !important; } } '; wp_add_inline_style('wp-peptide-coa-css', $css); } } add_action('wp_enqueue_scripts', 'wp_peptide_coa_styles'); /** * Single SKU Shortcode: [peptide_coa sku="bpc-157"] or [peptide_coa report="CNPT-BPC-5-060826"] */ function wp_peptide_coa_shortcode($atts) { $dataset = json_decode('{ "bpc-157": { "name": "BPC-157", "report": "CNPT-BPC-5-060826", "purity": "99.89%", "expected": "10 mg", "total": "10.17 mg", "fill": "101.7%", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "Jun 24, 2026", "rt": 8.91 }, "tirzepatide": { "name": "Tirzepatide", "report": "CNPT-TIRZ-10-060826", "purity": "99.94%", "expected": "10 mg", "total": "Conforms (≥ 98.0%)", "fill": "Pass (100%)", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "N/A", "rt": 24.62 }, "ghk-cu": { "name": "GHK-Cu", "report": "CNPT-GHK-Cu-50-060826", "purity": "99.86%", "expected": "50 mg", "total": "53.23 mg", "fill": "106.5%", "appearance": "Blue Lyophilized Powder", "received": "Jun 8, 2026", "tested": "Jun 25, 2026", "rt": 2.155 }, "semax": { "name": "SEMAX", "report": "CNPT-SEMAX-10-060826", "purity": "99.73%", "expected": "10.00 mg", "total": "10.33 mg", "fill": "103.3%", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "Jun 25, 2026", "rt": 9.12 }, "mots-c": { "name": "MOTS-c", "report": "CNPT-MOTS-10-060826", "purity": "99.92%", "expected": "10 mg", "total": "Conforms (≥ 98.0%)", "fill": "Pass (100%)", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "N/A", "rt": 13.25 }, "ss-31": { "name": "SS-31 (Elamipretide)", "report": "CNPT-SS31-50-060826", "purity": "99.94%", "expected": "50 mg", "total": "Conforms (≥ 98.0%)", "fill": "Pass (100%)", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "N/A", "rt": 9.04 }, "cagrilintide": { "name": "Cagrilintide", "report": "CNPT-CAGR-5-060826", "purity": "99.96%", "expected": "5 mg", "total": "Conforms (≥ 98.0%)", "fill": "Pass (100%)", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "N/A", "rt": 24.5 }, "sermorelin": { "name": "Sermorelin", "report": "CNPT-SERM-5-060826", "purity": "99.95%", "expected": "5 mg", "total": "Conforms (≥ 98.0%)", "fill": "Pass (100%)", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "N/A", "rt": 16.35 }, "slu-pp": { "name": "SLU-PP-332 (SLU-PP)", "report": "CNPT-SLUP-5-060826", "purity": "99.92%", "expected": "5 mg", "total": "Conforms (≥ 98.0%)", "fill": "Pass (100%)", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "N/A", "rt": 18.12 }, "nad-plus": { "name": "NAD+ (Nicotinamide Adenine Dinucleotide)", "report": "CNPT-NAD+-500-060826", "purity": "99.91%", "expected": "500.00 mg", "total": "532.05 mg", "fill": "106.4%", "appearance": "White Lyophilized Powder", "received": "Jun 8, 2026", "tested": "Jun 25, 2026", "rt": 2.8 } }', true); $a = shortcode_atts(array( 'sku' => 'bpc-157', 'report' => '', 'peptide' => '', 'purity' => '', 'expected' => '', ), $atts, 'peptide_coa'); $sku_key = strtolower(trim($a['sku'])); $data = isset($dataset[$sku_key]) ? $dataset[$sku_key] : reset($dataset); // Overrides if explicitly passed $peptide_name = !empty($a['peptide']) ? $a['peptide'] : $data['name']; $report_num = !empty($a['report']) ? $a['report'] : $data['report']; $purity = !empty($a['purity']) ? $a['purity'] : $data['purity']; $expected = !empty($a['expected']) ? $a['expected'] : $data['expected']; $total = $data['total']; $fill = $data['fill']; $appearance = $data['appearance']; ob_start(); ?>

Certificate of Analysis

Analytical Testing Report • High-Purity Peptide Verification

REPORT NUMBER
Generated: 9/16/2026
Sample Information
Peptide:
Appearance:
Analysis
Method: HPLC-UV (Reverse Phase)
Status: Complete
Timeline
Received: Jun 8, 2026
Tested:
Test Results
Purity
HPLC Area Purity (≥ 98.0%)
Expected Content
Target Label Claim
Total Content
Observed Content
Fill Accuracy
Within Spec (±10%)
Report: • Authenticated Analytical Testing Report
Batch Testing Verified
$row): ?>
Peptide SKU Report Number Purity Expected Content Observed Content Status
Complete