/* ============================================================
   Trupoint Health — Product Page (premium design)
   Scoped under .tpt-product-page to avoid theme conflicts.
   Design system tokens inlined below (from colors_and_type.css).
   ============================================================ */

.tpt-product-page {
  --tp-primary-navy:    #0B1F3A;
  --tp-clinical-blue:   #164654;   /* brand accent */
  --tp-partner-teal:    #164654;
  --tp-soft-grey-bg:    #F7F9FC;
  --tp-white:           #FFFFFF;
  --tp-border-grey:     #E5E7EB;
  --tp-bg-subtle:       #F8FAFC;
  --tp-text-primary:    #111827;
  --tp-text-secondary:  #6B7280;
  --tp-success:         #2BAE66;
  --tp-success-soft:    #DCFCE7;
  --tp-warning:         #F59E0B;
  --tp-danger:          #DC2626;
  --tp-danger-soft:     #FEE2E2;
  --tp-info-soft:       rgba(22,70,84,0.10);
  --tp-font-sans:       "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Page-level tokens */
  --pg-max:         1200px;
  --pg-gutter:      24px;
  --pg-hairline:    #ECEFF3;
  --pg-ink:         #0B1F3A;
  --pg-paper:       #FAFBFD;
  --pg-display:     56px;
  --pg-display-lh:  1.04;
  --pg-accent:      #164654;
  --pg-accent-deep: #0e2f38;
  --pg-accent-soft: rgba(22,70,84,0.10);
  --pg-mark-red:    #DC2626;
  --pg-mark-red-soft: rgba(220,38,38,0.10);
  --bm-accent:      #164654;
  --bm-accent-soft: rgba(22,70,84,0.10);

  font-family: var(--tp-font-sans);
  background: var(--tp-white) !important;
  color: var(--tp-text-primary) !important;
  -webkit-font-smoothing: antialiased;
}

.tpt-product-page *, .tpt-product-page *::before, .tpt-product-page *::after {
  box-sizing: border-box;
}

/* Defensive reset — neutralise theme inheritance */
.tpt-product-page,
.tpt-product-page * {
  font-family: var(--tp-font-sans) !important;
}
.tpt-product-page h1,
.tpt-product-page h2,
.tpt-product-page h3,
.tpt-product-page h4,
.tpt-product-page h5,
.tpt-product-page h6 {
  color: var(--pg-ink) !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.tpt-product-page p,
.tpt-product-page span,
.tpt-product-page li {
  color: var(--tp-text-primary) !important;
}
.tpt-product-page .pg-lede,
.tpt-product-page .pg-section__sub,
.tpt-product-page .pg-bm__intro,
.tpt-product-page .pg-persona p {
  color: var(--tp-text-secondary) !important;
}
.tpt-product-page svg {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  stroke: currentColor !important;
  fill: none !important;
}
.tpt-product-page button,
.tpt-product-page input[type="button"],
.tpt-product-page input[type="submit"],
.tpt-product-page .button {
  font-family: var(--tp-font-sans) !important;
  cursor: pointer;
  background: transparent !important;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit !important;
  text-transform: none;
  letter-spacing: normal;
  line-height: inherit;
  box-shadow: none;
  text-shadow: none;
}
.tpt-product-page button:hover,
.tpt-product-page .button:hover {
  background: transparent !important;
  color: inherit !important;
}

/* Primary CTA (Add to cart) */
.tpt-product-page .pg-cta,
.tpt-product-page .pg-stickybuy__cta {
  background: var(--pg-accent) !important;
  color: #fff !important;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  transition: background 0.2s ease, transform 0.1s ease;
}
.tpt-product-page .pg-cta:hover,
.tpt-product-page .pg-stickybuy__cta:hover {
  background: var(--pg-accent-deep) !important;
  color: #fff !important;
  text-decoration: none;
}
.tpt-product-page .pg-cta--full { width: 100%; }

/* Segmented / pill buttons */
.tpt-product-page .pg-segmented__btn,
.tpt-product-page .pg-qty__btn,
.tpt-product-page .pg-bm__tab,
.tpt-product-page .pg-gallery__thumb,
.tpt-product-page .pg-collect__card {
  background: var(--tp-white) !important;
  border: 1px solid var(--pg-hairline) !important;
  color: var(--pg-ink) !important;
}
.tpt-product-page .pg-segmented__btn--active,
.tpt-product-page .pg-bm__tab--active,
.tpt-product-page .pg-collect__card--active {
  background: var(--pg-accent) !important;
  border-color: var(--pg-accent) !important;
  color: #fff !important;
}

/* Icon defaults */
.tpt-product-page svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor !important;
  fill: none !important;
}
.tpt-product-page .pg-persona__icon svg,
.tpt-product-page .pg-step__icon svg,
.tpt-product-page .pg-bm__tab-icon svg {
  width: 24px;
  height: 24px;
  color: var(--pg-accent) !important;
}
.tpt-product-page .pg-persona__icon,
.tpt-product-page .pg-step__icon {
  background: var(--pg-accent-soft) !important;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tpt-product-page a { color: var(--tp-clinical-blue) !important; text-decoration: none; }
.tpt-product-page a:hover { text-decoration: underline; }
.tpt-product-page h1, .tpt-product-page h2, .tpt-product-page h3,
.tpt-product-page h4, .tpt-product-page p { margin: 0; }

/* ── Sticky nav ─────────────────────────────────────────── */
.tpt-product-page .pg-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--pg-hairline);
}
.tpt-product-page .pg-nav__inner {
  max-width: var(--pg-max); margin: 0 auto;
  height: 64px; padding: 0 var(--pg-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.tpt-product-page .pg-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--pg-ink) !important; letter-spacing: -0.01em; font-size: 16px;
  text-decoration: none;
}
.tpt-product-page .pg-brand:hover { text-decoration: none; }
.tpt-product-page .pg-brand__mark {
  width: 28px; height: 28px;
  background-image: var(--tpt-logo-mark-url);
  background-size: contain; background-repeat: no-repeat; background-position: center;
  flex-shrink: 0;
}
.tpt-product-page .pg-nav__links {
  display: flex; gap: 28px; align-items: center; font-size: 14px;
}
.tpt-product-page .pg-nav__links a {
  color: var(--tp-text-primary) !important; font-weight: 500; text-decoration: none;
}
.tpt-product-page .pg-nav__links a:hover { color: var(--tp-clinical-blue) !important; }
.tpt-product-page .pg-nav__right { display: flex; gap: 12px; align-items: center; }
.tpt-product-page .pg-cart {
  position: relative; padding: 8px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; color: var(--tp-text-secondary) !important;
  text-decoration: none;
}
.tpt-product-page .pg-cart:hover { background: var(--tp-soft-grey-bg) !important; color: var(--tp-text-primary) !important; }
.tpt-product-page .pg-cart i { width: 20px; height: 20px; }
.tpt-product-page .pg-cart__count {
  position: absolute; top: 2px; right: 2px;
  font-size: 10px; font-weight: 600; color: white !important;
  background: var(--tp-clinical-blue) !important;
  height: 16px; min-width: 16px; padding: 0 4px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 768px) {
  .tpt-product-page .pg-nav__links { display: none; }
}

