/* ============================================================
   Rich product page (.pr) — deep technical layout built on top of
   the single-product .pd theme. Dark navy surfaces, gold accent used
   once per component. Loaded only on rich product pages + PTFE
   application sub-pages.
   ============================================================ */

.pr .pd-main { margin-bottom: var(--space-6); }

/* ---------- Jump nav ---------- */
.pr-jumpnav {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  padding: var(--space-3) 0; margin-bottom: var(--space-7);
  border-block: 1px solid var(--border-dark);
  position: sticky; top: var(--header-h, 116px); z-index: 20;
  background: var(--navy-900);
}
.pr-jumpnav a {
  font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  transition: background var(--duration-base), color var(--duration-base);
}
.pr-jumpnav a:hover { background: var(--navy-700); color: var(--gold); }

/* ---------- Section rhythm ---------- */
.pr-body { max-width: 900px; }
.pr-section { padding-block: var(--space-6); border-top: 1px solid var(--border-dark); }
.pr-section:first-child { border-top: 0; }
.pr-h2 { font-family: var(--font-heading); font-size: 26px; color: var(--white); margin-bottom: var(--space-4); scroll-margin-top: calc(var(--header-h, 116px) + 70px); }
.pr-h3 { font-family: var(--font-heading); font-size: 18px; color: var(--white); margin-bottom: var(--space-3); }
.pr-section p { color: rgba(255,255,255,0.72); font-size: 15.5px; line-height: 1.75; margin-bottom: var(--space-4); }
.pr-section p:last-child { margin-bottom: 0; }
.pr-section a { color: var(--gold); }
.pr-lead { color: rgba(255,255,255,0.6) !important; font-size: 15px !important; }
.pr-fineprint { font-size: 13.5px !important; color: rgba(255,255,255,0.5) !important; margin-top: var(--space-4) !important; }
.pr-section [id] { scroll-margin-top: calc(var(--header-h, 116px) + 70px); }
.pr-section { scroll-margin-top: calc(var(--header-h, 116px) + 70px); }

/* ---------- Tables (shared) ---------- */
.pr-table-wrap { overflow-x: auto; border: 1px solid var(--border-dark); border-radius: var(--radius-md); }
.pr-spec-table, .pr-dim-table, .pr-chem-table, .pr-compare-table {
  width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px;
}
.pr-spec-table th, .pr-spec-table td,
.pr-dim-table th, .pr-dim-table td,
.pr-chem-table th, .pr-chem-table td,
.pr-compare-table th, .pr-compare-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-dark); vertical-align: top;
}
.pr-spec-table thead th, .pr-dim-table thead th, .pr-chem-table thead th, .pr-compare-table thead th {
  background: var(--navy-700); color: var(--white); font-weight: 600; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap;
}
.pr-spec-table tbody th, .pr-dim-table tbody th, .pr-chem-table tbody th, .pr-compare-table tbody th {
  color: var(--white); font-weight: 600;
}
.pr-spec-table tbody td, .pr-dim-table tbody td, .pr-compare-table tbody td { color: rgba(255,255,255,0.75); }
.pr-spec-table tbody tr:last-child th, .pr-spec-table tbody tr:last-child td,
.pr-dim-table tbody tr:last-child th, .pr-dim-table tbody tr:last-child td,
.pr-chem-table tbody tr:last-child th, .pr-chem-table tbody tr:last-child td,
.pr-compare-table tbody tr:last-child th, .pr-compare-table tbody tr:last-child td { border-bottom: 0; }
.pr-spec-table tbody tr:nth-child(even), .pr-dim-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.pr-std { color: rgba(255,255,255,0.45) !important; font-size: 12.5px; white-space: nowrap; }

/* Comparison — highlight the PTFE column */
.pr-compare-table .pr-col-hi { background: rgba(227,167,18,0.08); color: var(--white); }
.pr-compare-table thead th.pr-col-hi { background: rgba(227,167,18,0.18); color: var(--gold); }

/* Chemical rating pills */
.pr-rating { display: inline-flex; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.pr-rating-excellent { background: rgba(74,222,128,0.15); color: #4ade80; }
.pr-rating-good { background: rgba(56,189,248,0.15); color: #38bdf8; }
.pr-rating-fair { background: rgba(227,167,18,0.15); color: var(--gold); }
.pr-rating-poor { background: rgba(248,113,113,0.15); color: #f87171; }

/* ---------- Property + manufacturing cards ---------- */
.pr-prop-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 700px) { .pr-prop-grid { grid-template-columns: 1fr 1fr; } }
.pr-prop-card { background: var(--navy-700); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: var(--space-5); }
.pr-prop-list { display: flex; flex-direction: column; }
.pr-prop-row { display: flex; justify-content: space-between; gap: var(--space-4); padding: 8px 0; border-bottom: 1px solid var(--border-dark); }
.pr-prop-row:last-child { border-bottom: 0; }
.pr-prop-row dt { color: rgba(255,255,255,0.6); font-size: 13.5px; margin: 0; }
.pr-prop-row dd { color: var(--white); font-size: 13.5px; font-weight: 600; margin: 0; text-align: right; }
.pr-prop-note { font-size: 14px !important; color: rgba(255,255,255,0.7) !important; margin: 0 !important; }

/* ---------- Technical drawing teaser cards ---------- */
.pr-drawing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); margin-top: var(--space-4); }
.pr-drawing-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: var(--space-4); background: var(--navy-700); border: 1px solid var(--border-dark); border-radius: var(--radius-md); }
.pr-drawing-icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 4px; }
.pr-drawing-icon svg { width: 100%; height: 100%; }
.pr-drawing-card strong { color: var(--white); font-size: 14.5px; }
.pr-drawing-card span:last-child { color: rgba(255,255,255,0.55); font-size: 12.5px; }

