/* ======================================================
   PDP REDESIGN v2 — matches index page design system
   Uses index page color tokens: teal (#0c8b82), navy (#0b1523), blue (#1a8cba)
====================================================== */

:root {
  --pdp-blue:      #1a8cba;
  --pdp-blue-dark: #0d7a9e;
  --pdp-blue-tint: #e6f4f1;
  --pdp-blue-navy: #0b1523;
  --pdp-teal:      #0c8b82;
  --pdp-teal-tint: #e6f4f1;
  --pdp-green:     #2ecc71;
  --pdp-green-tint:#e8f9ef;
  --pdp-purple:    #5b21b6;
  --pdp-purple-hover:#4c1d95;
}

/* ---------- Breadcrumb (legacy — hidden by hero) ---------- */
.pdp-breadcrumb-bar { display: none; }
.pdp-bc-current { color: var(--pdp-teal); }

/* ======================================================
   PDP HERO BANNER
====================================================== */
.pdp-hero {
  background: linear-gradient(120deg, var(--pdp-blue-navy) 60%, #13253d 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.pdp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/peptides_banner.png') center/cover no-repeat;
  opacity: 0.16;
}
.pdp-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 280px;
  padding: 50px 0;
  position: relative;
  z-index: 1;
}
.pdp-hero-left { flex: 0 0 60%; max-width: 60%; }
.pdp-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-family: var(--font-main);
}
.pdp-hero-breadcrumb a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.pdp-hero-breadcrumb a:hover { color: #fff; }
.pdp-hero-bc-sep { color: rgba(255,255,255,0.35); font-size: 10px; }
.pdp-hero-bc-current { color: var(--pdp-teal); font-weight: 600; }
.pdp-hero-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--pdp-teal);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
}
.pdp-hero-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.pdp-hero-title span { color: var(--pdp-teal); }
.pdp-hero-sub {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 24px;
  font-family: var(--font-main);
}
.pdp-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pdp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  font-family: var(--font-main);
}
.pdp-hero-badge i { color: var(--pdp-teal); font-size: 11px; }
.pdp-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-hero-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 28px 40px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.pdp-hero-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 900;
  color: var(--pdp-teal);
  line-height: 1;
  letter-spacing: -1px;
}
.pdp-hero-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-top: 6px;
  font-family: var(--font-main);
}



/* ---------- Gallery: thumbnails below main image ---------- */
.pdp-gallery-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 24px;
}
.pdp-gallery-v2 .pdp-img-main-wrap { flex: 1; margin: 0; }
.pdp-gallery-v2 .pdp-thumbnails-col {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
}
.pdp-gallery-v2 .pdp-thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}
.pdp-gallery-v2 .pdp-thumb-nav { display: none; }


/* ---------- Trust chips above title ---------- */
.pdp-trustchip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.pdp-trustchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--pdp-teal);
  background: var(--pdp-teal-tint);
  border: 1px solid rgba(12,139,130,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  font-family: var(--font-main);
}
.pdp-trustchip i { font-size: 10px; }
.pdp-trustchip.is-plain {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}

/* ---------- Rating + verified pill ---------- */
.pdp-rating-row-v2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdp-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pdp-teal);
  background: var(--pdp-teal-tint);
  border-radius: 20px;
  padding: 4px 11px;
  font-family: var(--font-main);
}
.pdp-verified-pill i { font-size: 11px; color: var(--pdp-teal); }

/* ---------- Price row ---------- */
.pdp-price-row-v2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price-v2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
}
.pdp-price-was { font-size: 16px; color: var(--text-muted); text-decoration: line-through; font-weight: 600; }
.pdp-save-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--pdp-teal);
  background: var(--pdp-teal-tint);
  padding: 4px 10px;
  border-radius: 14px;
}
.pdp-paypal-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: -4px;
  font-family: var(--font-main);
}
.pdp-paypal-note a { color: var(--pdp-teal); font-weight: 700; text-decoration: underline; }