/* ── Section scaffold ───────────────────────────────────── */
.tpt-product-page .pg-wrap { max-width: var(--pg-max); margin: 0 auto; padding: 0 var(--pg-gutter); }
.tpt-product-page .pg-section { padding: 96px 0; border-top: 1px solid var(--pg-hairline); }
.tpt-product-page .pg-section--tight { padding: 64px 0; }
.tpt-product-page .pg-section--paper { background: var(--pg-paper) !important; }
.tpt-product-page .pg-section--ink {
  background: var(--pg-ink) !important; color: #fff !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.tpt-product-page .pg-section--ink h2,
.tpt-product-page .pg-section--ink h3 { color: #fff !important; }

.tpt-product-page .pg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tp-text-secondary) !important;
}
.tpt-product-page .pg-eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--tp-clinical-blue) !important; flex-shrink: 0;
}
.tpt-product-page .pg-section--ink .pg-eyebrow { color: rgba(255,255,255,0.6) !important; }
.tpt-product-page .pg-section__head { max-width: 720px; margin-bottom: 56px; }
.tpt-product-page .pg-section__head h2 {
  font-size: 36px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--pg-ink) !important; font-weight: 700; margin: 14px 0 16px;
}
.tpt-product-page .pg-section__head p {
  font-size: 17px; line-height: 1.55; color: var(--tp-text-secondary) !important;
}

/* ── Hero ───────────────────────────────────────────────── */
.tpt-product-page .pg-hero { padding: 56px 0 80px; }
.tpt-product-page .pg-hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start;
}
@media (max-width: 960px) {
  .tpt-product-page .pg-hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

.tpt-product-page .pg-crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--tp-text-secondary) !important; margin-bottom: 24px;
}
.tpt-product-page .pg-crumbs a { color: var(--tp-text-secondary) !important; text-decoration: none; }
.tpt-product-page .pg-crumb-sep { opacity: 0.5; }

.tpt-product-page .pg-h1 {
  font-size: var(--pg-display); line-height: var(--pg-display-lh);
  letter-spacing: -0.025em; color: var(--pg-ink) !important; font-weight: 700;
  margin: 16px 0 24px; text-wrap: balance;
}
.tpt-product-page .pg-lede {
  font-size: 19px; line-height: 1.55; color: var(--tp-text-secondary) !important; max-width: 60ch;
}
.tpt-product-page .pg-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tpt-product-page .pg-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--tp-border-grey); color: var(--tp-text-primary) !important; background: var(--tp-white) !important;
}
.tpt-product-page .pg-chip i { width: 14px; height: 14px; color: var(--tp-clinical-blue) !important; }

/* Visual panel — product image + gallery */
.tpt-product-page .pg-visual {
  position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px;
}
@media (max-width: 960px) { .tpt-product-page .pg-visual { position: static; } }

.tpt-product-page .pg-visual__main {
  position: relative; border-radius: 20px; background: var(--pg-ink) !important; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(11,31,58,0.35), 0 8px 20px -6px rgba(11,31,58,0.18);
  aspect-ratio: 4/5;
}
.tpt-product-page .pg-visual__main::before {
  content: "";
  position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(11,31,58,0.55), rgba(11,31,58,0) 60%) !important;
  filter: blur(10px);
}
.tpt-product-page .pg-visual__main::after {
  content: "";
  position: absolute; inset: auto auto -30% -20%; width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 50%, rgba(220,38,38,0.30), rgba(220,38,38,0) 60%) !important;
  filter: blur(8px);
}
.tpt-product-page .pg-visual__main-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.tpt-product-page .pg-visual__main-placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.tpt-product-page .pg-visual__watermark {
  position: absolute; right: -10%; bottom: -8%; width: 70%; opacity: 0.12;
  pointer-events: none; filter: brightness(1.5); transform: rotate(-8deg); z-index: 0;
}
.tpt-product-page .pg-visual__seal {
  position: absolute; bottom: 20px; right: 20px; z-index: 3;
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff !important; font-size: 9px; text-align: center;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; line-height: 1.2;
  background: rgba(255,255,255,0.06) !important; backdrop-filter: blur(8px);
}
.tpt-product-page .pg-visual__seal strong {
  font-size: 11px; color: var(--pg-accent) !important; letter-spacing: 0.08em;
}

/* Gallery thumbnails (real WC images) */
.tpt-product-page .pg-gallery { display: flex; gap: 8px; flex-wrap: wrap; }
.tpt-product-page .pg-gallery__thumb {
  flex: 0 0 calc(25% - 6px);
  aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  border: 2px solid var(--tp-border-grey); cursor: pointer;
  transition: border-color 150ms;
  background: var(--pg-paper) !important;
  padding: 0; background: none !important;
}
.tpt-product-page .pg-gallery__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tpt-product-page .pg-gallery__thumb--active { border-color: var(--pg-ink) !important; }
.tpt-product-page .pg-gallery__thumb:hover { border-color: var(--tp-clinical-blue) !important; }

/* Buy box */
.tpt-product-page .pg-buy { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.tpt-product-page .pg-rating {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--tp-text-secondary) !important; margin-bottom: 8px;
}
.tpt-product-page .pg-rating__stars { display: inline-flex; gap: 2px; color: var(--tp-warning) !important; }
.tpt-product-page .pg-rating__stars i { width: 16px; height: 16px; fill: currentColor !important; }

.tpt-product-page .pg-price-row {
  display: flex; align-items: baseline; gap: 16px;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--pg-hairline);
}
.tpt-product-page .pg-price {
  font-size: 40px; font-weight: 700; color: var(--pg-ink) !important; letter-spacing: -0.02em;
}
.tpt-product-page .pg-price-old {
  color: var(--tp-text-secondary) !important; text-decoration: line-through; font-size: 18px;
}
.tpt-product-page .pg-price-badge {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--tp-success) !important; background: var(--tp-success-soft) !important;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.tpt-product-page .pg-installment { font-size: 14px; color: var(--tp-text-secondary) !important; margin-top: 6px; }