/* ---------- Applications (clickable sub-page cards) ---------- */
.pr-app-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 640px) { .pr-app-grid { grid-template-columns: 1fr 1fr; } }
.pr-app-card {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5);
  background: var(--navy-700); border: 1px solid var(--border-dark); border-radius: var(--radius-md);
  text-decoration: none; transition: border-color var(--duration-base), transform var(--duration-base);
}
.pr-app-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.pr-app-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(227,167,18,0.1); color: var(--gold); }
.pr-app-icon svg { width: 22px; height: 22px; }
.pr-app-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pr-app-text strong { color: var(--white); font-size: 15px; }
.pr-app-text span { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.45; }
.pr-app-arrow { flex: none; color: var(--gold); font-size: 18px; }

/* ---------- Industries ---------- */
.pr-industry-list { display: flex; flex-direction: column; gap: var(--space-5); }
.pr-industry-item { padding: var(--space-5); background: var(--navy-700); border: 1px solid var(--border-dark); border-radius: var(--radius-md); }
.pr-industry-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.pr-industry-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(227,167,18,0.1); color: var(--gold); }
.pr-industry-icon svg { width: 20px; height: 20px; }
.pr-industry-head .pr-h3 { margin: 0; }

/* ---------- Advantages / Limitations ---------- */
.pr-pros-cons { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 700px) { .pr-pros-cons { grid-template-columns: 1fr 1fr; } }
.pr-pros, .pr-cons { padding: var(--space-5); border-radius: var(--radius-md); border: 1px solid var(--border-dark); background: var(--navy-700); }
.pr-pros ul, .pr-cons ul { list-style: none; margin: 0; padding: 0; }
.pr-pros li, .pr-cons li { position: relative; padding-left: 26px; margin-bottom: var(--space-3); color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.6; }
.pr-pros li:last-child, .pr-cons li:last-child { margin-bottom: 0; }
.pr-pros li::before { content: "+"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(74,222,128,0.15); color: #4ade80; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.pr-cons li::before { content: "!"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(227,167,18,0.15); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }

/* ---------- Buying guide / standards lists ---------- */
.pr-buying-list, .pr-standards-list { list-style: none; margin: 0; padding: 0; }
.pr-buying-list li, .pr-standards-list li { padding: 10px 0 10px 24px; position: relative; color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.6; border-bottom: 1px solid var(--border-dark); }
.pr-buying-list li:last-child, .pr-standards-list li:last-child { border-bottom: 0; }
.pr-buying-list li::before, .pr-standards-list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pr-buying-list strong, .pr-standards-list strong { color: var(--white); }

/* ---------- Downloads ---------- */
.pr-downloads { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 640px) { .pr-downloads { grid-template-columns: 1fr 1fr; } }
.pr-download-card {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5);
  background: var(--navy-700); border: 1px solid rgba(227,167,18,0.3); border-radius: var(--radius-md);
  text-decoration: none; transition: border-color var(--duration-base), transform var(--duration-base);
}
.pr-download-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.pr-download-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(227,167,18,0.12); color: var(--gold); }
.pr-download-icon svg { width: 22px; height: 22px; }
.pr-download-text { display: flex; flex-direction: column; gap: 2px; }
.pr-download-text strong { color: var(--white); font-size: 15px; }
.pr-download-text span { color: rgba(255,255,255,0.55); font-size: 12.5px; }

/* ---------- Related blogs ---------- */
.pr-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.pr-blog-card { display: flex; flex-direction: column; gap: 6px; padding: var(--space-5); background: var(--navy-700); border: 1px solid var(--border-dark); border-radius: var(--radius-md); text-decoration: none; transition: border-color var(--duration-base), transform var(--duration-base); }
.pr-blog-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.pr-blog-card span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-dark); }
.pr-blog-card strong { color: var(--white); font-size: 15px; line-height: 1.4; }

/* ---------- Application sub-page ---------- */
.pr-app-page .pr-section:first-of-type { border-top: 0; }
.pr-app-hero { max-width: 760px; margin-bottom: var(--space-6); }

/* Static (non-link) variants of .pr-app-card / .pr-download-card, used by the
   generic rich details template where a card is informational, not a link. */
.pr-app-static { cursor: default; }
.pr-app-static:hover { border-color: var(--border-dark); transform: none; }