/* ---------- Buy More & Save More ---------- */
.pdp-bulk-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--light-bg);
}
.pdp-bulk-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pdp-bulk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pdp-bulk-tier {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 10px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pdp-bulk-tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pdp-bulk-tier-active { border-color: var(--pdp-purple) !important; box-shadow: 0 0 0 2px rgba(91,33,182,0.18); }
.pdp-bulk-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  padding: 3px 9px;
  border-radius: 10px;
  white-space: nowrap;
  text-transform: uppercase;
}
.pdp-bulk-tag-popular { background: var(--pdp-purple); }
.pdp-bulk-tag-best { background: var(--pdp-blue); }
.pdp-bulk-qty { font-size: 13.5px; font-weight: 700; color: var(--text-dark); margin-top: 2px; }
.pdp-bulk-save { font-size: 11px; color: #15803d; font-weight: 700; margin-top: 3px; }
.pdp-bulk-each { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.pdp-buy-row-v2 { display: flex; align-items: stretch; gap: 12px; }
.pdp-buy-row-v2 .pdp-qty-ctrl { flex-shrink: 0; }
.pdp-btn-basket {
  flex: 1;
  padding: 15px 24px;
  background: var(--pdp-purple);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition), transform var(--transition);
}
.pdp-btn-basket:hover { background: var(--pdp-purple-hover); transform: translateY(-2px); }

/* ---------- Feature icon strip ---------- */
.pdp-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pdp-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-body);
  padding: 10px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
}
.pdp-feature-item i { font-size: 17px; color: var(--pdp-teal); }