.tpt-product-page .pg-options { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.tpt-product-page .pg-option__label {
  font-size: 13px; font-weight: 600; color: var(--tp-text-primary) !important;
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px;
}
.tpt-product-page .pg-option__value {
  color: var(--tp-text-secondary) !important; font-weight: 500; font-size: 13px;
}
.tpt-product-page .pg-segmented {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; padding: 4px; background: var(--pg-paper) !important;
  border-radius: 12px; border: 1px solid var(--tp-border-grey);
}
.tpt-product-page .pg-segmented--2 { grid-template-columns: 1fr 1fr; }
.tpt-product-page .pg-segmented__btn {
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 12px 14px; border-radius: 9px;
  background: transparent !important; color: var(--tp-text-secondary) !important;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: all 120ms ease;
}
.tpt-product-page .pg-segmented__btn span { font-size: 11px; font-weight: 500; color: var(--tp-text-secondary) !important; }
.tpt-product-page .pg-segmented__btn--active {
  background: white !important; color: var(--pg-ink) !important;
  box-shadow: 0 1px 3px rgba(11,31,58,0.08); border-color: var(--tp-border-grey) !important;
}

.tpt-product-page .pg-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--tp-border-grey); border-radius: 10px; overflow: hidden;
}
.tpt-product-page .pg-qty button {
  width: 40px; height: 44px; border: 0; background: transparent !important;
  font: inherit; font-size: 18px; color: var(--tp-text-primary) !important; cursor: pointer;
}
.tpt-product-page .pg-qty button:hover { background: var(--tp-soft-grey-bg) !important; }
.tpt-product-page .pg-qty span {
  min-width: 40px; text-align: center; font-weight: 600; font-size: 15px;
}

.tpt-product-page .pg-cta-row {
  margin-top: 32px; display: grid; grid-template-columns: auto 1fr; gap: 12px;
}
.tpt-product-page .pg-cta {
  font: inherit; font-weight: 600; font-size: 15px;
  height: 56px; padding: 0 28px; border-radius: 12px;
  border: 1px solid transparent; background: var(--pg-ink) !important; color: white !important;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: transform 120ms, box-shadow 120ms, background 120ms;
}
.tpt-product-page .pg-cta:hover { background: #0a1a30 !important; box-shadow: 0 8px 20px -6px rgba(11,31,58,0.4); }
.tpt-product-page .pg-cta--secondary {
  background: white !important; color: var(--tp-text-primary) !important; border-color: var(--tp-border-grey) !important;
}
.tpt-product-page .pg-cta--secondary:hover { background: var(--tp-soft-grey-bg) !important; box-shadow: none; }
.tpt-product-page .pg-cta i { width: 18px; height: 18px; }
.tpt-product-page .pg-cta--full { grid-column: 1 / -1; }

.tpt-product-page .pg-assurances {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--pg-hairline);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tpt-product-page .pg-assurance {
  display: flex; gap: 10px; font-size: 13px; color: var(--tp-text-secondary) !important;
}
.tpt-product-page .pg-assurance i { width: 16px; height: 16px; color: var(--tp-clinical-blue) !important; flex-shrink: 0; margin-top: 2px; }
.tpt-product-page .pg-assurance strong { color: var(--tp-text-primary) !important; font-weight: 600; display: block; }
@media (max-width: 600px) {
  .tpt-product-page .pg-assurances { grid-template-columns: 1fr 1fr; }
}

/* ── Biomarker stats banner ─────────────────────────────── */
.tpt-product-page .pg-marker-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--pg-hairline); border-bottom: 1px solid var(--pg-hairline);
  margin-bottom: 56px;
}
@media (max-width: 720px) { .tpt-product-page .pg-marker-stats { grid-template-columns: repeat(2, 1fr); } }
.tpt-product-page .pg-stat {
  padding: 28px 24px; border-right: 1px solid var(--pg-hairline);
}
.tpt-product-page .pg-stat:last-child { border-right: 0; }
@media (max-width: 720px) {
  .tpt-product-page .pg-stat:nth-child(2) { border-right: 0; }
  .tpt-product-page .pg-stat:nth-child(1),
  .tpt-product-page .pg-stat:nth-child(2) { border-bottom: 1px solid var(--pg-hairline); }
}
.tpt-product-page .pg-stat__num {
  font-size: 40px; font-weight: 700; color: var(--pg-ink) !important;
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px;
}
.tpt-product-page .pg-stat__label { font-size: 13px; color: var(--tp-text-secondary) !important; line-height: 1.4; }

/* ── Biomarker vertical tabs ────────────────────────────── */
.tpt-product-page .pg-bm {
  display: grid; grid-template-columns: 300px 1fr; gap: 56px;
  border-top: 1px solid var(--pg-hairline); padding-top: 40px;
}
@media (max-width: 900px) { .tpt-product-page .pg-bm { grid-template-columns: 1fr; gap: 24px; } }
.tpt-product-page .pg-bm__tabs {
  display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 88px; align-self: start;
}
@media (max-width: 900px) {
  .tpt-product-page .pg-bm__tabs {
    position: static; flex-direction: row; overflow-x: auto;
    padding-bottom: 8px; gap: 0;
  }
}
.tpt-product-page .pg-bm__tab {
  font: inherit; text-align: left; cursor: pointer;
  background: transparent !important; border: 0;
  padding: 14px 18px 14px 0;
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px;
  border-right: 2px solid var(--pg-hairline);
  color: var(--tp-text-secondary) !important; transition: color 120ms, border-color 120ms;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .tpt-product-page .pg-bm__tab {
    border-right: 0; border-bottom: 2px solid var(--pg-hairline); padding: 12px 16px;
  }
}
.tpt-product-page .pg-bm__tab:hover { color: var(--tp-text-primary) !important; }
.tpt-product-page .pg-bm__tab--active {
  color: var(--pg-ink) !important; border-right-color: var(--pg-ink) !important;
}
@media (max-width: 900px) { .tpt-product-page .pg-bm__tab--active { border-bottom-color: var(--pg-ink) !important; } }
.tpt-product-page .pg-bm__tab-num {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--tp-text-secondary) !important; font-variant-numeric: tabular-nums;
}
.tpt-product-page .pg-bm__tab--active .pg-bm__tab-num { color: var(--tp-clinical-blue) !important; }
.tpt-product-page .pg-bm__tab-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.tpt-product-page .pg-bm__tab-count { font-size: 12px; color: var(--tp-text-secondary) !important; }

.tpt-product-page .pg-bm__panel-wrap { position: relative; min-height: 480px; }
.tpt-product-page .pg-bm__panel {
  display: none; flex-direction: column; gap: 32px;
}
.tpt-product-page .pg-bm__panel--active { display: flex; }
.tpt-product-page .pg-bm__panel-head { padding-bottom: 8px; }
.tpt-product-page .pg-bm__panel-head h3 {
  font-size: 32px; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--pg-ink) !important; font-weight: 700; margin-bottom: 16px;
}
.tpt-product-page .pg-bm__panel-head p {
  font-size: 16px; line-height: 1.6; color: var(--tp-text-secondary) !important; max-width: 60ch;
}
.tpt-product-page .pg-bm__panel-meta {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tp-text-secondary) !important;
}
.tpt-product-page .pg-bm__panel-meta i { width: 14px; height: 14px; color: var(--tp-clinical-blue) !important; }

