/* =====================================================================
   V2 DESIGN LAYER (2026-10-15) - "blueprint & nameplate"
   Palette from the logo; fast (no web fonts, CSS-only motion).
   Loaded after style.css.
   ===================================================================== */
:root {
  --th-accent: #0b54c4;          /* logo blue, AA on white */
  --th-accent-dark: #083b8a;
  --th-accent-soft: #eaf2ff;
  --th-electric: #22b8ff;        /* logo cyan - accents on dark only */
  --th-navy: #071a3d;
  --th-navy-2: #0c2a63;
  --th-bg-deep: #071a3d;
  --th-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
  --th-radius: 6px;
  --th-radius-lg: 12px;
  --th-shadow-md: 0 8px 28px rgba(7, 26, 61, 0.10);
  --th-shadow-lg: 0 18px 48px rgba(7, 26, 61, 0.18);
}
.th-utility-bar { background: var(--th-navy); }
.th-footer { background: var(--th-navy); }
.th-cta-primary, .th-cta.th-cta-primary { background: var(--th-accent); border-color: var(--th-accent); }
.th-cta-primary:hover { background: var(--th-accent-dark); }

/* part numbers: monospace + copy */
.th-pn { font-family: var(--th-mono); font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.th-copy { font: 600 0.72rem/1 var(--th-mono); border: 1px solid currentColor; background: transparent; color: inherit; opacity: .75;
  border-radius: 4px; padding: 3px 6px; margin-left: 6px; cursor: pointer; vertical-align: middle; }
.th-copy:hover, .th-copy.is-done { opacity: 1; }

/* ---------- blueprint hero ---------- */
.th-hero2 { position: relative; color: #fff; overflow: hidden; padding: 72px 0 64px;
  background:
    linear-gradient(rgba(34,184,255,.07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(34,184,255,.07) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(1200px 500px at 85% -10%, #12409a 0%, transparent 60%),
    linear-gradient(160deg, var(--th-navy) 0%, var(--th-navy-2) 100%); }
.th-hero2 .th-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--th-mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--th-electric); border: 1px solid rgba(34,184,255,.35); border-radius: 999px; padding: 7px 12px; margin-bottom: 20px; }
.th-hero2 .th-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62,224,143,.18); }
.th-hero2 h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 16px; max-width: 820px; color: #fff; }
.th-hero2 h1 em { font-style: normal; color: var(--th-electric); }
.th-hero2 .th-sub { color: #c9d6ec; font-size: 1.12rem; max-width: 680px; margin: 0 0 30px; }

.th-scanner { max-width: 760px; }
.th-scanner form { display: flex; background: #fff; border-radius: 12px; box-shadow: 0 0 0 4px rgba(34,184,255,.22), var(--th-shadow-lg); overflow: hidden; }
.th-scanner input { flex: 1; min-width: 0; border: 0; padding: 20px; font: 600 1.15rem/1.2 var(--th-mono); color: var(--th-ink); background: #fff; }
.th-scanner input::placeholder { color: #7d8a9c; font-weight: 500; }
.th-scanner input:focus { outline: none; }
.th-scanner button { border: 0; background: var(--th-accent); color: #fff; font-weight: 700; font-size: 1rem; padding: 0 26px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.th-scanner button:hover { background: var(--th-accent-dark); }
.th-scanner button .th-icon { width: 18px; height: 18px; }
.th-scan-result { margin-top: 12px; }
.th-scan-card { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(34,184,255,.35); border-radius: 10px;
  padding: 12px 16px; color: #fff; text-decoration: none; animation: th-pop .25s ease-out; }
.th-scan-card:hover { background: rgba(255,255,255,.13); text-decoration: none; }
.th-scan-ok, .th-scan-miss { flex: none; font: 700 .72rem/1 var(--th-mono); color: #071a3d; border-radius: 4px; padding: 5px 7px; }
.th-scan-ok { background: #3ee08f; }
.th-scan-miss { background: #ffd166; }
.th-scan-card strong { display: block; font-size: .98rem; }
.th-scan-card small { color: #b8c7e0; }
.th-scan-hint { margin-top: 14px; color: #a9bad6; font-size: .9rem; }
.th-scan-hint button { font: 600 .85rem var(--th-mono); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px; padding: 4px 9px; margin: 0 4px 6px 0; cursor: pointer; }
.th-scan-hint button:hover { border-color: var(--th-electric); }
.th-scan-hint a { color: #fff; text-decoration: underline; }
@keyframes th-pop { from { transform: translateY(4px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .th-scan-card, .th-plate { animation: none; transition: none; } }
@media (max-width: 560px) {
  .th-hero2 { padding: 48px 0 44px; }
  .th-scanner input { padding: 16px 14px; font-size: 1rem; }
  .th-scanner button { padding: 0 16px; }
  .th-scanner button .th-btn-text { display: none; }
}

/* proof row under hero */
.th-proof { background: #fff; border-bottom: 1px solid var(--th-line); }
.th-proof .th-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.th-proof-item { padding: 22px 18px; border-left: 1px solid var(--th-line-soft); }
.th-proof-item:first-child { border-left: 0; }
.th-proof-item b { display: block; font-size: .95rem; margin-bottom: 3px; }
.th-proof-item span { color: var(--th-ink-soft); font-size: .85rem; line-height: 1.4; display: block; }
@media (max-width: 860px) { .th-proof .th-wrap { grid-template-columns: 1fr 1fr; } .th-proof-item:nth-child(3) { border-left: 0; } }
@media (max-width: 480px) { .th-proof .th-wrap { grid-template-columns: 1fr; } .th-proof-item { border-left: 0; border-top: 1px solid var(--th-line-soft); } }

/* ---------- nameplate cards ---------- */
.th-plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.th-plate { position: relative; display: block; color: var(--th-ink); text-decoration: none; border-radius: 12px; padding: 24px 22px 18px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e6ebf2 45%, #f4f6f9 55%, #dfe5ee 100%);
  border: 1px solid #c9d2de; box-shadow: inset 0 1px 0 #fff, var(--th-shadow-md); transition: transform .15s ease, box-shadow .15s ease; }
.th-plate:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, var(--th-shadow-lg); text-decoration: none; }
.th-plate::before, .th-plate::after { content: ""; position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #98a4b4 70%); box-shadow: 0 1px 1px rgba(0,0,0,.25); }
.th-plate::before { left: 10px; }
.th-plate::after { right: 10px; }
.th-plate-label { font: 700 .68rem/1 var(--th-mono); letter-spacing: .12em; text-transform: uppercase; color: #4f5f73; }
.th-plate-svc { font: 800 1.45rem/1.15 var(--th-mono); letter-spacing: .02em; margin: 6px 0 2px; color: var(--th-navy); }
.th-plate-arrow { font: 600 .82rem var(--th-mono); color: #4f5f73; margin: 6px 0 4px; }
.th-plate-mpn { font: 800 1.15rem/1.2 var(--th-mono); color: var(--th-accent); }
.th-plate-meta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #b8c3d1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: #3d4c5e; }
.th-plate-go { margin-top: 12px; font-weight: 700; font-size: .88rem; color: var(--th-accent); }
.th-stamp { display: inline-flex; align-items: center; gap: 6px; font: 700 .68rem/1 var(--th-mono); letter-spacing: .08em; text-transform: uppercase;
  color: #0b6334; border: 1.5px solid #0b6334; border-radius: 4px; padding: 5px 7px; transform: rotate(-2deg); background: rgba(255,255,255,.65); }

/* honesty box */
.th-wont { background: var(--th-navy); color: #dce6f5; border-radius: 14px; padding: 34px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; }
.th-wont h2 { color: #fff; margin: 0 0 8px; }
.th-wont p { margin: 0; }
.th-wont ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.th-wont li { padding-left: 30px; position: relative; }
.th-wont li::before { content: "\2715"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: .7rem; font-weight: 800; color: #071a3d; background: #ffd166; }
@media (max-width: 760px) { .th-wont { grid-template-columns: 1fr; padding: 26px; } }

/* ---------- product page: nameplate hero + evidence chain ---------- */
.th-np-hero { margin: 18px 0 8px; }
.th-np { position: relative; border-radius: 14px; padding: 26px 28px 22px;
  background: linear-gradient(135deg, #f8fafc 0%, #e4e9f0 42%, #f6f8fa 52%, #dce3ec 100%); border: 1px solid #c4cedb;
  box-shadow: inset 0 1px 0 #fff, var(--th-shadow-md); }
.th-np::before, .th-np::after { content: ""; position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #94a1b2 70%); box-shadow: 0 1px 1px rgba(0,0,0,.25); }
.th-np::before { left: 12px; }
.th-np::after { right: 12px; }
.th-np-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.th-np-cell .th-plate-label { display: block; margin-bottom: 6px; }
.th-np-num { font: 800 clamp(1.25rem, 3vw, 1.8rem)/1.1 var(--th-mono); color: var(--th-navy); overflow-wrap: anywhere; }
.th-np-num.is-mpn { color: var(--th-accent); }
.th-np-eq { font: 800 1.6rem var(--th-mono); color: #6f7d90; }
.th-np-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #b5c0ce; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .86rem; color: #3d4c5e; }
@media (max-width: 640px) {
  .th-np-grid { grid-template-columns: 1fr; gap: 8px; }
  .th-np-eq { font-size: 1.2rem; }
  .th-np { padding: 24px 18px 18px; }
}

.th-chain { list-style: none; margin: 10px 0 26px; padding: 0; }
.th-chain li { position: relative; padding: 0 0 18px 34px; }
.th-chain li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: linear-gradient(var(--th-accent), #9ec0f3); }
.th-chain li:last-child::before { display: none; }
.th-chain li::after { content: ""; position: absolute; left: 3px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--th-accent); box-sizing: border-box; }
.th-chain li:last-child::after { background: var(--th-accent); }
.th-chain-num { font: 700 1.02rem var(--th-mono); color: var(--th-navy); }
.th-chain-src { display: block; color: var(--th-ink-soft); font-size: .88rem; margin-top: 2px; }
.th-chain-src a { color: var(--th-accent); }

.th-oem-price { background: var(--th-accent-soft); border: 1px solid #c7dafb; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-size: .86rem; color: var(--th-ink-soft); }
.th-oem-price b { display: block; font-size: 1.2rem; color: var(--th-ink); margin: 2px 0; }
.th-oem-price strong { color: var(--th-accent-dark); }
.th-person { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--th-ink-soft); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--th-line-soft); }
.th-person .th-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.15); flex: none; }
.th-pay-line { font-size: .8rem; color: var(--th-ink-soft); margin: 10px 0 0; }

/* sticky mobile quote bar */
.th-sticky-quote { display: none; }
@media (max-width: 960px) {
  .th-sticky-quote { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(7,26,61,.97); color: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .th-sticky-quote span { font: 600 .85rem var(--th-mono); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .th-sticky-quote a { flex: none; background: var(--th-electric); color: #071a3d; font-weight: 800; border-radius: 8px; padding: 11px 14px; text-decoration: none; }
  body.th-has-sticky { padding-bottom: 72px; }
}

/* guide filter */
.th-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 14px; }
.th-filter-label { font-weight: 700; font-size: .85rem; margin-right: 4px; }
.th-filter button { font: 600 .85rem var(--th-mono); background: #fff; border: 1px solid var(--th-line); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--th-ink); }
.th-filter button[aria-pressed="true"] { background: var(--th-navy); border-color: var(--th-navy); color: #fff; }
.th-badge-stock { display: inline-block; font: 700 .66rem/1 var(--th-mono); text-transform: uppercase; letter-spacing: .06em; color: #fff; background: #0b6b3a; border-radius: 4px; padding: 4px 6px; margin-top: 4px; }
.th-row-cta { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.th-guide-table tr.is-hidden { display: none; }
.th-filter-count { font-size: .82rem; color: var(--th-ink-soft); }

/* RFQ form: compact first, details optional */
.th-more-details { border: 1px dashed var(--th-line); border-radius: 10px; padding: 12px 16px; margin: 6px 0 16px; }
.th-more-details summary { cursor: pointer; font-weight: 700; color: var(--th-accent); }
.th-more-details[open] summary { margin-bottom: 12px; }

/* fixes after visual review */
.th-scan-hint button { display: inline-block; }
.th-cta-band .th-cta-primary, .th-cta-band .th-cta.th-cta-primary { background: var(--th-electric); border-color: var(--th-electric); color: #071a3d; }
.th-cta-band .th-cta-primary:hover { background: #fff; border-color: #fff; color: #071a3d; }

/* mobile refinements */
.th-product h1, .th-xref h1 { font-size: clamp(1.45rem, 3.2vw, 2rem); line-height: 1.2; }
@media (max-width: 640px) {
  .th-utility-bar .th-utility-list:first-child { display: none; }
  .th-utility-bar .th-wrap { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
  .th-product .th-breadcrumb, .th-xref .woocommerce-breadcrumb { font-size: .85rem; }
}

/* guide pages: wide table, readable prose */
.th-guide .th-content .th-wrap-narrow { max-width: var(--th-max); }
.th-guide .th-content p, .th-guide .th-content ul, .th-guide .th-content ol, .th-guide .th-content h1, .th-guide .th-content h2 { max-width: 780px; }
.th-guide .th-content .th-filter { max-width: none; }

.th-guide-table td, .th-guide-table th { white-space: normal; }
.th-guide-table td:nth-child(2), .th-guide-table td:nth-child(5), .th-guide-table td:last-child { white-space: nowrap; }
.th-guide-table td:first-child { min-width: 200px; }

/* "Request sourcing" category cards are real links: keep them readable */
.th-cat-card.th-cat-empty h3 { color: var(--th-ink); }
.th-cat-card.th-cat-empty p { color: var(--th-ink-soft); }
.th-cat-card.th-cat-empty { opacity: 1; }

/* footer shield: white-rimmed variant so the navy edge reads on the navy footer */
.th-footer .th-logo-shield { width: auto; height: 36px; }

.th-footer-brand .th-logo span { color: var(--th-electric); }

/* homepage ends with the navy CTA band: let the footer meet it, with a faint divider instead of a white gap */

/* CTA band: same blueprint grid as the hero, so it reads as its own section above the plain-navy footer */
.th-cta-band {
  background:
    linear-gradient(rgba(34,184,255,.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(34,184,255,.08) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(900px 300px at 15% 120%, #12409a 0%, transparent 60%),
    linear-gradient(160deg, var(--th-navy-2) 0%, var(--th-navy) 100%);
}

/* homepage ends on a full-width tinted section: no white strip above the footer */
.home .th-footer { margin-top: 0; }

/* ---- animated hero scene (parts/hero-anim.php + assets/js/hero-anim.js) ---- */
.th-hero2 .thf-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --c-ink: #e6eefc; --c-soft: #9fb3d4; --c-faint: #7f93b5; --c-line: rgba(160,190,255,.28); --c-line2: rgba(160,190,255,.12);
  --c-acc: #22b8ff; --c-ok: #3ee08f; --c-ok-bg: rgba(62,224,143,.14); --c-hot: #ff6b6b; --c-warn: #ffb347;
  --c-card: #0e2756; --c-well: #0a1e47; --c-graph: rgba(7,26,61,.55); }
.th-hero2 > .th-wrap { position: relative; z-index: 1; }
.th-hero2 .thf-scene { position: absolute; display: none; }
.th-hero2 .thf-glow { position: absolute; inset: 6% 4%; border-radius: 50%; }
.th-hero2 .thf-scene svg { position: relative; display: block; width: 100%; height: 100%; font-family: var(--th-mono); }
.th-hero2 .thf-t-sm { font-size: 10px; fill: var(--c-faint); letter-spacing: .06em; }

.th-hero2 .thf-tint { position: absolute; inset: 0; background: radial-gradient(1200px 700px at 75% 30%, rgb(170,32,48), rgb(120,20,40)); opacity: 0; }

/* accent colours follow the hero heat (hero-anim.js); ease the change so the snap-back to blue is smooth */
.th-cta, .th-scanner button, .th-kicker, .th-hero2 h1 em, .th-scan-hint button, .th-stamp { transition: background-color .4s, border-color .4s, color .4s; }

/* heat sync: logo cross-fade + top banner (driven by --th-heat / --th-topbar from hero-anim.js) */
.th-header .th-logo { position: relative; }
.th-logo-hot { position: absolute; left: 0; top: 50%; transform: translateY(-50%); line-height: 0; opacity: var(--th-heat, 0); pointer-events: none; }
.th-logo-hot img { display: block; height: 56px; width: auto; }
@media (max-width: 640px) { .th-logo-hot img { height: 40px; } }
.th-utility-bar { background: var(--th-topbar, var(--th-navy)); transition: background-color .4s; }

/* travelling cool-down: a soft cold-air edge that leads the cooled area leftward across the hero */
.th-hero2 .thf-front { position: absolute; top: 0; bottom: 0; left: 0; width: 28%; opacity: 0; pointer-events: none; will-change: transform, opacity;
  background: linear-gradient(90deg, rgba(110,205,255,0) 0%, rgba(110,205,255,.20) 18%, rgba(110,205,255,.06) 55%, rgba(110,205,255,0) 100%); }

/* smoke from the overheating machine (hero-anim.js): page-level layer above the sticky header, never clickable.
   Wisps move by CSS animation only (compositor); script sets per-wisp variety vars, strength and blow-away. */
.thf-smoke { position: absolute; left: 0; top: 0; width: 100%; height: 0; overflow: hidden; z-index: 101; pointer-events: none; display: none; opacity: 0; }
.thf-smoke-src { position: absolute; width: 0; height: 0; will-change: transform; }
.thf-smoke span { position: absolute; left: 0; top: 0; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(186,194,207,.42), rgba(186,194,207,.24) 35%, rgba(186,194,207,.09) 65%, rgba(186,194,207,.025) 85%, rgba(186,194,207,0));
  animation: thf-wisp 4.2s cubic-bezier(.25,.6,.45,1) infinite; will-change: transform, opacity; }
@keyframes thf-wisp {
  0%   { transform: translate3d(0,0,0) rotate(var(--r0, 0deg)) scale(.27,.42); opacity: 0; }
  18%  { opacity: var(--a, .8); }
  55%  { opacity: calc(var(--a, .8) * .75); }
  100% { transform: translate3d(var(--dx, 0px), var(--rise, -150px), 0) rotate(var(--r1, 0deg)) scale(var(--sx, 1.2), var(--sy, 1.8)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .thf-smoke { display: none !important; } }

/* demo "Find my part" press, timed by hero-anim.js right after the example part number finishes typing */
.th-scanner form button { position: relative; overflow: hidden; }
.th-scanner form button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%; background: rgba(255,255,255,.5); opacity: 0; transform: scale(0); pointer-events: none; }
.th-scanner form.thf-press button { animation: thf-press-btn .5s ease-out; }
.th-scanner form.thf-press button::after { animation: thf-ripple .65s ease-out; }
.th-scanner form.thf-press button .th-icon { animation: thf-press-icon .5s ease-out; }
.th-scanner form.thf-press { animation: thf-press-ring .7s ease-out; }
@keyframes thf-press-btn { 0% { box-shadow: none; filter: none; } 22% { box-shadow: inset 0 3px 10px rgba(0,0,0,.35); filter: brightness(.82); } 100% { box-shadow: none; filter: none; } }
@keyframes thf-ripple { 0% { opacity: .9; transform: scale(0); } 100% { opacity: 0; transform: scale(9); } }
@keyframes thf-press-icon { 0%, 100% { transform: none; } 22% { transform: scale(.82) translateY(1px); } }
@keyframes thf-press-ring { 0% { box-shadow: 0 0 0 4px rgba(34,184,255,.22), var(--th-shadow-lg); } 30% { box-shadow: 0 0 0 7px rgba(34,184,255,.45), var(--th-shadow-lg); } 100% { box-shadow: 0 0 0 4px rgba(34,184,255,.22), var(--th-shadow-lg); } }
@media (prefers-reduced-motion: reduce) { .th-scanner form.thf-press, .th-scanner form.thf-press * , .th-scanner form.thf-press button::after { animation: none !important; } }

/* phone footer: everything centred */
@media (max-width: 560px) {
  .th-footer-grid, .th-footer-bottom { text-align: center; }
  .th-footer-brand .th-logo { justify-content: center; }
  .th-footer-brand p { margin-left: auto; margin-right: auto; }
  .th-footer-col ul { align-items: center; }
  .th-footer-bottom { justify-content: center; flex-direction: column; align-items: center; gap: 6px; }
}

/* published price box (product pages; shown only while the daily stock check is fresh) */
.th-our-price { display: grid; gap: 4px; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: var(--th-accent-soft); border: 1px solid rgba(11,84,196,.18); }
.th-our-price-label { font: 600 .72rem/1 var(--th-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--th-accent-dark); }
.th-our-price-amt { font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; color: var(--th-ink, #0f172a); }
.th-our-price-sub { font-size: .88rem; color: #1f6e43; font-weight: 600; }
.th-our-price-oem { font-size: .82rem; color: #475569; }

/* fault-code guide table: sized columns on desktop, one card per code on phones */
.th-fault-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .92rem; margin: 0 0 16px; }
.th-fault-table th, .th-fault-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--th-line); }
.th-fault-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--th-ink-soft); font-weight: 700; }
.th-fault-table th:nth-child(1) { width: 12%; } .th-fault-table th:nth-child(2) { width: 24%; } .th-fault-table th:nth-child(3) { width: 30%; }
.th-fault-table th:nth-child(4) { width: 22%; } .th-fault-table th:nth-child(5) { width: 12%; }
.th-fault-table td small { display: block; font-weight: 500; color: var(--th-ink-soft); }
.th-fault-table tr { scroll-margin-top: 130px; }
.th-fault-table tr:target td { background: var(--th-accent-soft); }
@media (max-width: 760px) {
  .th-fault-table, .th-fault-table tbody, .th-fault-table tr, .th-fault-table td { display: block; width: 100%; }
  .th-fault-table thead { display: none; }
  .th-fault-table tr { border: 1px solid var(--th-line); border-radius: 10px; margin: 0 0 12px; padding: 6px 0; }
  .th-fault-table td { border: 0; padding: 6px 14px; }
  .th-fault-table td[data-label]::before { content: attr(data-label); display: block; font: 700 .68rem/1.5 var(--th-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--th-ink-soft); }
  .th-fault-table td small { display: inline; }
}

/* older-drive tables: never break a part number across lines */
.th-older-table td:nth-child(-n+2), .th-older-table td:last-child { white-space: nowrap; }


/* guide answer block + figures (replacement & migration guide) */
.th-answer { border-left: 4px solid var(--th-accent); background: var(--th-accent-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 22px; }
.th-answer p { margin: 0; }
.th-guide-fig { margin: 18px 0 22px; }
.th-guide-fig img { display: block; width: auto; height: auto; max-width: 100%; border: 1px solid var(--th-line); border-radius: 10px; background: #fff; }
.th-guide-fig figcaption { font-size: .82rem; color: var(--th-ink-soft); margin-top: 6px; }
.th-mig-table td:nth-child(1), .th-mig-table td:nth-child(3) { white-space: nowrap; font-family: var(--th-mono); font-size: .88rem; }

/* trust details on product pages */
.th-our-price-fresh { font-size: .78rem; color: #475569; }
.th-dlv { margin: 0 0 10px; padding-left: 18px; }
.th-dlv li { margin: 0 0 6px; }

/* guide CTA panel (troubleshooting guide) */
.th-cta-panel { border: 1px solid rgba(11,84,196,.25); background: #f7faff; border-radius: 12px; padding: 16px 20px; margin: 22px 0 26px; }
.th-cta-panel h3 { margin-top: 0; }
.th-cta-panel ul { margin: 0 0 12px; }
