/* Profab Machine — Stainless Steel Spherical Bearing product page. Built
   2026-09-27 as a fact-and-wording pass plus real structural additions on an
   existing page (~265 lines extracted) with more genuine product-identity
   uncertainty than any prior page: 6 real series (COM, COM-T, GEC, SLB, WPB,
   YPB), owner-confirmed as real sellable product lines, but COM's default
   ball/race (52100 chrome-plated ball, alloy-steel race) is not stainless —
   resolved per owner instruction by disclosing the standard construction
   honestly and offering a full-stainless build on request, rather than
   hiding or deleting the real default material. Fixed the most explicit
   EN 10204 3.1/full-traceability claim found on any page to date (a
   Why-Profab card literally headed "Full Material Traceability"), the
   recurring aerospace/motorsport market-framing on 17-4PH, an unconfirmed
   CMM/ASTM-B117 testing claim, a "safety catch" copy-paste bleed from Ball
   Joint, a 7-15 day lead time contradicting the confirmed 30-day standard,
   and the "material certs and inspection report inside every box" claim
   (5th page carrying it). Surface Finish and the food/medical FAQ answer
   were intentionally left close to their original marketing wording per
   owner instruction (2026-09-27): mild marketing language is fine here
   since these are real available capabilities/materials, not claims of a
   certification or specific test. Added: a category-boundary explainer
   (spherical plain bearing vs. rod end vs. ball joint/rolling bearing) and
   a Selection Guide — the research's top-priority content gaps, since this
   category has more real decision complexity (6 series x load direction x
   sliding system) than any prior page. Restored a real product video found
   in the raw content during this round's proactive video-check (per the
   standing rule added after Ball Joint/Rod Ends both had one silently
   dropped), embedded via youtube-nocookie.com + referrerpolicy from the
   start. See pages/rebuild/stainless-steel-spherical-bearing-review.md and
   the delegated research at
   pages/调研/findings/stainless-steel-spherical-bearing-research.md.
   Page-specific layout/content only; shared tokens and cross-page-reusable
   patterns (.pp-spec-list, .sb-table, .sb-hero__tags, .sb-related-card,
   .sb-faq-item, .sb-faq-more) come from product-base.css, reused identically
   to every other rebuild-track page. */


.profab-page-spherical-bearing .skip-link {
  background: var(--pp-blue);
  color: var(--color-white);
  left: 12px;
  padding: 8px 12px;
  position: fixed;
  top: -50px;
  z-index: 100;
}
.profab-page-spherical-bearing .skip-link:focus { top: 12px; }

/* ---------- Hero ---------- */