/* Marker mini-accordion */
.tpt-product-page .pg-mk { border-top: 1px solid var(--pg-hairline); }
.tpt-product-page .pg-mk__item { border-bottom: 1px solid var(--pg-hairline); }
.tpt-product-page .pg-mk__head {
  width: 100%; background: transparent !important; border: 0; cursor: pointer;
  font: inherit; text-align: left;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px;
  padding: 18px 4px; transition: background 120ms;
}
.tpt-product-page .pg-mk__head:hover { background: var(--pg-paper) !important; }
.tpt-product-page .pg-mk__name { font-size: 15px; font-weight: 600; color: var(--pg-ink) !important; }
.tpt-product-page .pg-mk__unit {
  font-size: 12px; color: var(--tp-text-secondary) !important; font-variant-numeric: tabular-nums;
  background: var(--pg-paper) !important; padding: 3px 8px; border-radius: 6px;
  border: 1px solid var(--pg-hairline);
}
.tpt-product-page .pg-mk__chev {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  color: var(--tp-text-secondary) !important; transition: transform 200ms;
}
.tpt-product-page .pg-mk__head[aria-expanded="true"] .pg-mk__chev {
  transform: rotate(180deg); color: var(--pg-ink) !important;
}
.tpt-product-page .pg-mk__chev i { width: 16px; height: 16px; }
.tpt-product-page .pg-mk__body {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 200ms ease;
}
.tpt-product-page .pg-mk__body--open { grid-template-rows: 1fr; }
.tpt-product-page .pg-mk__bodyInner { overflow: hidden; }
.tpt-product-page .pg-mk__desc {
  padding: 0 4px 20px;
  font-size: 14px; line-height: 1.6; color: var(--tp-text-secondary) !important; max-width: 64ch;
}

/* ── Who this test is for ───────────────────────────────── */
.tpt-product-page .pg-persona-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .tpt-product-page .pg-persona-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tpt-product-page .pg-persona-grid { grid-template-columns: 1fr; } }
.tpt-product-page .pg-persona {
  padding: 28px 24px 24px; border-radius: 16px; background: white !important;
  border: 1px solid var(--tp-border-grey);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 150ms;
}
.tpt-product-page .pg-persona:hover { border-color: var(--pg-ink) !important; }
.tpt-product-page .pg-persona__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--tp-info-soft) !important; color: var(--tp-clinical-blue) !important;
  display: flex; align-items: center; justify-content: center;
}
.tpt-product-page .pg-persona__icon i { width: 22px; height: 22px; }
.tpt-product-page .pg-persona h3 {
  font-size: 18px; font-weight: 600; color: var(--pg-ink) !important; letter-spacing: -0.01em;
}
.tpt-product-page .pg-persona p { font-size: 14px; line-height: 1.55; color: var(--tp-text-secondary) !important; }
.tpt-product-page .pg-persona__tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px;
}
.tpt-product-page .pg-persona__tag {
  font-size: 11px; font-weight: 500; color: var(--tp-text-secondary) !important;
  padding: 3px 8px; border-radius: 999px;
  background: var(--pg-paper) !important; border: 1px solid var(--pg-hairline);
}
.tpt-product-page .pg-notfor {
  margin-top: 40px; padding: 20px 24px;
  background: var(--pg-paper) !important; border: 1px solid var(--pg-hairline); border-radius: 12px;
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 14px; line-height: 1.5; color: var(--tp-text-secondary) !important;
}
.tpt-product-page .pg-notfor i { width: 18px; height: 18px; color: var(--tp-warning) !important; flex-shrink: 0; margin-top: 2px; }
.tpt-product-page .pg-notfor strong { color: var(--tp-text-primary) !important; display: block; margin-bottom: 4px; font-weight: 600; }

/* ── Test limitations ───────────────────────────────────── */
.tpt-product-page .pg-lim {
  display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: start;
}
@media (max-width: 900px) { .tpt-product-page .pg-lim { grid-template-columns: 1fr; gap: 32px; } }
.tpt-product-page .pg-lim__side h2 {
  font-size: 32px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--pg-ink) !important; font-weight: 700; margin-top: 16px; text-wrap: balance;
}
.tpt-product-page .pg-lim__statement {
  position: relative; padding-left: 24px; border-left: 2px solid var(--pg-mark-red);
}
.tpt-product-page .pg-lim__statement p {
  font-size: 20px; line-height: 1.6; color: var(--pg-ink) !important;
  letter-spacing: -0.005em; text-wrap: pretty; max-width: 64ch;
}
.tpt-product-page .pg-lim__foot {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--pg-hairline);
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tp-text-secondary) !important;
}
.tpt-product-page .pg-lim__foot i { width: 16px; height: 16px; color: var(--pg-mark-red) !important; }

/* ── How it works ───────────────────────────────────────── */
.tpt-product-page .pg-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--pg-hairline); border-radius: 16px; overflow: hidden; background: white !important;
}
@media (max-width: 900px) { .tpt-product-page .pg-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tpt-product-page .pg-steps { grid-template-columns: 1fr; } }
.tpt-product-page .pg-step {
  position: relative; padding: 32px 28px;
  border-right: 1px solid var(--pg-hairline);
  display: flex; flex-direction: column; gap: 14px; min-height: 240px;
}
.tpt-product-page .pg-step:last-child { border-right: 0; }
@media (max-width: 900px) {
  .tpt-product-page .pg-step:nth-child(2) { border-right: 0; }
  .tpt-product-page .pg-step:nth-child(1),
  .tpt-product-page .pg-step:nth-child(2) { border-bottom: 1px solid var(--pg-hairline); }
}
.tpt-product-page .pg-step__num {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--tp-clinical-blue) !important; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.tpt-product-page .pg-step__num::before {
  content: ""; width: 24px; height: 1px; background: var(--tp-clinical-blue) !important;
}
.tpt-product-page .pg-step__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--pg-paper) !important; border: 1px solid var(--pg-hairline);
  display: flex; align-items: center; justify-content: center; color: var(--pg-ink) !important;
  margin-top: auto;
}
.tpt-product-page .pg-step__icon i { width: 26px; height: 26px; }
.tpt-product-page .pg-step h3 { font-size: 18px; font-weight: 600; color: var(--pg-ink) !important; }
.tpt-product-page .pg-step p { font-size: 14px; line-height: 1.55; color: var(--tp-text-secondary) !important; }
.tpt-product-page .pg-step__time {
  position: absolute; top: 32px; right: 28px;
  font-size: 11px; font-weight: 500; color: var(--tp-text-secondary) !important;
  background: var(--pg-paper) !important; padding: 4px 10px; border-radius: 999px;
}

