/* ============================================================
   Verified Peptides — premium PDP v2 (banner-free)
   ============================================================ */
:root { --vp-ink:#0f172a; --vp-teal:#0c8b82; --vp-blue:#1a8cba; --vp-line:#e8edf3; }

.vp-pdp2 { background: #fff; }

/* Slim breadcrumb */
.vp-pdp2-crumb { border-bottom: 1px solid #f1f5f9; padding: 14px 0; }
.vp-pdp2-crumb .crumb { padding: 0; }

/* Top: gallery + buy box (gallery constrained so it doesn't dominate) */
.vp-pdp2-top { padding: 30px 0 34px; }
.vp-pdp2-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 52px; align-items: start; }
@media (max-width: 900px) { .vp-pdp2-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Gallery */
.vp-pdp2-gallery { position: sticky; top: 96px; }
@media (max-width: 900px) { .vp-pdp2-gallery { position: static; } }
.vp-pdp2-gallery .pdp-img-main-wrap {
  position: relative; background: radial-gradient(120% 120% at 50% 0%, #f4fafd, #e9f1f6);
  border: 1px solid var(--vp-line); border-radius: 22px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vp-pdp2-gallery .pdp-img-main { max-width: 74% !important; max-height: 74% !important; width: auto !important; height: auto !important; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(15,23,42,.16)); }
.vp-pdp2-gallery .pdp-badge-corner { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(15,23,42,.9); color: #fff; font-size: 11.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.vp-pdp2-gallery .pdp-zoom-btn { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--vp-line); background: rgba(255,255,255,.95); color: #475569; cursor: pointer; }
.pdp-thumbnails-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pdp-thumbnails-row .pdp-thumb { width: 74px; height: 74px; border-radius: 12px; border: 1.5px solid var(--vp-line); background: #f8fafc; cursor: pointer; overflow: hidden; padding: 6px; }
.pdp-thumbnails-row .pdp-thumb-active { border-color: var(--vp-blue); }
.pdp-thumbnails-row .pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.vp-pdp2-trustrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vp-pdp2-trustrow span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #0f766e; background: #f0fdfa; border: 1px solid #ccfbf1; padding: 7px 12px; border-radius: 999px; }

/* Buy box */
.vp-pdp2-buy { }
.vp-pdp2-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.vp-pdp2-chips .pdp-trustchip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--vp-blue); background: #eef7fb; border: 1px solid #d7e9f2; padding: 6px 12px; border-radius: 999px; }
.vp-pdp2-title { font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--vp-ink); letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.1; }
.vp-pdp2-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; font-size: 13.5px; color: #64748b; }
.vp-pdp2-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.vp-pdp2-rating b { color: var(--vp-ink); }
.vp-pdp2-rating a { color: #64748b; text-decoration: none; }
.vp-pdp2-rating a:hover { color: var(--vp-blue); }
.vp-pdp2-verified { display: inline-flex; align-items: center; gap: 6px; color: #0f766e; font-weight: 700; }
.vp-pdp2-lead { font-size: 15px; line-height: 1.65; color: #475569; margin: 0 0 16px; }
.vp-pdp2-quickspecs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.vp-pdp2-quickspecs span { font-size: 12px; font-weight: 600; color: #334155; background: #f8fafc; border: 1px solid #eef2f7; padding: 6px 11px; border-radius: 8px; }

/* Common product info (grey rounded card under the CTA) */
.vp-pdp2-highlights { list-style: none; margin: 20px 0 0; padding: 18px 20px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 16px; display: grid; gap: 12px; }
.vp-pdp2-highlights li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #334155; }
.vp-pdp2-highlights i { color: var(--vp-teal); width: 18px; text-align: center; font-size: 14px; flex: 0 0 18px; }

.vp-pdp2-price { font-size: 34px; font-weight: 900; color: var(--vp-ink); letter-spacing: -.02em; margin-bottom: 20px; }
.vp-pdp2-price .cur { font-size: 22px; vertical-align: 4px; margin-right: 1px; }
.vp-pdp2-price small { font-size: 12.5px; font-weight: 700; color: #94a3b8; letter-spacing: .02em; }

.vp-pdp2-vars { margin-bottom: 20px; }
.vp-pdp2-vars-label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; margin-bottom: 9px; }
.vp-pdp2-vars .vp-card-vars { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-pdp2-vars .vp-vpill input { position: absolute; opacity: 0; pointer-events: none; }
.vp-pdp2-vars .vp-vpill span { display: inline-block; padding: 9px 18px; font-size: 14px; font-weight: 700; border: 1.5px solid #e2e8f0; border-radius: 12px; color: #475569; cursor: pointer; transition: all .16s; background: #fff; }
.vp-pdp2-vars .vp-vpill input:checked + span { border-color: var(--vp-blue); background: #eef7fb; color: var(--vp-blue); }

.vp-pdp2-buyrow { display: flex; gap: 12px; margin-bottom: 18px; }
.vp-pdp2-buy .pdp-qty-ctrl { display: inline-flex; align-items: center; border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.vp-pdp2-buy .pdp-qty-btn { width: 46px; height: 52px; border: none; background: #f8fafc; color: #334155; cursor: pointer; font-size: 13px; }
.vp-pdp2-buy .pdp-qty-input { width: 54px; height: 52px; border: none; text-align: center; font-size: 16px; font-weight: 800; color: var(--vp-ink); }
.vp-pdp2-add { flex: 1; border: none; cursor: pointer; background: linear-gradient(135deg,#0f3b34,#1a8cba); color: #fff; font-size: 15.5px; font-weight: 800; border-radius: 14px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 24px rgba(26,140,186,.3); transition: filter .2s, transform .15s; }
.vp-pdp2-add:hover { filter: brightness(1.08); transform: translateY(-2px); color: #fff; }
.vp-pdp2-add[disabled] { background: #e2e8f0; color: #94a3b8; box-shadow: none; cursor: not-allowed; }
.vp-pdp2-add.loading { opacity: .8; pointer-events: none; }

.vp-pdp2-assure { display: flex; gap: 12px; align-items: flex-start; background: #f8fafc; border: 1px solid var(--vp-line); border-radius: 14px; padding: 15px 18px; }
.vp-pdp2-assure > i { color: var(--vp-teal); font-size: 20px; margin-top: 2px; }
.vp-pdp2-assure strong { display: block; font-size: 14.5px; color: var(--vp-ink); }
.vp-pdp2-assure span { font-size: 13px; color: #64748b; }

/* Sticky sub-nav */
.vp-pdp2-nav { position: sticky; top: 78px; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-top: 1px solid #f1f5f9; border-bottom: 1px solid #eef2f7; }
.vp-pdp2-nav .container { display: flex; gap: 8px; overflow-x: auto; }
.vp-pdp2-nav a { white-space: nowrap; padding: 15px 4px; margin-right: 20px; font-size: 14px; font-weight: 700; color: #64748b; text-decoration: none; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.vp-pdp2-nav a:hover { color: var(--vp-ink); }
.vp-pdp2-nav a.is-active { color: var(--vp-blue); border-bottom-color: var(--vp-blue); }
body.admin-bar .vp-pdp2-nav { top: 110px; }

/* Content: two-column reading + sticky specs/COA sidebar */
.vp-pdp2-content-wrap { padding: 8px 0 20px; }
.vp-pdp2-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.vp-pdp2-main { min-width: 0; }
.vp-pdp2-aside { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 16px; }
body.admin-bar .vp-pdp2-aside { top: 164px; }
@media (max-width: 992px) {
  .vp-pdp2-layout { grid-template-columns: 1fr; gap: 8px; }
  .vp-pdp2-aside { position: static; order: -1; flex-direction: column; margin-bottom: 12px; }
}

.vp-pdp2-section { padding: 30px 0; border-bottom: 1px solid #f1f5f9; scroll-margin-top: 140px; }
.vp-pdp2-section:first-child { padding-top: 12px; }
.vp-pdp2-section:last-child { border-bottom: none; }

/* Sticky sidebar cards */
.vp-pdp2-scard { background: #fff; border: 1px solid var(--vp-line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 6px 22px rgba(15,23,42,.05); }
.vp-pdp2-scard__head { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 800; color: var(--vp-ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.vp-pdp2-scard__head i { color: var(--vp-blue); }
.vp-pdp2-facts { margin: 0; }
.vp-pdp2-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #eef2f7; }
.vp-pdp2-facts > div:last-child { border-bottom: none; }
.vp-pdp2-facts dt { font-size: 12.5px; font-weight: 600; color: #64748b; margin: 0; flex: 0 0 auto; }
.vp-pdp2-facts dd { font-size: 13px; font-weight: 700; color: var(--vp-ink); margin: 0; text-align: right; }

/* COA card — compact (specs already cover the science) */
.vp-pdp2-scard--coa { border-color: #cfe6f0; background: linear-gradient(160deg,#f7fbfd,#eef7fb); }
.vp-pdp2-coa-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vp-pdp2-coa-ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: #fff; border: 1px solid #cfe6f0; display: flex; align-items: center; justify-content: center; color: var(--vp-blue); font-size: 17px; }
.vp-pdp2-coa-txt strong { display: block; font-size: 14px; color: var(--vp-ink); line-height: 1.2; }
.vp-pdp2-coa-txt span { font-size: 12px; color: #64748b; }
.vp-pdp2-coa-dl { display: flex; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(135deg,#0f3b34,#1a8cba); color: #fff; font-size: 13.5px; font-weight: 800; padding: 11px 18px; border-radius: 12px; text-decoration: none; transition: filter .2s, transform .15s; }
.vp-pdp2-coa-dl:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.vp-pdp2-coa-dl--ghost { background: #fff; color: var(--vp-blue); border: 1.5px solid #cfe6f0; }
.vp-pdp2-coa-dl--ghost:hover { background: var(--vp-blue); color: #fff; border-color: var(--vp-blue); }
.vp-pdp2-h { font-size: 24px; font-weight: 800; color: var(--vp-ink); margin: 0 0 20px; position: relative; padding-left: 16px; }
.vp-pdp2-h::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 4px; background: linear-gradient(180deg,var(--vp-teal),var(--vp-blue)); display:none; }
.vp-pdp2-muted { color: #64748b; font-size: 15px; }
.vp-pdp2-muted a { color: var(--vp-blue); }

/* Spec table */
.vp-pdp2-spectable table { width: 100%; border-collapse: collapse; border: 1px solid var(--vp-line); border-radius: 14px; overflow: hidden; }
.vp-pdp2-spectable td { padding: 13px 18px; font-size: 14.5px; border-bottom: 1px solid #f1f5f9; }
.vp-pdp2-spectable tr:last-child td { border-bottom: none; }
.vp-pdp2-spectable td:first-child { width: 38%; font-weight: 700; color: #475569; background: #f8fafc; }
.vp-pdp2-spectable td:last-child { color: #0f172a; }

/* COA block */
.vp-pdp2-coa { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg,#f7fbfd,#eef7fb); border: 1px solid #d7e9f2; border-radius: 16px; padding: 20px 24px; }
.vp-pdp2-coa-left { display: flex; align-items: center; gap: 14px; }
.vp-pdp2-coa-ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid #d7e9f2; display: flex; align-items: center; justify-content: center; color: var(--vp-blue); font-size: 20px; }
.vp-pdp2-coa-left strong { display: block; font-size: 15.5px; color: var(--vp-ink); }
.vp-pdp2-coa-left span { font-size: 13px; color: #64748b; }
.vp-pdp2-coa-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--vp-ink); color: #fff; font-weight: 800; font-size: 14px; padding: 12px 22px; border-radius: 999px; text-decoration: none; transition: background .2s; }
.vp-pdp2-coa-btn:hover { background: var(--vp-blue); color: #fff; }

/* Monograph body reuses .vp-article-body (article.css). Keep it comfy here. */
#overview .vp-article-body { font-size: 15.5px; }
#overview .vp-article-body h2 { font-size: 22px; margin-top: 34px; }
#overview .vp-article-body h2:first-child { margin-top: 0; }

/* Related */
.vp-pdp2-related { background: #f7fafc; padding: 48px 0 60px; margin-top: 20px; }

/* ============================================================
   Premium compliance (Notice + Disclaimer) + References
   ============================================================ */
.vp-compliance {
  margin: 34px 0 0; border-radius: 20px; overflow: hidden;
  border: 1px solid #efe6d0;
  background: linear-gradient(180deg,#fffdf8 0%,#fffaef 100%);
  box-shadow: 0 12px 36px rgba(161,120,30,.07);
}
.vp-cnote { display: flex; gap: 16px; padding: 22px 26px; }
.vp-cnote + .vp-cnote { border-top: 1px dashed #efe1c1; }
.vp-cnote__ic {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.vp-cnote--notice .vp-cnote__ic { background: linear-gradient(135deg,#fcd34d,#f59e0b); color: #7c2d12; }
.vp-cnote--disc .vp-cnote__ic { background: linear-gradient(135deg,#7dd3fc,#38bdf8); color: #0c4a6e; }
.vp-cnote__label {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 6px;
}
.vp-cnote--notice .vp-cnote__label { color: #b45309; }
.vp-cnote--disc .vp-cnote__label { color: #0369a1; }
.vp-cnote__body { min-width: 0; }
.vp-cnote__body p { font-size: 14px; line-height: 1.72; color: #6b5e45; margin: 0; }
.vp-cnote--disc .vp-cnote__body p { color: #4b5563; }

/* References — academic citation list */
.vp-refs {
  margin: 26px 0 0; background: #fff; border: 1px solid var(--vp-line); border-radius: 20px;
  overflow: hidden; box-shadow: 0 12px 36px rgba(15,23,42,.05);
}
.vp-refs__head {
  display: flex; align-items: center; gap: 13px; padding: 18px 26px;
  border-bottom: 1px solid #eef2f7; background: linear-gradient(180deg,#fbfdfe,#f6fafc);
}
.vp-refs__ic {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 38px;
  background: linear-gradient(135deg,#0f3b34,#1a8cba); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.vp-refs__head h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--vp-ink); flex: 1; }
.vp-refs__count { font-size: 12px; font-weight: 700; color: #475569; background: #eef2f7; padding: 5px 13px; border-radius: 999px; }
.vp-refs__body { padding: 6px 26px 12px; }
.vp-refs__body ol { list-style: none; counter-reset: vpref; margin: 0; padding: 0; }
.vp-refs__body ol > li {
  counter-increment: vpref; position: relative; padding: 16px 0 16px 50px;
  border-bottom: 1px solid #f4f6f8; font-size: 13.5px; line-height: 1.72; color: #475569;
}
.vp-refs__body ol > li:last-child { border-bottom: none; }
.vp-refs__body ol > li::before {
  content: counter(vpref); position: absolute; left: 0; top: 15px;
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg,#0f3b34,#1a8cba); color: #fff;
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(26,140,186,.28);
}
.vp-refs__body a { color: var(--vp-blue); font-weight: 600; text-decoration: none; word-break: break-word; }
.vp-refs__body a:hover { text-decoration: underline; }
.vp-refs__body a[href^="http"]::after { content: "\2197"; font-size: 10px; margin-left: 3px; vertical-align: super; opacity: .8; }

/* ---------- PDP image zoom overlay (built by pdp.js) ---------- */
.pdp-zoom-overlay {
  position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center;
  padding: 40px; background: rgba(15, 23, 42, .92); cursor: zoom-out; animation: vpZoomIn .18s ease;
}
@keyframes vpZoomIn { from { opacity: 0; } to { opacity: 1; } }
.pdp-zoom-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.pdp-zoom-close { position: absolute; top: 18px; right: 26px; background: none; border: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .85; }
.pdp-zoom-close:hover { opacity: 1; }
/* Disabled stepper button state */
.pdp-qty-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Related products ("Researchers Also Explore"): centre the row ---------- */
/* so 1-2 related items don't sit awkwardly left-aligned in a 4-col grid. */
.vp-pdp2-related .products-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.vp-pdp2-related .products-grid > .vp-pcard { flex: 0 1 270px; max-width: 300px; }
@media (max-width: 600px) { .vp-pdp2-related .products-grid > .vp-pcard { flex-basis: 100%; max-width: 360px; } }