/* ---------- Quality guarantee box ---------- */
.pdp-guarantee-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--pdp-teal-tint);
  border: 1px solid rgba(12,139,130,0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.pdp-guarantee-box i { font-size: 18px; color: var(--pdp-teal); margin-top: 2px; }
.pdp-guarantee-box strong { display: block; font-size: 13.5px; color: var(--text-dark); margin-bottom: 2px; font-family: var(--font-head); }
.pdp-guarantee-box p { font-size: 12.5px; color: var(--text-body); margin: 0; line-height: 1.6; font-family: var(--font-main); }

/* ---------- Trust bar v2 (dark) ---------- */
.pdp-trust-bar-v2 {
  background: linear-gradient(90deg, var(--pdp-blue-navy), #12233a);
  padding: 30px 0;
}
.pdp-trust-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pdp-trust-item-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.pdp-trust-icon-v2 {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pdp-teal);
  font-size: 17px;
  flex-shrink: 0;
}
.pdp-trust-text-v2 strong { display: block; font-size: 16px; color: #fff; font-family: var(--font-head); }
.pdp-trust-text-v2 span { font-size: 12px; color: #b8c4d6; font-family: var(--font-main); }

/* ---------- Tabs v2 ---------- */
.pdp-tabs-section {
  padding: 48px 0;
  background: var(--light-bg);
}
.pdp-tabs-section .container-fluid {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 32px rgba(0,0,0,0.07);
  padding: 32px 40px;
}
.pdp-tab-nav-v2 {
  display: flex;
  gap: 6px;
  border-bottom: 1.5px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 8px;
}
.pdp-tab-nav-v2::-webkit-scrollbar { display: none; }
.pdp-tab-nav-v2 .pdp-tab-btn {
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-main);
}
.pdp-tab-nav-v2 .pdp-tab-btn.pdp-tab-active {
  color: var(--pdp-teal);
  border-bottom-color: var(--pdp-teal);
  background: transparent;
}
.pdp-tab-nav-v2 .pdp-tab-btn:hover { color: var(--pdp-teal); background: var(--pdp-teal-tint); }

/* ---------- Specs sidebar card ---------- */
.pdp-spec-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--white);
}
.pdp-spec-card table { width: 100%; border-collapse: collapse; }
.pdp-spec-card td { padding: 9px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); font-family: var(--font-main); }
.pdp-spec-card tr:last-child td { border-bottom: none; }
.pdp-spec-card .pdp-spec-key { color: var(--text-muted); font-weight: 600; width: 44%; text-align: center;}
.pdp-spec-card .pdp-spec-val { color: var(--text-dark); font-weight: 700; text-align: center; }
.pdp-spec-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border: 1.5px solid var(--pdp-purple);
  color: var(--pdp-purple);
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: all var(--transition);
  font-family: var(--font-main);
}
.pdp-spec-view-btn:hover { background: var(--pdp-purple); color: #fff; }

/* ---------- Research disclaimer ---------- */
.pdp-disclaimer-box {
  display: flex;
  gap: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.pdp-disclaimer-box i { font-size: 20px; color: #c2410c; margin-top: 2px; }
.pdp-disclaimer-box strong { display: block; color: #9a3412; font-size: 14.5px; margin-bottom: 4px; }
.pdp-disclaimer-box p { font-size: 13.5px; color: #7c2d12; line-height: 1.7; margin: 0; }

/* ---------- FAQ v2 (standalone, 2-column) ---------- */
.pdp-faq-section-v2 { padding: 48px 0; background: var(--light-bg); }
.pdp-faq-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
@media (max-width: 900px) { .pdp-faq-grid-v2 { grid-template-columns: 1fr; } }

/* FAQ item colors to match index */
.pdp-faq-item { background: var(--white); border-radius: var(--radius-md); }
.pdp-faq-q { font-family: var(--font-main); color: var(--text-dark); }
.pdp-faq-q i { color: var(--pdp-teal); }

/* ---------- Researchers Also Purchase cards ---------- */
.pdp-rc-rating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); margin: 4px 0; }
.pdp-rc-rating .pdp-stars { font-size: 11px; color: var(--pdp-teal); }
.pdp-rc-btn-v2 {
  width: 100%;
  padding: 9px;
  background: var(--pdp-purple);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background var(--transition);
  font-family: var(--font-main);
}
.pdp-rc-btn-v2:hover { background: var(--pdp-purple-hover); }

/* ---------- Newsletter section ---------- */
.pdp-newsletter-section {
  margin-bottom: 0px;
  background: var(--light-bg) !important;
  padding: 48px 0 !important;
}
.pdp-nl-inner {
  background: linear-gradient(120deg, var(--pdp-blue-navy) 60%, #13253d 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pdp-nl-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}
.pdp-nl-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 360px;
  font-family: var(--font-main);
}
.pdp-nl-form-wrap { flex-shrink: 0; min-width: 280px; }
.pdp-nl-form {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.pdp-nl-input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  font-family: var(--font-main);
  background: rgba(255,255,255,0.07);
  color: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.pdp-nl-input::placeholder { color: rgba(255,255,255,0.4); }
.pdp-nl-input:focus { border-color: var(--pdp-teal); }
.pdp-nl-btn {
  padding: 13px 22px;
  background: var(--pdp-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-main);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition);
}
.pdp-nl-btn:hover { background: var(--pdp-purple-hover); }
.pdp-nl-note {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
}

/* ---------- Footer CTA (why researchers choose us) ---------- */
.pdp-why-section {
  background: linear-gradient(120deg, var(--pdp-blue-navy), #13253d);
  padding: 50px 0;
  text-align: center;
  margin-bottom:0px;
}
.pdp-why-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pdp-teal);
  margin-bottom: 10px;
  font-family: var(--font-main);
}
.pdp-why-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  max-width: 640px;
  margin: 0 auto 22px;
  line-height: 1.3;
}
.pdp-why-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pdp-purple);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font-main);
}
.pdp-why-btn:hover { background: var(--pdp-purple-hover); color: #fff; transform: translateY(-2px); }
.pdp-why-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.pdp-why-feature { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); }
.pdp-why-feature i { font-size: 20px; color: var(--pdp-teal); }
.pdp-why-feature span { font-size: 12.5px; color: #cbd5e1; font-weight: 600; font-family: var(--font-main); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .pdp-bulk-grid { grid-template-columns: 1fr; }
  .pdp-feature-strip { grid-template-columns: repeat(2, 1fr); }
  .pdp-trust-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .pdp-why-features { grid-template-columns: repeat(2, 1fr); }
  .pdp-tabs-section .container-fluid { padding: 24px 20px; }
  .pdp-hero-left { flex: 0 0 100%; max-width: 100%; }
  .pdp-hero-right { display: none; }
  .pdp-nl-inner { flex-direction: column; text-align: center; }
  .pdp-nl-form { flex-direction: column; }
}
@media (max-width: 640px) {
  .pdp-gallery-v2 { flex-direction: column; }
  .pdp-gallery-v2 .pdp-thumbnails-col { flex-direction: row; width: 100%; }
  .pdp-buy-row-v2 { flex-direction: column; }
  .pdp-hero-badges { gap: 6px; }
  .pdp-hero-badge { font-size: 11px; padding: 5px 10px; }
}