/* ── Collection method selector ─────────────────────────── */
.tpt-product-page .pg-collect {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px;
}
@media (max-width: 960px) { .tpt-product-page .pg-collect { grid-template-columns: 1fr; } }
.tpt-product-page .pg-collect__card {
  padding: 28px; border-radius: 16px; border: 1px solid var(--tp-border-grey);
  background: white !important; cursor: pointer;
  transition: border-color 150ms, background 150ms;
  display: flex; flex-direction: column; gap: 16px; text-align: left; font: inherit;
}
.tpt-product-page .pg-collect__card:hover { border-color: var(--tp-text-secondary) !important; }
.tpt-product-page .pg-collect__card--active {
  border-color: var(--pg-ink) !important; box-shadow: 0 0 0 1px var(--pg-ink);
}
.tpt-product-page .pg-collect__radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--tp-border-grey);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: white !important;
}
.tpt-product-page .pg-collect__card--active .pg-collect__radio { border-color: var(--pg-ink) !important; }
.tpt-product-page .pg-collect__card--active .pg-collect__radio::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pg-ink) !important;
}
.tpt-product-page .pg-collect__head { display: flex; gap: 16px; align-items: flex-start; }
.tpt-product-page .pg-collect__head h3 { font-size: 18px; font-weight: 600; color: var(--pg-ink) !important; }
.tpt-product-page .pg-collect__head p { font-size: 13px; color: var(--tp-text-secondary) !important; margin-top: 4px; }
.tpt-product-page .pg-collect__price {
  margin-left: auto; font-size: 15px; font-weight: 600; color: var(--pg-ink) !important;
}
.tpt-product-page .pg-collect__price small { font-size: 11px; color: var(--tp-text-secondary) !important; font-weight: 500; }
.tpt-product-page .pg-collect__features {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 16px; border-top: 1px solid var(--pg-hairline); font-size: 13px;
}
.tpt-product-page .pg-collect__feat { display: flex; gap: 10px; color: var(--tp-text-secondary) !important; }
.tpt-product-page .pg-collect__feat i { width: 14px; height: 14px; color: var(--tp-success) !important; flex-shrink: 0; margin-top: 2px; }
.tpt-product-page .pg-collect__detail {
  background: var(--pg-paper) !important; border: 1px solid var(--pg-hairline); border-radius: 16px;
  padding: 28px 32px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.tpt-product-page .pg-collect__detail[hidden] { display: none !important; }
@media (max-width: 720px) { .tpt-product-page .pg-collect__detail { grid-template-columns: 1fr; gap: 20px; } }
.tpt-product-page .pg-collect__detail h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tp-text-secondary) !important; margin-bottom: 12px;
}
.tpt-product-page .pg-collect__detail p { font-size: 14px; color: var(--tp-text-primary) !important; line-height: 1.5; }
.tpt-product-page .pg-collect__detail strong {
  display: block; font-weight: 600; font-size: 16px; color: var(--pg-ink) !important; margin-bottom: 2px;
}

/* ── Trust signals ──────────────────────────────────────── */
.tpt-product-page .pg-trust { background: var(--pg-ink) !important; }
.tpt-product-page .pg-trust-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 56px; align-items: start;
}
@media (max-width: 900px) { .tpt-product-page .pg-trust-grid { grid-template-columns: 1fr; gap: 40px; } }
.tpt-product-page .pg-trust h2 {
  color: white !important; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
}
.tpt-product-page .pg-trust p { color: rgba(255,255,255,0.7) !important; font-size: 16px; line-height: 1.6; margin-top: 16px; }
.tpt-product-page .pg-accred {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.1) !important; border-radius: 12px; overflow: hidden;
}
.tpt-product-page .pg-accred__item {
  background: var(--pg-ink) !important; padding: 20px; display: flex; flex-direction: column; gap: 4px;
}
.tpt-product-page .pg-accred__logo {
  height: 32px; display: flex; align-items: center;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255,255,255,0.95) !important;
}
.tpt-product-page .pg-accred__name { font-size: 12px; color: rgba(255,255,255,0.6) !important; line-height: 1.3; }
.tpt-product-page .pg-trustnums { display: flex; flex-direction: column; gap: 24px; }
.tpt-product-page .pg-trustnum { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.tpt-product-page .pg-trustnum:last-child { border-bottom: 0; }
.tpt-product-page .pg-trustnum__num {
  font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: white !important; line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.tpt-product-page .pg-trustnum__num span { font-size: 18px; color: var(--tp-partner-teal) !important; }
.tpt-product-page .pg-trustnum__label { font-size: 13px; color: rgba(255,255,255,0.6) !important; margin-top: 6px; }

/* ── Results turnaround timeline ────────────────────────── */
.tpt-product-page .pg-timeline { position: relative; padding: 8px 0; }
.tpt-product-page .pg-timeline__rail {
  position: absolute; top: 26px; left: 0; right: 0; height: 2px; background: var(--pg-hairline) !important;
}
.tpt-product-page .pg-timeline__progress {
  position: absolute; top: 0; left: 0; bottom: 0; background: var(--tp-clinical-blue) !important; width: 50%;
}
.tpt-product-page .pg-timeline__grid {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 720px) {
  .tpt-product-page .pg-timeline__grid { grid-template-columns: 1fr; gap: 24px; }
  .tpt-product-page .pg-timeline__rail { display: none; }
}
.tpt-product-page .pg-tl { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tpt-product-page .pg-tl__dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: white !important; border: 2px solid var(--tp-border-grey);
  position: relative; z-index: 2; margin-left: 12px;
}
.tpt-product-page .pg-tl--done .pg-tl__dot { background: var(--tp-clinical-blue) !important; border-color: var(--tp-clinical-blue) !important; }
.tpt-product-page .pg-tl--current .pg-tl__dot {
  border-color: var(--tp-clinical-blue) !important; background: white !important;
  box-shadow: 0 0 0 4px rgba(11,31,58,0.18);
}
.tpt-product-page .pg-tl__when {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--tp-text-secondary) !important;
}
.tpt-product-page .pg-tl--done .pg-tl__when,
.tpt-product-page .pg-tl--current .pg-tl__when { color: var(--tp-clinical-blue) !important; }
.tpt-product-page .pg-tl__title { font-size: 15px; font-weight: 600; color: var(--pg-ink) !important; }
.tpt-product-page .pg-tl__desc { font-size: 13px; color: var(--tp-text-secondary) !important; line-height: 1.5; max-width: 200px; }
.tpt-product-page .pg-turnaround-cta {
  margin-top: 48px; padding: 20px 24px;
  background: var(--tp-info-soft) !important; border: 1px solid rgba(11,31,58,0.2); border-radius: 12px;
  display: flex; align-items: center; gap: 16px; color: var(--tp-clinical-blue) !important; font-size: 14px;
}
.tpt-product-page .pg-turnaround-cta i { width: 20px; height: 20px; flex-shrink: 0; }
.tpt-product-page .pg-turnaround-cta strong { color: var(--pg-ink) !important; font-weight: 600; }

/* ── Prep instructions ──────────────────────────────────── */
.tpt-product-page .pg-prep { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .tpt-product-page .pg-prep { grid-template-columns: 1fr; } }
.tpt-product-page .pg-prep__col h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tp-text-secondary) !important; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.tpt-product-page .pg-prep__col--do h3 { color: var(--tp-success) !important; }
.tpt-product-page .pg-prep__col--dont h3 { color: var(--tp-danger) !important; }
.tpt-product-page .pg-prep__col h3 i { width: 16px; height: 16px; }
.tpt-product-page .pg-prep__list { list-style: none; padding: 0; margin: 0; }
.tpt-product-page .pg-prep__list li {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--pg-hairline);
  font-size: 15px; line-height: 1.5; color: var(--tp-text-primary) !important;
}
.tpt-product-page .pg-prep__list li:last-child { border-bottom: 0; }
.tpt-product-page .pg-prep__list li i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.tpt-product-page .pg-prep__col--do li i { color: var(--tp-success) !important; }
.tpt-product-page .pg-prep__col--dont li i { color: var(--tp-danger) !important; }
.tpt-product-page .pg-prep__list li strong { display: block; font-weight: 600; color: var(--pg-ink) !important; margin-bottom: 2px; }
.tpt-product-page .pg-prep__list li span { color: var(--tp-text-secondary) !important; font-size: 13px; }

