/* ============================================================
   Verified Peptides — WordPress/WooCommerce integration layer
   Loads after style.css + responsive.css (last wins).
   ============================================================ */

/* ---------- Accessibility (WCAG AA) ---------- */
.vp-skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100000;
  background: #0f172a; color: #fff; padding: 12px 20px; border-radius: 0 0 10px 10px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: top .15s ease;
}
.vp-skip-link:focus { top: 0; outline: 3px solid #7dd3c8; }
.vp-main:focus { outline: none; }
/* Visible keyboard focus (mouse users unaffected via :focus-visible) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #1a8cba; outline-offset: 2px; border-radius: 4px;
}
/* Custom variant pills use a hidden radio — surface focus on the visible label */
.variant-radio:focus-visible + span,
.vp-vpill input:focus-visible + span { outline: 2px solid #1a8cba; outline-offset: 2px; }

/* ---------- Header: search ---------- */
.vp-header-search { position: relative; display: flex; align-items: center; }
.vp-header-search input {
  border: 1px solid #e5e7eb; border-radius: 999px; padding: 8px 36px 8px 16px;
  font-size: 13px; width: 170px; transition: width .25s ease, border-color .2s;
  background: #fff; outline: none;
}
.vp-header-search input:focus { width: 230px; border-color: #1a8cba; }
.vp-header-search > i {
  position: absolute; right: 14px; font-size: 12px; color: #94a3b8; pointer-events: none;
}
.vp-search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
  border-radius: 14px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); z-index: 1200;
  overflow: hidden; display: none; border: 1px solid #eef2f7;
}
.vp-search-results.open { display: block; }
.vp-search-results a {
  display: block; padding: 10px 16px; font-size: 13px; color: #0f172a;
  text-decoration: none; border-bottom: 1px solid #f1f5f9;
}
.vp-search-results a:last-child { border-bottom: none; }
.vp-search-results a:hover { background: #f0f9ff; color: #1a8cba; }
.vp-search-empty { display: block; padding: 12px 16px; font-size: 13px; color: #94a3b8; }

/* Header search: collapse to an icon on mobile; tap reveals a full-width bar */
.vp-search-toggle { display: none; }
@media (max-width: 992px) {
  .header-pill { position: relative; }
  #vpHeaderSearch { position: static; }
  .vp-search-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    background: #f1f5f9; color: #334155; font-size: 15px; flex-shrink: 0;
  }
  #vpHeaderSearch > input,
  #vpHeaderSearch > i { display: none; }
  #vpHeaderSearch.is-open > input {
    display: block; position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    margin-top: 12px; z-index: 1400; font-size: 15px; padding: 12px 18px; border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
  }
  #vpHeaderSearch.is-open .vp-search-results { top: calc(100% + 66px); left: 0; right: 0; }
}

/* ---------- Header: dropdown navigation (desktop) ---------- */
.vp-nav-item { position: relative; display: inline-flex; align-items: center; }
.main-nav-new .vp-nav-parent { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.main-nav-new .vp-nav-parent i { font-size: 9px; transition: transform .2s ease; }
.vp-nav-item:hover .vp-nav-parent i,
.vp-nav-item:focus-within .vp-nav-parent i { transform: rotate(180deg); }
.vp-dropdown {
  position: absolute; top: 100%; left: 50%; margin: 0; min-width: 234px;
  background: #fff; border: 1px solid #eef2f7; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .14); padding: 8px; z-index: 1300;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.vp-nav-item:hover .vp-dropdown,
.vp-nav-item:focus-within .vp-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(6px);
}
/* hover bridge across the gap so the panel doesn't drop while moving the cursor */
.vp-dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.vp-dropdown a {
  display: block; padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 500;
  color: #334155; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.vp-dropdown a:hover { background: #f0f9ff; color: #1a8cba; }

/* ---------- Mobile menu: accordion groups ---------- */
.mobile-menu .vp-m-group { border-bottom: 1px solid var(--border); }
.mobile-menu .vp-m-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 14px 24px; font-family: inherit; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--text-dark); cursor: pointer;
}
.mobile-menu .vp-m-toggle i { font-size: 12px; color: #94a3b8; transition: transform .2s ease; }
.mobile-menu .vp-m-group.open .vp-m-toggle i { transform: rotate(180deg); }
.mobile-menu .vp-m-sub { display: none; background: #f8fafc; }
.mobile-menu .vp-m-group.open .vp-m-sub { display: block; }
.mobile-menu .vp-m-link {
  display: block; padding: 11px 24px 11px 40px; font-size: 14px; color: #475569;
  border-top: 1px solid #eef2f7; text-decoration: none;
}
.mobile-menu .vp-m-link:hover { color: #1a8cba; }

/* ---------- Header: cart + account ---------- */
.vp-header-cart, .vp-header-account {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: #f1f5f9; color: #0f172a;
  font-size: 15px; text-decoration: none; transition: background .2s, color .2s;
}
.vp-header-cart:hover, .vp-header-account:hover { background: #0f172a; color: #fff; }
.vp-header-cart .cnt {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  border-radius: 999px; background: #1a8cba; color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  border: 2px solid #fff;
}
.vp-flag-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: #475569; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Product card: variant pills + actions ---------- */
.vp-card-vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.vp-vpill input { position: absolute; opacity: 0; pointer-events: none; }
.vp-vpill span {
  display: inline-block; padding: 4px 12px; font-size: 12px; font-weight: 600;
  border: 1.5px solid #e2e8f0; border-radius: 999px; color: #475569; cursor: pointer;
  transition: all .18s ease; background: #fff;
}
.vp-vpill input:checked + span { border-color: #1a8cba; background: #f0f9ff; color: #1a8cba; }
.vp-vpill:hover span { border-color: #1a8cba; }
.vp-card-actions { display: flex; align-items: center; gap: 8px; }
.vp-card-actions .btn-view-details { flex: 1; }
.vp-card-add {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px;
  width: 42px; height: 42px; border-radius: 50%; border: none; background: #0f172a;
  color: #fff; font-size: 15px; cursor: pointer; transition: background .2s, transform .15s;
}
.vp-card-add:hover { background: #1a8cba; transform: translateY(-1px); }
.vp-card-add.loading { opacity: .7; pointer-events: none; }
.stock-pill-out { background: #fef2f2; color: #b91c1c; }

/* ---------- Added-to-cart popup ---------- */
.vp-cart-popup {
  position: fixed; right: 24px; top: 92px; bottom: auto; z-index: 9999; width: 340px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
  padding: 18px; transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: transform .28s ease, opacity .28s ease; border: 1px solid #eef2f7;
}
.vp-cart-popup.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
@media (max-width: 520px) {
  .vp-cart-popup { right: 12px; left: 12px; top: 78px; width: auto; max-width: none; }
}
.vp-popup-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #16a34a; margin-bottom: 10px; }
.vp-popup-body { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vp-popup-img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: #f8fafc; }
.vp-popup-name { font-size: 13.5px; font-weight: 600; color: #0f172a; }
.vp-popup-actions { display: flex; gap: 8px; }
.vp-popup-actions a {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; padding: 9px 10px;
  border-radius: 999px; text-decoration: none; transition: all .2s;
}
.vp-popup-view { background: #f1f5f9; color: #0f172a; }
.vp-popup-view:hover { background: #e2e8f0; color: #0f172a; }
.vp-popup-checkout { background: #1a8cba; color: #fff; }
.vp-popup-checkout:hover { background: #0f172a; color: #fff; }
.vp-popup-close {
  position: absolute; top: 10px; right: 12px; border: none; background: none;
  font-size: 14px; color: #94a3b8; cursor: pointer;
}

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px;
  color: #64748b; padding: 18px 0 0;
}
.crumb a { color: #64748b; text-decoration: none; }
.crumb a:hover { color: #1a8cba; }
.crumb b { color: #0f172a; font-weight: 600; }
.crumb .sep { color: #cbd5e1; }
.crumb--light, .crumb--light a, .crumb--light b { color: rgba(255,255,255,.85); }
.crumb--light b { color: #fff; }

/* ---------- Legal links bar ---------- */
.vp-legal-bar { background: #0a0f1c; padding: 14px 0; text-align: center; }
.vp-legal-bar a {
  color: #64748b; font-size: 12px; text-decoration: none; margin: 0 14px;
}
.vp-legal-bar a:hover { color: #94a3b8; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 14px; padding: 14px 20px; margin: 18px 0; font-size: 14px;
  border: 1px solid; list-style: none;
}
.woocommerce-message { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.woocommerce-info { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
.woocommerce-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: inherit; font-weight: 700; }

/* ---------- Generic content page (docx-imported prose) ---------- */
.vp-content-hero {
  background: linear-gradient(180deg, #eef6f7 0%, #ffffff 100%);
  border-bottom: 1px solid #e6eef0;
  padding: 116px 0 34px;
  color: #0f172a;
}
.vp-content-hero .crumb { padding-top: 0; }
.vp-content-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: #0f172a; margin: 14px 0 16px; letter-spacing: -0.015em; }
.vp-content-hero p.vp-hero-sub { color: #52616b; font-size: 16.5px; max-width: 720px; margin: 8px 0 0; }
.vp-content-hero .vp-hero-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #64748b; margin: 0 0 16px; }
.vp-content-hero .vp-hero-meta i { color: #0c8b82; font-size: 12px; }
.vp-hero-accent { display: none; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #0c8b82, #1a8cba); }

/* Layout: readable content aligned to the container, sticky "On this page" rail */
.vp-content-layout {
  display: grid; grid-template-columns: minmax(0, 760px) 240px;
  justify-content: space-between; align-items: start; padding: 46px 0 84px;
}
.vp-content-layout.is-solo { grid-template-columns: minmax(0, 820px); justify-content: start; }
.vp-content-aside { position: sticky; top: 112px; }
.vp-page-toc { border-left: 2px solid #e6eef0; padding-left: 18px; }
.vp-page-toc__title { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; margin: 0 0 12px; }
.vp-page-toc ul { list-style: none; margin: 0; padding: 0; }
.vp-page-toc li { margin: 0 0 9px; }
.vp-page-toc a { color: #64748b; text-decoration: none; font-size: 13.5px; line-height: 1.45; display: block; transition: color .15s; }
.vp-page-toc a:hover { color: #0c8b82; }

.vp-prose { max-width: 100%; color: #334155; font-size: 16.5px; line-height: 1.8; }
.vp-prose h2 {
  font-size: 24px; font-weight: 800; color: #0f172a; margin: 40px 0 15px;
  letter-spacing: -0.01em; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; scroll-margin-top: 100px;
}
.vp-prose h2:first-child { margin-top: 2px; }
.vp-prose h3 { font-size: 18.5px; font-weight: 700; color: #0f3b34; margin: 28px 0 10px; }
.vp-prose h4 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 22px 0 8px; }
.vp-prose p { margin: 0 0 16px; }
.vp-prose > p:first-of-type { font-size: 17.5px; line-height: 1.72; color: #475569; }
.vp-prose strong { color: #0f172a; }
.vp-prose a { color: #1a8cba; text-decoration: none; font-weight: 600; }
.vp-prose a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .vp-content-layout, .vp-content-layout.is-solo { grid-template-columns: 1fr; gap: 0; justify-content: stretch; }
  .vp-content-aside { display: none; }
}
.vp-prose table {
  width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px;
  border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
}
.vp-prose th { background: #f8fafc; text-align: left; font-weight: 700; color: #0f172a; }
.vp-prose th, .vp-prose td { padding: 11px 14px; border-bottom: 1px solid #e2e8f0; }
.vp-prose blockquote {
  border-left: 4px solid #1a8cba; background: #f0f9ff; border-radius: 0 12px 12px 0;
  margin: 22px 0; padding: 16px 20px; color: #075985;
}
.vp-prose .vp-ruo-note {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px;
  padding: 16px 20px; margin: 28px 0; color: #92400e; font-size: 14px;
}

/* ---------- Reviewer card (research articles) ---------- */
.vp-reviewer-card {
  display: flex; align-items: center; gap: 14px; background: #f8fafc;
  border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px 20px; margin: 26px 0;
}
.vp-reviewer-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: #0f172a; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  flex: 0 0 52px;
}
.vp-reviewer-meta { font-size: 13px; color: #64748b; }
.vp-reviewer-meta b { display: block; font-size: 14.5px; color: #0f172a; }

/* ---------- Article TOC ---------- */
.vp-toc {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 20px 24px; margin: 26px 0;
}
.vp-toc-title { font-weight: 800; font-size: 15px; color: #0f172a; margin-bottom: 10px; }
.vp-toc ol { margin: 0; padding-left: 20px; }
.vp-toc li { margin: 5px 0; font-size: 14px; }
.vp-toc a { color: #1a8cba; text-decoration: none; }
.vp-toc a:hover { text-decoration: underline; }

/* ---------- COA library table ---------- */
.vp-coa-table-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 16px 70px; overflow-x: auto; }
.vp-coa-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 700px; }
.vp-coa-table th {
  text-align: left; background: #0f172a; color: #fff; padding: 13px 16px;
  font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
}
.vp-coa-table th:first-child { border-radius: 12px 0 0 0; }
.vp-coa-table th:last-child { border-radius: 0 12px 0 0; }
.vp-coa-table td { padding: 13px 16px; border-bottom: 1px solid #e2e8f0; color: #334155; }
.vp-coa-table tr:hover td { background: #f8fafc; }
.vp-coa-table .vp-coa-dl {
  display: inline-flex; align-items: center; gap: 7px; background: #f0f9ff; color: #1a8cba;
  padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 12.5px; text-decoration: none;
  transition: all .2s;
}
.vp-coa-table .vp-coa-dl:hover { background: #1a8cba; color: #fff; }
.vp-coa-cat {
  display: inline-block; background: #f1f5f9; color: #475569; border-radius: 999px;
  padding: 3px 11px; font-size: 11.5px; font-weight: 700;
}

/* ---------- Shop grid: WooCommerce loop reset ---------- */
.shop-products-grid ul.products { display: contents; list-style: none; margin: 0; padding: 0; }
.woocommerce-result-count, .woocommerce-ordering { display: none; }

/* ---------- Pagination ---------- */
.vp-pagination { display: flex; justify-content: center; gap: 8px; margin: 36px 0 10px; }
.vp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid #e2e8f0; color: #475569; font-weight: 700; font-size: 14px;
  text-decoration: none; padding: 0 10px; transition: all .2s; background: #fff;
}
.vp-pagination .page-numbers.current { background: #0f172a; color: #fff; border-color: #0f172a; }
.vp-pagination .page-numbers:hover:not(.current) { border-color: #1a8cba; color: #1a8cba; }

/* ---------- PDP variant pills (buy box) ---------- */
.vp-pdp-vars { margin: 18px 0 6px; }
.vp-pdp-vars-label { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 9px; letter-spacing: .02em; }
.vp-pdp-vars .vp-vpill span { padding: 9px 20px; font-size: 14px; border-radius: 12px; }

/* ---------- My Account ---------- */
.vp-account-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 16px 80px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { margin: 4px 0; }
.woocommerce-MyAccount-navigation a {
  display: block; padding: 11px 18px; border-radius: 12px; color: #334155; font-weight: 600;
  font-size: 14px; text-decoration: none; transition: all .2s;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover { background: #f0f9ff; color: #1a8cba; }
.vp-account-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 36px; }
.woocommerce-MyAccount-content { font-size: 14.5px; color: #334155; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { color: #0f172a; font-weight: 800; }
@media (max-width: 820px) { .vp-account-wrap { grid-template-columns: 1fr; } }

/* ---------- Forms (WooCommerce inputs) ---------- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-EditAccountForm input, .woocommerce-form-login input.input-text,
.woocommerce-form-register input.input-text {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 11px 15px;
  font-size: 14px; outline: none; transition: border-color .2s; background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: #1a8cba; }
.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 5px; display: inline-block; }
.woocommerce button.button, .woocommerce a.button {
  background: #0f172a; color: #fff; border: none; border-radius: 999px; padding: 12px 26px;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s;
  text-decoration: none; display: inline-block;
}
.woocommerce button.button:hover, .woocommerce a.button:hover { background: #1a8cba; color: #fff; }

/* ---------- 404 ---------- */
.vp-404 { text-align: center; padding: 150px 16px 90px; }
.vp-404 h1 { font-size: 96px; font-weight: 900; color: #0f172a; margin: 0; line-height: 1; }
.vp-404 p { color: #64748b; font-size: 16px; margin: 14px 0 26px; }

/* ---------- Admin bar offset ---------- */
body.admin-bar .header-main { top: 32px; }

/* ---------- Research hub cards ---------- */
.vp-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; }
.vp-hub-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 18px; padding: 26px 26px 22px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.vp-hub-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.10); border-color: #1a8cba; }
.vp-hub-card h3 { font-size: 17.5px; font-weight: 800; color: #0f172a; margin: 0 0 10px; }
.vp-hub-card p { font-size: 13.5px; color: #64748b; line-height: 1.65; margin: 0 0 16px; flex: 1; }
.vp-hub-more { font-size: 13px; font-weight: 700; color: #1a8cba; }
@media (max-width: 900px) { .vp-hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vp-hub-grid { grid-template-columns: 1fr; } }

/* ---------- Category sidebar list ---------- */
.vp-cat-list { list-style: none; margin: 0; padding: 0; }
.vp-cat-list li { margin: 2px 0; }
.vp-cat-list a {
  display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px;
  color: #475569; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: all .18s;
}
.vp-cat-list a span { color: #94a3b8; font-weight: 500; }
.vp-cat-list li.active a, .vp-cat-list a:hover { background: #f0f9ff; color: #1a8cba; }

/* ---------- PDP price GST note ---------- */
.pdp-price-incgst { font-size: 12.5px; color: #64748b; font-weight: 600; align-self: flex-end; padding-bottom: 8px; }


/* ============================================================
   Universal rich-content list markers (GLOBAL — every page)
   Re-instates markers killed by global ul{list-style:none};
   brand teal tick for ul, gradient number pill for ol.
   Applies to .vp-article-body / .vp-hub-content / .vp-prose / .vp-rich
   ============================================================ */
.vp-article-body ul,
.vp-hub-content ul,
.vp-prose ul,
.vp-rich ul {
  list-style: none;
  padding-left: 4px;
  margin: 14px 0 20px;
}
.vp-article-body ul > li,
.vp-hub-content ul > li,
.vp-prose ul > li,
.vp-rich ul > li {
  position: relative;
  padding-left: 30px;
  margin: 9px 0;
  line-height: 1.7;
}
/* Custom brand marker: a soft teal rounded square with an inner tick */
.vp-article-body ul > li::before,
.vp-hub-content ul > li::before,
.vp-prose ul > li::before,
.vp-rich ul > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 15px; height: 15px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(26,140,186,.14), rgba(12,139,130,.16));
  border: 1.5px solid rgba(12,139,130,.42);
}
.vp-article-body ul > li::after,
.vp-hub-content ul > li::after,
.vp-prose ul > li::after,
.vp-rich ul > li::after {
  content: "";
  position: absolute;
  left: 5px; top: 0.62em;
  width: 4px; height: 7px;
  border: solid var(--vp-teal);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

/* Ordered lists: numbered pills */
.vp-article-body ol,
.vp-hub-content ol,
.vp-prose ol,
.vp-rich ol {
  list-style: none;
  counter-reset: vp-ol;
  padding-left: 4px;
  margin: 14px 0 20px;
}
.vp-article-body ol > li,
.vp-hub-content ol > li,
.vp-prose ol > li,
.vp-rich ol > li {
  position: relative;
  padding-left: 40px;
  margin: 11px 0;
  line-height: 1.7;
  counter-increment: vp-ol;
}
.vp-article-body ol > li::before,
.vp-hub-content ol > li::before,
.vp-prose ol > li::before,
.vp-rich ol > li::before {
  content: counter(vp-ol);
  position: absolute; left: 0; top: 0.05em;
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #0f3b34, #1a8cba);
  color: #fff; font-size: 12.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
/* (References list is styled in the .vp-block-refs block above with numbered badges.) */

/* Nested lists stay subtle */
.vp-article-body li ul, .vp-hub-content li ul, .vp-prose li ul, .vp-rich li ul { margin: 8px 0; }

/* ============================================================
   COA Library — searchable grid + lightbox viewer
   ============================================================ */
.vp-coa-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; }
.vp-coa-search { position: relative; flex: 1; min-width: 260px; max-width: 460px; }
.vp-coa-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; }
.vp-coa-search input { width: 100%; border: 1.5px solid #e2e8f0; border-radius: 999px; padding: 12px 18px 12px 42px; font-size: 14.5px; outline: none; transition: border-color .18s, box-shadow .18s; }
.vp-coa-search input:focus { border-color: #1a8cba; box-shadow: 0 0 0 3px rgba(26,140,186,.12); }
.vp-coa-count { font-size: 13.5px; color: #64748b; }
.vp-coa-count strong { color: #0f172a; }
.vp-coa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.vp-coa-card { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 20px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vp-coa-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,23,42,.08); border-color: #cfe6f0; }
.vp-coa-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vp-coa-cat { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0c8b82; background: #e6f4f1; padding: 4px 10px; border-radius: 999px; }
.vp-coa-purity { font-size: 12px; font-weight: 700; color: #0f766e; display: inline-flex; align-items: center; gap: 5px; }
.vp-coa-name { font-size: 17px; font-weight: 800; margin: 0 0 6px; line-height: 1.25; }
.vp-coa-name a { color: #0f172a; text-decoration: none; }
.vp-coa-name a:hover { color: #1a8cba; }
.vp-coa-batch { font-size: 12.5px; color: #94a3b8; display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.vp-coa-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-coa-chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #d7e9f2; background: #f7fbfd; color: #1a8cba; font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 10px; cursor: pointer; transition: all .16s; }
.vp-coa-chip:hover { background: #1a8cba; color: #fff; border-color: #1a8cba; }
.vp-coa-chip i { font-size: 11px; }
.vp-coa-empty { text-align: center; color: #64748b; padding: 40px; font-size: 15px; }
.vp-coa-modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 24px; }
.vp-coa-modal.is-open { display: flex; }
.vp-coa-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.72); }
.vp-coa-modal-box { position: relative; background: #fff; border-radius: 16px; max-width: 720px; width: 100%; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.vp-coa-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #eef2f7; }
.vp-coa-modal-title { font-size: 15px; font-weight: 800; color: #0f172a; }
.vp-coa-modal-actions { display: flex; align-items: center; gap: 12px; }
.vp-coa-modal-dl { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg,#0f3b34,#1a8cba); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 10px; text-decoration: none; }
.vp-coa-modal-dl:hover { filter: brightness(1.08); color: #fff; }
.vp-coa-modal-close { background: none; border: none; font-size: 24px; line-height: 1; color: #94a3b8; cursor: pointer; padding: 0 4px; }
.vp-coa-modal-close:hover { color: #0f172a; }
.vp-coa-modal-body { padding: 18px; overflow: auto; background: #f8fafc; }
.vp-coa-modal-body img { display: block; max-width: 100%; margin: 0 auto; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
@media (max-width: 560px) { .vp-coa-toolbar { flex-direction: column; align-items: stretch; } .vp-coa-search { max-width: none; } }

/* COA library: explanatory content sits below the reports grid */
.vp-coa-intro { max-width: 840px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid #eef2f7; }

/* ============================================================
   Glossary — vibrant A–Z (CPT-driven)
   ============================================================ */
.vp-gloss-intro { max-width: 820px; margin: 0 0 26px; }
.vp-gloss-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.vp-gloss-search { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.vp-gloss-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; }
.vp-gloss-search input { width: 100%; border: 1.5px solid #e2e8f0; border-radius: 999px; padding: 12px 18px 12px 42px; font-size: 14.5px; outline: none; transition: border-color .18s, box-shadow .18s; }
.vp-gloss-search input:focus { border-color: #1a8cba; box-shadow: 0 0 0 3px rgba(26,140,186,.12); }
.vp-gloss-count { font-size: 13.5px; color: #64748b; }
.vp-gloss-count strong { color: #0f172a; }
.vp-gloss-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 34px; padding: 12px 14px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 14px; position: sticky; top: 92px; z-index: 20; }
.vp-gloss-az a, .vp-gloss-az span { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.vp-gloss-az-on { color: #0c8b82; background: #e6f4f1; transition: all .15s; }
.vp-gloss-az-on:hover { background: #0c8b82; color: #fff; }
.vp-gloss-az-off { color: #cbd5e1; }
.vp-gloss-group { display: grid; grid-template-columns: 72px 1fr; gap: 8px 20px; margin: 0 0 36px; align-items: start; scroll-margin-top: 160px; }
.vp-gloss-letter { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; background: linear-gradient(135deg,#0c8b82,#1a8cba); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: sticky; top: 150px; }
.vp-gloss-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.vp-gloss-term { background: #fff; border: 1px solid #e8edf3; border-left: 3px solid #0c8b82; border-radius: 14px; padding: 18px 20px; transition: transform .2s, box-shadow .2s; }
.vp-gloss-term:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,23,42,.08); }
.vp-gloss-term-name { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0 0 7px; }
.vp-gloss-term-def { font-size: 14px; color: #475569; line-height: 1.6; }
.vp-gloss-term-def p { margin: 0; }
.vp-gloss-empty { text-align: center; color: #64748b; padding: 40px; }
@media (max-width: 640px) {
  .vp-gloss-group { grid-template-columns: 1fr; }
  .vp-gloss-letter { font-size: 30px; position: static; }
  .vp-gloss-az { position: static; }
}

/* ---------- Footer newsletter: honeypot + status message ---------- */
.vp-nl-hp {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}
.vp-nl-msg { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; min-height: 0; }
.vp-nl-msg.is-ok { color: #4ecdc4; }
.vp-nl-msg.is-error { color: #ff9b9b; }