/* ======================================================
   PDP v3 PREMIUM REFINEMENTS
   - Description gets the width it deserves; specs become
     a sticky rail (no more 50/50 squeeze + dead space).
   - Real editorial typography inside tab content.
====================================================== */

/* Layout: content column wide, rail fixed */
.pdp-desc-grid {
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 56px;
  align-items: start;
}
.pdp-desc-rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Spec card title + tightened table */
.pdp-spec-card {
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
}
.pdp-spec-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.pdp-spec-card-title i { color: var(--primary); font-size: 13px; }
.pdp-spec-card .pdp-spec-key { text-align: left; font-weight: 500; }
.pdp-spec-card .pdp-spec-val { text-align: right; font-weight: 700; }

/* COA mini-card in the rail */
.pdp-coa-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f6f4ff 0%, #eef3ff 100%);
  border: 1px solid #ddd6f3;
  border-radius: var(--radius-md);
}
.pdp-coa-mini-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.pdp-coa-mini-text { flex: 1; min-width: 0; }
.pdp-coa-mini-text strong { display: block; font-size: 13px; color: var(--text-dark); }
.pdp-coa-mini-text span { font-size: 12px; color: var(--text-muted); }
.pdp-coa-mini-btn {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.pdp-coa-mini-btn:hover { background: var(--primary); color: #fff; }

/* Meta chips replacing the old rating row */
.pdp-meta-row-v3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.pdp-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.pdp-meta-chip-purity { color: #0c6b63; background: #e6f4f1; border-color: #bfe3dd; }
.pdp-meta-chip-purity i { color: #0c8b82; }
.pdp-batch-pill { background: #f0eeff; color: var(--primary); border: 1px solid #d6ccf5; }

/* Editorial typography for prose inside tabs */
.pdp-prose { font-size: 15.5px; line-height: 1.8; color: #3a3f52; }
.pdp-prose p { margin-bottom: 16px; }
.pdp-prose h2,
.pdp-prose h3 {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.3;
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}
.pdp-prose h2 { font-size: 22px; }
.pdp-prose h3 { font-size: 18px; }
.pdp-prose h2:first-child, .pdp-prose h3:first-child { margin-top: 0; }
.pdp-prose ul, .pdp-prose ol {
  margin: 0 0 18px;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp-prose ul li, .pdp-prose ol li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
}
.pdp-prose ul li::before {
  content: '\f058'; /* fa circle-check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary);
  font-size: 13px;
}
.pdp-prose ol { counter-reset: pa-ol; }
.pdp-prose ol li { counter-increment: pa-ol; }
.pdp-prose ol li::before {
  content: counter(pa-ol);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: #f0eeff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
}
.pdp-prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pdp-prose strong { color: var(--text-dark); }

/* Overview intro under the price keeps normal size */
.pdp-overview-intro { font-size: 14.5px; }

/* Responsive: rail stacks under content, card grid collapses */
@media (max-width: 1200px) {
  .pdp-desc-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
}
@media (max-width: 992px) {
  .pdp-desc-grid { grid-template-columns: 1fr; }
  .pdp-desc-rail { position: static; }
}

/* ======================================================
   BRAND UNIFICATION — retire the leftover teal accents so
   the PDP wears the storefront's purple identity (and stops
   reading like a different site). Semantic green (in-stock,
   purity) is intentionally left untouched.
====================================================== */
:root {
  --pdp-teal:       #6a3de8;
  --pdp-teal-tint:  #f0edfd;
  --pdp-blue:       #6a3de8;
  --pdp-blue-dark:  #5228d4;
  --pdp-blue-tint:  #f0edfd;
  --pdp-purple:     #6a3de8;
  --pdp-purple-hover:#5228d4;
}
/* Trust bar icons + related-card check read purple on their surfaces */
.pdp-trust-icon-v2 i { color: var(--primary); }
.pdp-related-card .pdp-rc-rating i { color: var(--primary) !important; }

/* ======================================================
   PDP v4 — description full-width, premium specs tab,
   COA card under the gallery image, clamped short desc.
====================================================== */

/* Description now spans the whole content column */
.pdp-desc-solo { max-width: 920px; }
.pdp-desc-solo .pdp-research-notice { margin-top: 24px; }

/* COA card under the product image */
.pdp-coa-under-img { margin-top: 14px; }
.pdp-gallery-v2 .pdp-coa-under-img { width: 100%; }

/* Short-description clamp (max 4 lines until expanded) */
.pdp-overview-wrap { margin-bottom: 4px; }
.pdp-overview-intro.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-overview-intro.is-clamped p:last-child { margin-bottom: 0; }
.pdp-overview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  font-family: var(--font-main);
}
.pdp-overview-toggle i { font-size: 10px; }

/* ---------- Specifications tab: table + highlight rail ---------- */
.pdp-specs-inner { max-width: 1080px; }
.pdp-specs-lede { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.7; }
.pdp-specs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}
.pdp-specs-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pdp-specs-table { width: 100%; border-collapse: collapse; font-family: var(--font-main); }
.pdp-specs-table tr { border-bottom: 1px solid var(--border); }
.pdp-specs-table tr:last-child { border-bottom: none; }
.pdp-specs-table tr:nth-child(even) { background: var(--light-bg); }
.pdp-specs-table th {
  text-align: left;
  width: 42%;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  vertical-align: top;
}
.pdp-specs-table td {
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}
.pdp-spec-mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 12.5px !important; letter-spacing: 0.01em; }
.pdp-spec-flag { display: inline-flex; align-items: center; gap: 6px; color: #0c8b82; }
.pdp-spec-flag i { font-size: 12px; }

.pdp-specs-rail { display: flex; flex-direction: column; gap: 16px; }
.pdp-specs-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pdp-specs-stat {
  padding: 18px 16px;
  text-align: center;
  background: linear-gradient(135deg, #f6f4ff 0%, #eef3ff 100%);
  border: 1px solid #e2dcf7;
  border-radius: var(--radius-md);
}
.pdp-specs-stat-val { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.15; }
.pdp-specs-stat-lbl { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.pdp-specs-formula {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}
.pdp-specs-formula-lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.pdp-specs-formula-val { font-size: 18px; font-weight: 800; color: var(--text-dark); font-family: var(--font-head); }
.pdp-specs-assurance { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px; }
.pdp-specs-assurance li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-body); }
.pdp-specs-assurance i { color: var(--primary); font-size: 13px; width: 16px; text-align: center; }
.pdp-specs-coa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  font-family: var(--font-main);
}
.pdp-specs-coa-btn:hover { background: var(--primary-dark); color: #fff; }

@media (max-width: 900px) {
  .pdp-specs-grid { grid-template-columns: 1fr; }
}

/* Imported prose data tables (spec/COA tables inside product descriptions) */
.pdp-prose .pa-prose-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  border: 1px solid var(--border, #e2e5ee);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.pdp-prose .pa-prose-table thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--dark-navy, #0b1523);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pdp-prose .pa-prose-table tbody td {
  padding: 11px 16px;
  border-top: 1px solid var(--border, #e2e5ee);
  color: var(--text-body, #444);
  vertical-align: top;
}
.pdp-prose .pa-prose-table tbody tr:nth-child(even) { background: var(--light-bg, #f8f9ff); }
.pdp-prose .pa-prose-table tbody td:first-child {
  font-weight: 700;
  color: var(--text-dark, #1a1a2e);
  width: 38%;
}
@media (max-width: 560px) {
  .pdp-prose .pa-prose-table { font-size: 13px; }
  .pdp-prose .pa-prose-table thead th, .pdp-prose .pa-prose-table tbody td { padding: 9px 11px; }
}

/* Full-width product description (no narrow column) + h3 sub-heading style */
.pdp-desc-solo { max-width: none; }
.pdp-prose h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark, #1a1a2e);
  margin: 22px 0 8px;
  padding-left: 12px;
  border-left: 3px solid #cdbef5;
  line-height: 1.35;
}
.pdp-prose h2 + h3 { margin-top: 14px; }