/* ── FAQ (styled, wraps trupoint_product_faqs shortcode) ── */
.tpt-product-page .pg-faq-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start;
}
@media (max-width: 900px) { .tpt-product-page .pg-faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.tpt-product-page .pg-faq__side { position: sticky; top: 88px; }
.tpt-product-page .pg-faq__side h2 {
  font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; color: var(--pg-ink) !important;
}
.tpt-product-page .pg-faq__side p {
  font-size: 16px; color: var(--tp-text-secondary) !important; margin-top: 16px; line-height: 1.6;
}
.tpt-product-page .pg-faq__contact {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; color: var(--tp-clinical-blue) !important; font-weight: 600; font-size: 14px;
}
.tpt-product-page .pg-faq__contact i { width: 16px; height: 16px; }
/* Override product-faqs shortcode styles to match premium design */
.tpt-product-page .product-faqs { margin: 0; }
.tpt-product-page .product-faqs h2 { display: none; }
.tpt-product-page .product-faqs__items { border-top: 1px solid var(--pg-hairline); }
.tpt-product-page .product-faqs__item { border-bottom: 1px solid var(--pg-hairline); }
.tpt-product-page .product-faqs__question {
  padding: 20px 44px 20px 0; font-size: 16px; font-weight: 600; color: var(--pg-ink) !important;
}
.tpt-product-page .product-faqs__question:hover { color: var(--tp-clinical-blue) !important; }
.tpt-product-page .product-faqs__answer { color: var(--tp-text-secondary) !important; font-size: 15px; }

/* ── Sticky buy bar ─────────────────────────────────────── */
.tpt-product-page .pg-stickybuy {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--pg-hairline);
  padding: 12px 16px; z-index: 40;
  transform: translateY(100%); transition: transform 220ms ease;
}
.tpt-product-page .pg-stickybuy--visible { transform: translateY(0); }
.tpt-product-page .pg-stickybuy__inner {
  max-width: var(--pg-max); margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
}
.tpt-product-page .pg-stickybuy__title { font-weight: 600; font-size: 14px; color: var(--pg-ink) !important; line-height: 1.2; }
.tpt-product-page .pg-stickybuy__price { font-size: 12px; color: var(--tp-text-secondary) !important; }
.tpt-product-page .pg-stickybuy__cta {
  margin-left: auto;
  background: var(--pg-ink) !important; color: white !important; border: 0;
  padding: 12px 20px; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}
