/* Profab Machine — Stainless Steel Tie Rod product page. Built 2026-09-29
   from the existing live Elementor page's real content (extracted 2026-09-24
   research + 2026-09-28 content review), with 7 fact/wording fixes applied
   (see pages/rebuild/stainless-steel-tie-rod-review.md) and this being a
   configurable-assembly product rather than a fixed-SKU product line, unlike
   Ball Joint/Clevis's named-series grids. Shared tokens and cross-page-reusable
   patterns (.pp-card, .pp-feature, .pp-carousel, .sb-table, .sb-grade-card,
   .sb-related-card, .pp-steps) come from product-base.css, reused identically
   to every other rebuild-track page. */

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

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

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

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

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

/* ---------- Configuration Options (in place of a named-series grid --
   tie rods are a configurable assembly, not fixed SKUs; owner confirmed
   2026-09-29 that whole assemblies and bare components are both sellable
   and every end type/thread/construction is customizable) ---------- */

.profab-page-tie-rod .tr-config-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.profab-page-tie-rod .tr-config-grid .pp-card__body .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.85rem; }

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

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

/* ---------- Grade / material comparison (BLUE block) ---------- */

.profab-page-tie-rod .tr-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.profab-page-tie-rod .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-tie-rod .sb-grade-card h3 { color: #FFFFFF; font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.profab-page-tie-rod .sb-grade-card p { color: #FFFFFF; font-size: 0.95rem; margin-bottom: 12px; }

/* ---------- Applications by Industry -- uses the shared .pp-carousel/
   .pp-cta-card pattern with 5 REAL photos from the live source page
   (rendered there via Elementor's background-image call-to-action widget,
   not a plain <img> tag -- missed on the first build, found on re-check).
   3-per-row is the site standard for this carousel (see
   skills/profab-product-page-review/SKILL.md), not product-base.css's
   generic 4-per-row default. Text-size/centering override below is the
   same 3-line block every other page defines for its own industry
   carousel -- product-base.css's .pp-cta-card default (1.15rem/0.9rem,
   bottom-aligned) was never meant to be the final rendering. */
.profab-page-tie-rod #tr-industry-carousel .pp-carousel__track > * { flex-basis: calc(33.333% - 14.67px); }
.profab-page-tie-rod #tr-industry-carousel .pp-cta-card { aspect-ratio: 4 / 3; align-items: center; }
.profab-page-tie-rod #tr-industry-carousel .pp-cta-card__body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.profab-page-tie-rod #tr-industry-carousel .pp-cta-card__body p { font-family: var(--font-body); font-size: 17px; }

/* ---------- Content blocks (image+text feature rows) media wrapper ---------- */

.profab-page-tie-rod .tr-content-media img {
  width: 100%;
  border-radius: var(--radius-card-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Content-block accent heading -- same pattern as Boat Cleats' bc-accent-heading:
   5px solid blue left rule with 10px left padding. Was used in tie-rod.html
   from the start but never defined here -- headings rendered with no accent
   styling at all until this was caught. */
.profab-page-tie-rod .bc-accent-heading {
  border-left: 5px solid var(--pp-blue);
  padding-left: 10px;
}

/* ---------- Why Profab (navy section) ---------- */

.profab-page-tie-rod .sb-why-row {
  display: flex;
  gap: 41px;
  margin-bottom: 48px;
}
.profab-page-tie-rod .sb-why-item { flex: 1; }
.profab-page-tie-rod .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-tie-rod .sb-why-item h3 { font-family: var(--font-heading); color: #F1ECEC; font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.profab-page-tie-rod .sb-why-item p { font-family: var(--font-heading); font-weight: 400; color: #D6D3D3; font-size: 16px; margin: 0; }

/* ---------- Companion Kits ("Build a Complete System") -- image-LEFT row
   pattern, matching the actual site-standard used by Clevis/Rod End/
   Spherical Bearing (.cv-kit-row / .rd-kit-row / .spb-kit-row: a single
   column of horizontal rows with a fixed 240px image on the left, not a
   3-column grid of vertical image-top cards -- that grid layout was a
   one-off invention on the first build and never matched any real page.
   Real per-item photos DO exist in the source content -- they were missed
   on the first build because Elementor renders them as a call-to-action
   widget's background-image, not a plain <img> tag (the exact failure mode
   skills/profab-product-page-review/SKILL.md already warns about). */

.profab-page-tie-rod .tr-kit-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profab-page-tie-rod .tr-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-tie-rod .tr-kit-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.profab-page-tie-rod .tr-kit-row img { width: 240px; height: auto; object-fit: cover; flex-shrink: 0; }
.profab-page-tie-rod .tr-kit-row__body { padding: 20px 24px 20px 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.profab-page-tie-rod .tr-kit-row__body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin: 0; }
.profab-page-tie-rod .tr-kit-row__body p { font-family: var(--font-heading); font-weight: 400; color: var(--pp-muted); font-size: 16px; margin: 0; }
.profab-page-tie-rod .tr-kit-row__body .btn { align-self: flex-start; margin-top: 4px; }

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

.profab-page-tie-rod .tr-finish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.profab-page-tie-rod .tr-finish-card {
  background: var(--pp-blue-tint);
  border-radius: var(--radius-card);
  padding: 22px 20px;
}
.profab-page-tie-rod .tr-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: 12px;
}

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

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

/* ---------- How to Order note ---------- */

.profab-page-tie-rod .tr-order-note {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-top: 24px;
}

/* ---------- Related Products ("Often Ordered Together") -- same
   .sb-related-card block every other page defines for itself (it is not in
   product-base.css). Missing entirely on the first build, so the <a> wrapper
   and its <h3> fell back to browser-default blue underlined link styling
   instead of the intended ink-black card treatment. ---------- */

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

/* ---------- Final CTA + RFQ form (solid BLUE, ghost "Profab" watermark) --
   same .sb-quote block every other page defines for itself (also not in
   product-base.css). Missing entirely on the first build, which is the
   direct cause of the quote form -- the actual bottom section of the page --
   rendering completely unstyled. ---------- */

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

@media (max-width: 980px) {
  .profab-page-tie-rod .tr-hero__grid { grid-template-columns: 1fr; }
  .profab-page-tie-rod .tr-config-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-tie-rod .tr-grade-grid,
  .profab-page-tie-rod .tr-finish-grid { grid-template-columns: 1fr; }
  .profab-page-tie-rod .tr-kit-row { flex-direction: column; }
  .profab-page-tie-rod .tr-kit-row img { width: 100%; height: auto; aspect-ratio: 4/3; }
  .profab-page-tie-rod .tr-kit-row__body { padding: 16px 20px 20px; }
  .profab-page-tie-rod .sb-why-row { flex-direction: column; gap: 26px; }
  .profab-page-tie-rod .sb-faq-layout { flex-direction: column; }
  .profab-page-tie-rod .sb-faq-aside { flex-basis: auto; }
  .profab-page-tie-rod .sb-quote-layout { grid-template-columns: 1fr; }
  .profab-page-tie-rod #tr-industry-carousel .pp-carousel__track > * { flex-basis: calc(50% - 11px); }
}
@media (max-width: 620px) {
  .profab-page-tie-rod .tr-config-grid { grid-template-columns: 1fr; }
  .profab-page-tie-rod .sb-quote-form__grid { grid-template-columns: 1fr; }
  .profab-page-tie-rod #tr-industry-carousel .pp-carousel__track > * { flex-basis: 82%; }
}

/* Grade cards: the tag row sits at the bottom of every card so the tags line up across the row (2026-10-08) */
.profab-page-tie-rod .tr-grade-grid .sb-grade-card { display: flex; flex-direction: column; }
.profab-page-tie-rod .tr-grade-grid .sb-grade-card p { flex-grow: 1; }
.profab-page-tie-rod .tr-grade-tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