.profab-page-spherical-bearing .spb-hero { padding: 56px 0 64px; }
.profab-page-spherical-bearing .spb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.profab-page-spherical-bearing .spb-hero h1 {
  color: #000000;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 20px;
}
.profab-page-spherical-bearing .spb-hero p {
  color: #000000;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 24px;
}
.profab-page-spherical-bearing .spb-hero .btn-outline { border-color: #000000; color: #000000; }
.profab-page-spherical-bearing .spb-hero .btn-outline:hover { background: #000000; color: #FFFFFF; }
.profab-page-spherical-bearing .spb-hero__media img { width: 100%; height: auto; }

/* ---------- What Is ---------- */

.profab-page-spherical-bearing .spb-intro__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card-lg);
}
.profab-page-spherical-bearing .spb-intro .section-kicker { display: block; margin-bottom: 10px; }
.profab-page-spherical-bearing .spb-intro__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.profab-page-spherical-bearing .spb-intro__tags .pp-tag-pill { background: #E8ECFF; color: var(--pp-blue); }

/* ---------- Product type grid (6 series) ---------- */

.profab-page-spherical-bearing .spb-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.profab-page-spherical-bearing .spb-type-card {
  background: var(--color-white);
  border: 1px solid var(--pp-line);
  border-top: 3px solid var(--pp-blue);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profab-page-spherical-bearing .spb-type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.profab-page-spherical-bearing .spb-type-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-spherical-bearing .spb-type-card__body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.profab-page-spherical-bearing .spb-type-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.profab-page-spherical-bearing .spb-type-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.profab-page-spherical-bearing .spb-type-card__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.profab-page-spherical-bearing .spb-type-card .btn { padding: 8px 16px; font-size: 0.82rem; }
.profab-page-spherical-bearing .spb-type-card__link {
  color: var(--pp-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.profab-page-spherical-bearing .spb-type-card__link:hover { text-decoration: underline; }
.profab-page-spherical-bearing .spb-type-card__tags .pp-tag-pill { background: #E8ECFF; color: var(--pp-blue); }

/* ---------- Category-boundary explainer cards ---------- */

.profab-page-spherical-bearing .spb-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.profab-page-spherical-bearing .spb-explainer-card {
  background: var(--color-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-card-lg);
  padding: 28px 30px;
}

/* ---------- Selection guide note ---------- */

.profab-page-spherical-bearing .spb-select-note {
  margin-top: 20px;
  color: var(--pp-muted);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

/* ---------- Grade / material comparison (BLUE block, 3-way) ---------- */

.profab-page-spherical-bearing .spb-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.profab-page-spherical-bearing .sb-grade-card {
  border: 1px solid rgba(209, 200, 200, 0.5);
  background-color: rgba(226, 223, 223, 0.19);
  padding: 32px 28px;
}
.profab-page-spherical-bearing .sb-grade-card h3 { color: #FFFFFF; font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.profab-page-spherical-bearing .sb-grade-card p { color: #FFFFFF; font-size: 0.95rem; margin-bottom: 12px; }

/* ---------- Applications carousel ---------- */

.profab-page-spherical-bearing #spb-industry-carousel .pp-cta-card { aspect-ratio: 4 / 3; align-items: center; }
.profab-page-spherical-bearing #spb-industry-carousel .pp-cta-card__body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.profab-page-spherical-bearing #spb-industry-carousel .pp-cta-card__body p { font-family: var(--font-body); font-size: 17px; }
.profab-page-spherical-bearing #spb-industry-carousel .pp-carousel__track > * { flex-basis: calc(33.333% - 14.67px); }

/* ---------- Two content blocks ---------- */

.profab-page-spherical-bearing .spb-accent-heading {
  border-left: 5px solid var(--pp-blue);
  padding-left: 10px;
}
.profab-page-spherical-bearing .spb-content-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
}

/* ---------- Why Profab --
   Sits between two white/tint content blocks and Companion Kits (white) --
   neither neighbor is dark, so it takes the navy default per the site-wide
   background rule. ---------- */

.profab-page-spherical-bearing .sb-why-row {
  display: flex;
  gap: 41px;
  margin-bottom: 48px;
}
.profab-page-spherical-bearing .sb-why-item { flex: 1; }
.profab-page-spherical-bearing .sb-why-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 16px;
}
.profab-page-spherical-bearing .sb-why-item h3 { font-family: var(--font-heading); color: #F1ECEC; font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.profab-page-spherical-bearing .sb-why-item p { font-family: var(--font-heading); font-weight: 400; color: #D6D3D3; font-size: 17px; margin: 0; }
.profab-page-spherical-bearing #spb-trust-carousel .pp-carousel__track img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* ---------- Companion Kits (image-left row layout, matching Rod Ends'
   rd-kit-row pattern — all 3 items have real photos on the live source
   page, caught after an owner correction). ---------- */

.profab-page-spherical-bearing .spb-kit-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profab-page-spherical-bearing .spb-kit-row {
  display: flex;
  align-items: stretch;
  gap: 24px;
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profab-page-spherical-bearing .spb-kit-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.profab-page-spherical-bearing .spb-kit-row img { width: 240px; height: auto; object-fit: cover; flex-shrink: 0; }
.profab-page-spherical-bearing .spb-kit-row__body { padding: 20px 24px 20px 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.profab-page-spherical-bearing .spb-kit-row__body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin: 0; }
.profab-page-spherical-bearing .spb-kit-row__body p { font-family: var(--font-heading); font-weight: 400; color: var(--pp-muted); font-size: 16px; margin: 0; }
.profab-page-spherical-bearing .spb-kit-row__body .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- Custom Options ---------- */

.profab-page-spherical-bearing .spb-custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.profab-page-spherical-bearing .spb-custom-card {
  background: var(--color-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-card);
  padding: 22px 20px;
}

/* ---------- Technical Reference (bore/OD table + real dimension drawing + restored video) ---------- */

.profab-page-spherical-bearing .spb-tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 1fr);
  gap: 32px;
  align-items: start;
}
.profab-page-spherical-bearing .spb-tech-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profab-page-spherical-bearing .spb-tech-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
}
.profab-page-spherical-bearing .spb-tech-video {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
}
.profab-page-spherical-bearing .spb-tech-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Surface Finish Options ---------- */

.profab-page-spherical-bearing .spb-finish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.profab-page-spherical-bearing .spb-finish-card {
  background: var(--pp-blue-tint);
  border-radius: var(--radius-card);
  padding: 22px 20px;
}
.profab-page-spherical-bearing .spb-finish-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pp-blue);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* ---------- FAQ ---------- */

.profab-page-spherical-bearing .sb-faq-layout { display: flex; gap: 48px; align-items: flex-start; }
.profab-page-spherical-bearing .sb-faq-aside { flex: 0 0 35%; }
.profab-page-spherical-bearing .sb-faq-list { flex: 1; display: grid; gap: 0; }

/* ---------- Often Ordered Together carousel ---------- */

.profab-page-spherical-bearing .sb-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.profab-page-spherical-bearing .sb-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.profab-page-spherical-bearing .sb-related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-spherical-bearing .sb-related-card h3 { margin: 14px 16px 16px; }

/* ---------- Blog / Knowledge Base section --
   Added 2026-09-27 to fill the gap between How to Order and the final CTA.
   The first version of this fix wrongly linked the product's own 6 series
   detail pages here under a "Blog" label — those are internal spec pages,
   not blog articles, and the same 6 links already exist as "View Full
   Specifications" on each Product Range card higher up the page, so the
   section was pure duplication. Caught and removed 2026-09-28. This is now
   the only section here: 3 real, already-published Knowledge Base articles,
   matching the pattern used on Ball Joint/Rod Ends/Turnbuckles. ---------- */

.profab-page-spherical-bearing .spb-kb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.profab-page-spherical-bearing .spb-kb-grid .pp-card { text-decoration: none; color: inherit; }
/* Knowledge Base article excerpt: gray, not the Primary-card-tier ink black
   -- owner request 2026-09-28. A blog/article preview reads as title (black)
   + excerpt (muted), the standard listing convention; this is a deliberate
   exception scoped to this KB grid, not a change to .pp-card__body p itself
   (which every product-type/kit card on every page still needs black for). */
.profab-page-spherical-bearing .spb-kb-grid .pp-card__body p { color: var(--pp-muted); }
.profab-page-spherical-bearing .bc-read-more {
  color: var(--pp-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  align-self: flex-start;
}

/* ---------- Final CTA + RFQ form ---------- */

.profab-page-spherical-bearing .sb-quote { position: relative; overflow: hidden; }
.profab-page-spherical-bearing .sb-quote::before {
  content: "Profab";
  position: absolute;
  right: -0.05em;
  bottom: -0.28em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(6rem, 14vw, 9.4rem);
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}
.profab-page-spherical-bearing .sb-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
  position: relative;
}
.profab-page-spherical-bearing .sb-quote h2 { color: #FFFFFF; }
.profab-page-spherical-bearing .sb-quote p { color: #E3E3E3; }
.profab-page-spherical-bearing .sb-quote-email { color: #FFFFFF; font-family: var(--font-heading); font-weight: 700; text-decoration: underline; }
.profab-page-spherical-bearing .sb-quote-form {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 0 10px rgba(243,243,243,0.37);
  padding: 32px;
  color: var(--pp-ink);
}
.profab-page-spherical-bearing .sb-quote-form__heading { color: var(--pp-blue); font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.profab-page-spherical-bearing .sb-quote-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.profab-page-spherical-bearing .sb-quote-form__full { grid-column: 1 / -1; }
.profab-page-spherical-bearing .sb-quote-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; }
.profab-page-spherical-bearing .sb-quote-form input,
.profab-page-spherical-bearing .sb-quote-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--pp-line);
  border-radius: 4px;
  padding: 10px 12px;
}
.profab-page-spherical-bearing .sb-quote-form__note { font-size: 0.82rem; color: var(--pp-muted); margin: 14px 0 0; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .profab-page-spherical-bearing .spb-hero__grid,
  .profab-page-spherical-bearing .sb-quote-layout { grid-template-columns: 1fr; }
  .profab-page-spherical-bearing .sb-faq-layout { flex-direction: column; }
  .profab-page-spherical-bearing .sb-faq-aside { flex-basis: auto; }
  .profab-page-spherical-bearing .sb-why-row { flex-direction: column; gap: 26px; }
  .profab-page-spherical-bearing .spb-explainer-grid { grid-template-columns: 1fr; }
  .profab-page-spherical-bearing .spb-tech-layout { grid-template-columns: 1fr; }
  .profab-page-spherical-bearing .spb-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-spherical-bearing .spb-custom-grid,
  .profab-page-spherical-bearing .spb-finish-grid,
  .profab-page-spherical-bearing .spb-grade-grid,
  .profab-page-spherical-bearing .spb-kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-spherical-bearing #spb-industry-carousel .pp-carousel__track > * { flex-basis: calc(50% - 11px); }
}

@media (max-width: 620px) {
  .profab-page-spherical-bearing .spb-type-grid,
  .profab-page-spherical-bearing .spb-custom-grid,
  .profab-page-spherical-bearing .spb-finish-grid,
  .profab-page-spherical-bearing .spb-grade-grid,
  .profab-page-spherical-bearing .spb-kb-grid { grid-template-columns: 1fr; }
  .profab-page-spherical-bearing .spb-kit-row { flex-direction: column; }
  .profab-page-spherical-bearing .spb-kit-row img { width: 100%; height: auto; aspect-ratio: 4/3; }
  .profab-page-spherical-bearing .spb-kit-row__body { padding: 16px 20px 20px; }
  .profab-page-spherical-bearing .sb-quote-form__grid { grid-template-columns: 1fr; }
  .profab-page-spherical-bearing #spb-industry-carousel .pp-carousel__track > * { flex-basis: 82%; }
}