.tpt-product-page .pg-stickybuy__cta:hover { background: #0a1a30 !important; }

/* ── Footer ─────────────────────────────────────────────── */
.tpt-product-page .pg-footer {
  border-top: 1px solid var(--pg-hairline); padding: 48px 0 64px;
  font-size: 13px; color: var(--tp-text-secondary) !important;
}
.tpt-product-page .pg-footer__inner {
  max-width: var(--pg-max); margin: 0 auto; padding: 0 var(--pg-gutter);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.tpt-product-page .pg-footer a {
  color: var(--tp-text-secondary) !important; margin-right: 20px; text-decoration: none;
}
.tpt-product-page .pg-footer a:hover { color: var(--pg-ink) !important; }

/* ── Panel builder integration overrides ────────────────── */
.tpt-product-page .tpb-panel-builder {
  margin: 20px 0;
  font-family: var(--tp-font-sans);
  color: var(--tp-text-primary) !important;
  border: 1px solid var(--tp-border-grey);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}
.tpt-product-page .tpb-panel-builder h2 {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pg-ink) !important;
  background: var(--pg-paper) !important;
  border-bottom: 1px solid var(--pg-hairline);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tpt-product-page .tpb-panel-builder__groups { padding: 8px 16px; gap: 0; display: flex; flex-direction: column; }
.tpt-product-page .tpb-panel-builder__group { border-top: 1px solid var(--pg-hairline); border-bottom: 0; }
.tpt-product-page .tpb-panel-builder__group:last-child { border-bottom: 0; }
.tpt-product-page .tpb-panel-builder__group summary { font-size: 14px; font-weight: 600; padding: 12px 0; }
.tpt-product-page .tpb-panel-builder__grid { grid-template-columns: 1fr; padding-bottom: 8px; }
@media (min-width: 640px) {
  .tpt-product-page .tpb-panel-builder__grid { grid-template-columns: repeat(2, 1fr); }
}
.tpt-product-page .tpb-marker {
  border-radius: 8px; border-color: var(--tp-border-grey) !important; min-height: 72px; gap: 8px;
}
.tpt-product-page .tpb-marker__badge {
  border-radius: 999px; font-size: 11px; background: var(--tp-info-soft) !important;
  border-color: var(--tp-clinical-blue) !important; color: var(--tp-clinical-blue) !important;
}
.tpt-product-page .tpb-panel-builder__summary {
  margin-top: 0; padding: 12px 16px;
  background: var(--pg-paper) !important; border-top: 1px solid var(--pg-hairline);
  font-weight: 600; font-size: 14px; color: var(--pg-ink) !important;
}
.tpt-product-page .tpb-panel-builder__notice {
  margin: 0 16px 12px; border-radius: 8px;
}

/* ── WooCommerce add-to-cart form resets ────────────────── */
.tpt-product-page .pg-wc-form { display: contents; }
.tpt-product-page .pg-wc-form .quantity,
.tpt-product-page .pg-wc-form .single_add_to_cart_button { display: none !important; }

/* ════════════════════════════════════════════════════════════
   SPECIFICITY HAMMER — wins over any theme rule
   Uses body prefix + doubled class for maximum specificity.
   ════════════════════════════════════════════════════════════ */
body .tpt-product-page.tpt-product-page button,
body .tpt-product-page.tpt-product-page .button,
body .tpt-product-page.tpt-product-page input[type="button"],
body .tpt-product-page.tpt-product-page input[type="submit"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: inherit !important;
  border: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Primary CTA — solid teal */
body .tpt-product-page.tpt-product-page .pg-cta,
body .tpt-product-page.tpt-product-page .pg-stickybuy__cta {
  background: #164654 !important;
  background-color: #164654 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 0 !important;
}
body .tpt-product-page.tpt-product-page .pg-cta:hover,
body .tpt-product-page.tpt-product-page .pg-stickybuy__cta:hover {
  background: #0e2f38 !important;
  background-color: #0e2f38 !important;
  color: #ffffff !important;
}
body .tpt-product-page.tpt-product-page .pg-cta svg,
body .tpt-product-page.tpt-product-page .pg-stickybuy__cta svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Inactive pill / tab / card buttons — white background */
body .tpt-product-page.tpt-product-page .pg-segmented__btn,
body .tpt-product-page.tpt-product-page .pg-qty__btn,
body .tpt-product-page.tpt-product-page .pg-bm__tab,
body .tpt-product-page.tpt-product-page .pg-gallery__thumb,
body .tpt-product-page.tpt-product-page .pg-collect__card,
body .tpt-product-page.tpt-product-page .pg-mk {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0B1F3A !important;
  border: 1px solid #ECEFF3 !important;
}

/* Active state — solid teal */
body .tpt-product-page.tpt-product-page .pg-segmented__btn--active,
body .tpt-product-page.tpt-product-page .pg-bm__tab--active,
body .tpt-product-page.tpt-product-page .pg-collect__card--active {
  background: #164654 !important;
  background-color: #164654 !important;
  color: #ffffff !important;
  border-color: #0B1F3A !important;
}
body .tpt-product-page.tpt-product-page .pg-segmented__btn--active *,
body .tpt-product-page.tpt-product-page .pg-bm__tab--active *,
body .tpt-product-page.tpt-product-page .pg-collect__card--active * {
  color: #ffffff !important;
}

/* Marker accordion headers — white */
body .tpt-product-page.tpt-product-page .pg-mk__head {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0B1F3A !important;
  border: 0 !important;
}
body .tpt-product-page.tpt-product-page .pg-mk__body {
  background: #FAFBFD !important;
  background-color: #FAFBFD !important;
  color: #374151 !important;
}

/* Quantity stepper buttons */
body .tpt-product-page.tpt-product-page .pg-qty__btn {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0B1F3A !important;
  border: 1px solid #ECEFF3 !important;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
}
body .tpt-product-page.tpt-product-page .pg-qty__btn:hover {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
}

/* Section backgrounds — defensive whites */
body .tpt-product-page.tpt-product-page .pg-section,
body .tpt-product-page.tpt-product-page .pg-hero {
  background: #ffffff !important;
}
body .tpt-product-page.tpt-product-page .pg-section--paper {
  background: #FAFBFD !important;
}

/* Body text colour resets */
body .tpt-product-page.tpt-product-page,
body .tpt-product-page.tpt-product-page p,
body .tpt-product-page.tpt-product-page span,
body .tpt-product-page.tpt-product-page li,
body .tpt-product-page.tpt-product-page div {
  color: #111827;
}
body .tpt-product-page.tpt-product-page h1,
body .tpt-product-page.tpt-product-page h2,
body .tpt-product-page.tpt-product-page h3,
body .tpt-product-page.tpt-product-page h4 {
  color: #0B1F3A !important;
}

/* Accent svg colours */
body .tpt-product-page.tpt-product-page .pg-persona__icon svg,
body .tpt-product-page.tpt-product-page .pg-step__icon svg,
body .tpt-product-page.tpt-product-page .pg-assurance svg {
  color: #0B1F3A !important;
  stroke: #0B1F3A !important;
}

/* ── Stats banner: adapt to any number of items ──────────── */
body .tpt-product-page.tpt-product-page .pg-marker-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}

/* ── Why Trupoint eyebrow — red accent ──────────────────── */
body .tpt-product-page.tpt-product-page #section-trust .pg-eyebrow {
  color: #DD1A21 !important;
}
body .tpt-product-page.tpt-product-page #section-trust .pg-eyebrow__dot {
  background: #DD1A21 !important;
  background-color: #DD1A21 !important;
}

/* ════════════════════════════════════════════════════════════
   PRODUCT DESCRIPTION SECTION (editorial)
   ════════════════════════════════════════════════════════════ */
body .tpt-product-page.tpt-product-page #section-description {
  background: var(--pg-paper) !important;
  padding: 80px 0;
}

body .tpt-product-page.tpt-product-page .pg-desc {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--pg-hairline);
}
@media (max-width: 900px) {
  body .tpt-product-page.tpt-product-page .pg-desc { grid-template-columns: 1fr; gap: 24px; }
}

body .tpt-product-page.tpt-product-page .pg-desc__head {
  position: sticky;
  top: 88px;
}
@media (max-width: 900px) {
  body .tpt-product-page.tpt-product-page .pg-desc__head { position: static; }
}
body .tpt-product-page.tpt-product-page .pg-desc__head-img {
  margin-top: 24px;
  border-radius: 14px;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #eee;
}
body .tpt-product-page.tpt-product-page .pg-desc__headline {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--pg-ink) !important;
  font-weight: 700;
  margin-top: 16px;
  text-wrap: balance;
}
@media (max-width: 900px) {
  body .tpt-product-page.tpt-product-page .pg-desc__headline { font-size: 32px; }
}

body .tpt-product-page.tpt-product-page .pg-desc__body {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 64ch;
}
body .tpt-product-page.tpt-product-page .pg-desc__lede {
  font-size: 21px;
  line-height: 1.5;
  color: var(--pg-ink) !important;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  font-weight: 500;
}
body .tpt-product-page.tpt-product-page .pg-desc__para {
  font-size: 16px;
  line-height: 1.7;
  color: var(--tp-text-secondary) !important;
  text-wrap: pretty;
}
body .tpt-product-page.tpt-product-page .pg-desc__sig {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--pg-hairline);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--tp-text-secondary) !important;
}
body .tpt-product-page.tpt-product-page .pg-desc__sig svg { width: 16px; height: 16px; color: var(--tp-clinical-blue) !important; stroke: var(--tp-clinical-blue) !important; }
body .tpt-product-page.tpt-product-page .pg-desc__sig strong { color: var(--tp-text-primary) !important; font-weight: 600; }


