/* Profab Machine — Stainless Steel Spray Balls product page. Built 2026-09-23
   from the existing live Elementor page's own copy after a content review —
   see pages/rebuild/stainless-steel-spray-balls-review.md for the fact
   conflicts (FDA/3-A/EHEDG certification claims, invented numeric specs, a
   Material Specification section copy-pasted from Shackles/Turnbuckles with
   a nonsensical "ball joints" reference) fixed here. Research phase was
   delegated to another branch first, see
   pages/调研/findings/stainless-steel-spray-balls-research.md. Page-specific
   layout/content only; shared tokens and cross-page-reusable patterns come
   from product-base.css, reused identically to Shackles/Turnbuckles. */


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

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

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

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

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

/* ---------- Product type grid (Fixed / Rotary, each with its own spec
   table inside the card) ---------- */

.profab-page-spray-balls .sb2-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.profab-page-spray-balls .sb2-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-spray-balls .sb2-type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.profab-page-spray-balls .sb2-type-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-spray-balls .sb2-type-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.profab-page-spray-balls .sb2-type-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.profab-page-spray-balls .sb2-type-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.profab-page-spray-balls .sb2-type-card p { font-family: var(--font-heading); font-weight: 400; color: var(--pp-muted); font-size: 16px; margin: 0 0 16px; }
/* The shared .sb-table sets min-width: 760px for full-width page-level
   tables (e.g. the Selection Guide table below) -- inside a half-width
   type-card that overflowed the card and got clipped. Override to a
   compact, wrap-friendly table scoped to cards only. */
.profab-page-spray-balls .sb2-type-card .sb-table-wrap { margin-bottom: 16px; overflow-x: visible; }
.profab-page-spray-balls .sb2-type-card .sb-table { min-width: 0; width: 100%; table-layout: fixed; font-size: 0.85rem; }
.profab-page-spray-balls .sb2-type-card .sb-table td { padding: 10px 12px; word-break: break-word; }
.profab-page-spray-balls .sb2-type-card .sb-table td:first-child { font-weight: 600; width: 38%; }
.profab-page-spray-balls .sb2-type-card .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.85rem; margin-top: auto; }
.profab-page-spray-balls .sb2-type-card__tags .pp-tag-pill { background: #E8ECFF; color: var(--pp-blue); }

/* ---------- Grade / material comparison (BLUE block, 2-way: 304 vs 316L
   only -- the original page's 17-4PH card was verbatim Shackles/Turnbuckles
   boilerplate ("Specified for ball joints in motorsport, aerospace"), no
   competitor or research support for 17-4PH as a spray-ball material, so
   dropped rather than forced. ---------- */

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

/* ---------- Manufacturing content block ---------- */

.profab-page-spray-balls .bc-accent-heading {
  border-left: 5px solid var(--pp-blue);
  padding-left: 10px;
}
.profab-page-spray-balls .sb2-placeholder-media {
  background: repeating-linear-gradient(45deg, #E2E6EC, #E2E6EC 10px, #EDF0F4 10px, #EDF0F4 20px);
  border: 1px dashed var(--pp-line);
  border-radius: var(--radius-card-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--pp-muted);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ---------- Solutions By Industries carousel ---------- */

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

/* ---------- Why Profab --
   Per the site-wide rule: defaults to dark navy; switches to light tint
   only when a neighbor is also dark. This page's Why Profab sits between
   Applications (tint) and FAQ (tint) -- neither dark -- so it takes the
   navy default. ---------- */

.profab-page-spray-balls .sb-why-row {
  display: flex;
  gap: 41px;
  margin-bottom: 48px;
}
.profab-page-spray-balls .sb-why-item { flex: 1; }
.profab-page-spray-balls .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-spray-balls .sb-why-item h3 { font-family: var(--font-heading); color: #F1ECEC; font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.profab-page-spray-balls .sb-why-item p { font-family: var(--font-heading); font-weight: 400; color: #D6D3D3; font-size: 17px; margin: 0; }
.profab-page-spray-balls #sb2-trust-carousel .pp-carousel__track img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

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

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

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

.profab-page-spray-balls .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-spray-balls .sb-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.profab-page-spray-balls .sb-related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-spray-balls .sb-related-card h3 { margin: 14px 16px 16px; }

/* ---------- How to Order -- MOQ wording matches FACTS-TO-CONFIRM.md
   verbatim ("no hard minimum...typically around 100 pieces"), plus a
   companion-hardware note (CIP pump/tubing/clamps/gaskets), same treatment
   as Turnbuckles/Shackles: a one-line prompt, not a dedicated section. ---------- */

.profab-page-spray-balls .sb2-order-note {
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

/* ---------- Knowledge Base -- 2 real relevant articles. ---------- */

.profab-page-spray-balls .sb2-kb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  gap: 28px;
}
.profab-page-spray-balls .sb2-kb-grid .pp-card { text-decoration: none; color: inherit; }
.profab-page-spray-balls .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-spray-balls .sb-quote { position: relative; overflow: hidden; }
.profab-page-spray-balls .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-spray-balls .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-spray-balls .sb-quote h2 { color: #FFFFFF; }
.profab-page-spray-balls .sb-quote p { color: #E3E3E3; }
.profab-page-spray-balls .sb-quote-email { color: #FFFFFF; font-family: var(--font-heading); font-weight: 700; text-decoration: underline; }
.profab-page-spray-balls .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-spray-balls .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-spray-balls .sb-quote-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.profab-page-spray-balls .sb-quote-form__full { grid-column: 1 / -1; }
.profab-page-spray-balls .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-spray-balls .sb-quote-form input,
.profab-page-spray-balls .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-spray-balls .sb-quote-form__note { font-size: 0.82rem; color: var(--pp-muted); margin: 14px 0 0; }

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

@media (max-width: 980px) {
  .profab-page-spray-balls .sb2-hero__grid,
  .profab-page-spray-balls .sb-quote-layout { grid-template-columns: 1fr; }
  .profab-page-spray-balls .sb-faq-layout { flex-direction: column; }
  .profab-page-spray-balls .sb-faq-aside { flex-basis: auto; }
  .profab-page-spray-balls .sb-why-row { flex-direction: column; gap: 26px; }
  .profab-page-spray-balls #sb2-industry-carousel .pp-carousel__track > * { flex-basis: calc(50% - 11px); }
}

@media (max-width: 620px) {
  .profab-page-spray-balls .sb2-type-grid,
  .profab-page-spray-balls .sb2-grade-grid,
  .profab-page-spray-balls .sb2-kb-grid { grid-template-columns: 1fr; }
  .profab-page-spray-balls .sb-quote-form__grid { grid-template-columns: 1fr; }
  .profab-page-spray-balls #sb2-industry-carousel .pp-carousel__track > * { flex-basis: 82%; }
}