/* ════════════════════════════════════════════════════════════
   BIOMARKER SECTION RESTYLE (matches new design)
   - White tabs + hairlines, dark-teal #164654 accents
   - Right-edge accent strip on active tab
   - Soft-tinted "CATEGORY · X MARKERS" pill
   - Flat white accordion rows with unit pill + chevron
   ════════════════════════════════════════════════════════════ */

/* Tabs container */
body .tpt-product-page.tpt-product-page .pg-bm__tabs {
  background: #ffffff !important;
  border: 1px solid var(--pg-hairline) !important;
  border-radius: 14px;
  overflow: hidden;
}

/* Each tab */
body .tpt-product-page.tpt-product-page .pg-bm__tab {
  position: relative;
  display: grid !important;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 22px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--pg-ink) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pg-hairline) !important;
  border-radius: 0 !important;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
body .tpt-product-page.tpt-product-page .pg-bm__tab:last-child {
  border-bottom: 0 !important;
}
body .tpt-product-page.tpt-product-page .pg-bm__tab:hover {
  background: var(--tp-soft-grey-bg) !important;
  background-color: var(--tp-soft-grey-bg) !important;
}

/* Number on left */
body .tpt-product-page.tpt-product-page .pg-bm__tab-num {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--tp-text-secondary) !important;
}

/* Title */
body .tpt-product-page.tpt-product-page .pg-bm__tab-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--pg-ink) !important;
  letter-spacing: -0.005em;
}

/* Count on right */
body .tpt-product-page.tpt-product-page .pg-bm__tab-count {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--tp-text-secondary) !important;
  font-weight: 500;
}

/* Active tab — number teal, title bold, right-edge accent */
body .tpt-product-page.tpt-product-page .pg-bm__tab--active,
body .tpt-product-page.tpt-product-page .pg-bm__tab[aria-selected="true"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--pg-ink) !important;
  border-color: var(--pg-hairline) !important;
}
body .tpt-product-page.tpt-product-page .pg-bm__tab--active .pg-bm__tab-num,
body .tpt-product-page.tpt-product-page .pg-bm__tab[aria-selected="true"] .pg-bm__tab-num {
  color: var(--bm-accent) !important;
  font-weight: 700;
}
body .tpt-product-page.tpt-product-page .pg-bm__tab--active .pg-bm__tab-title,
body .tpt-product-page.tpt-product-page .pg-bm__tab[aria-selected="true"] .pg-bm__tab-title {
  font-weight: 700;
}
body .tpt-product-page.tpt-product-page .pg-bm__tab--active::after,
body .tpt-product-page.tpt-product-page .pg-bm__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 3px;
  background: var(--bm-accent) !important;
}

/* Panel meta pill */
body .tpt-product-page.tpt-product-page .pg-bm__panel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bm-accent-soft) !important;
  background-color: var(--bm-accent-soft) !important;
  color: var(--bm-accent) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
body .tpt-product-page.tpt-product-page .pg-bm__panel-pill svg {
  width: 14px;
  height: 14px;
  color: var(--bm-accent) !important;
  stroke: var(--bm-accent) !important;
}

/* Panel head heading + description — already inherits but reinforce */
body .tpt-product-page.tpt-product-page .pg-bm__panel-head h3 {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: var(--pg-ink) !important;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0 !important;
}
body .tpt-product-page.tpt-product-page .pg-bm__panel-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tp-text-secondary) !important;
  max-width: 64ch;
  margin: 0 0 32px 0 !important;
}

/* Marker accordion — flat white rows */
body .tpt-product-page.tpt-product-page .pg-mk {
  border-top: 1px solid var(--pg-hairline) !important;
}
body .tpt-product-page.tpt-product-page .pg-mk__item {
  border-bottom: 1px solid var(--pg-hairline) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}
body .tpt-product-page.tpt-product-page .pg-mk__head {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 20px 4px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--pg-ink) !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: left;
  cursor: pointer;
}
body .tpt-product-page.tpt-product-page .pg-mk__head:hover {
  background: var(--tp-soft-grey-bg) !important;
  background-color: var(--tp-soft-grey-bg) !important;
}
body .tpt-product-page.tpt-product-page .pg-mk__name {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--pg-ink) !important;
  letter-spacing: -0.005em;
}
body .tpt-product-page.tpt-product-page .pg-mk__unit {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tp-soft-grey-bg) !important;
  background-color: var(--tp-soft-grey-bg) !important;
  color: var(--tp-text-secondary) !important;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
}
body .tpt-product-page.tpt-product-page .pg-mk__chev {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--tp-text-secondary) !important;
  transition: transform 0.2s ease;
}
body .tpt-product-page.tpt-product-page .pg-mk__chev svg {
  width: 20px;
  height: 20px;
  color: var(--tp-text-secondary) !important;
  stroke: var(--tp-text-secondary) !important;
}
body .tpt-product-page.tpt-product-page .pg-mk__head[aria-expanded="true"] .pg-mk__chev {
  transform: rotate(180deg);
}
body .tpt-product-page.tpt-product-page .pg-mk__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
body .tpt-product-page.tpt-product-page .pg-mk__body--open {
  max-height: 400px;
}
body .tpt-product-page.tpt-product-page .pg-mk__bodyInner {
  padding: 0 4px 20px 4px;
}
body .tpt-product-page.tpt-product-page .pg-mk__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tp-text-secondary) !important;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   DESCRIPTION SECTION — WC short = bold intro, WC long = body
   ════════════════════════════════════════════════════════════ */
body .tpt-product-page.tpt-product-page .pg-desc__lede,
body .tpt-product-page.tpt-product-page .pg-desc__lede p {
  font-size: 21px;
  line-height: 1.5;
  color: var(--pg-ink) !important;
  letter-spacing: -0.005em;
  font-weight: 500;
  margin: 0 0 20px 0;
}

body .tpt-product-page.tpt-product-page .pg-desc__body-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--tp-text-secondary) !important;
  margin: 0 0 16px 0;
}
body .tpt-product-page.tpt-product-page .pg-desc__body-content h2,
body .tpt-product-page.tpt-product-page .pg-desc__body-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--pg-ink) !important;
  margin: 24px 0 12px 0;
  letter-spacing: -0.01em;
}
body .tpt-product-page.tpt-product-page .pg-desc__body-content ul,
body .tpt-product-page.tpt-product-page .pg-desc__body-content ol {
  padding-left: 22px;
  color: var(--tp-text-primary) !important;
  margin: 0 0 16px 0;
}
body .tpt-product-page.tpt-product-page .pg-desc__body-content li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tp-text-primary) !important;
  margin-bottom: 6px;
}
body .tpt-product-page.tpt-product-page .pg-desc__body-content a {
  color: var(--pg-ink) !important;
  text-decoration: underline;
}

/* Hide the old standalone headline (kept in DOM in case used elsewhere) */
body .tpt-product-page.tpt-product-page .pg-desc__headline:empty {
  display: none;
}
