/* Z purlin spec page. Loaded only by z-purlins-birmingham-al.php via $extra_css.
   Uses the color and font variables from main.css. */

.pz-p { margin-top: 14px; font-size: 16.5px; color: var(--steel); max-width: 72ch; }
.feature-copy h2 + .pz-p { margin-top: 18px; }
.pz-note { margin-top: 22px; font-size: 15px; color: var(--steel); max-width: 84ch; }
.pz-h3 { font-size: 26px; margin-top: 44px; }
.pz-top { margin-bottom: 8px; }

.pz-list { margin: 14px 0 0; padding-left: 20px; max-width: 72ch; color: var(--steel); font-size: 16.5px; }
.pz-list li { margin-top: 8px; }
.pz-list li:first-child { margin-top: 0; }
.pz-list strong { color: var(--ink); }

.pz-tablebox {
  margin-top: 26px; overflow-x: auto;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange);
}
.pz-table { border-collapse: collapse; width: 100%; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.pz-table caption {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .02em; color: var(--charcoal);
}
.pz-table th, .pz-table td { padding: 9px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pz-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); vertical-align: bottom; }
.pz-table thead th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.pz-table tbody th { font-weight: 700; color: var(--ink); }
.pz-table tbody tr:nth-child(even) { background: var(--paper); }
.pz-table tbody tr:last-child th, .pz-table tbody tr:last-child td { border-bottom: 0; }
.pz-table .n { text-align: right; }

.pz-profile { margin-top: 44px; display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 44px; align-items: center; }
.pz-profile h3 { font-size: 26px; }
.pz-profile svg { width: 100%; height: auto; background: var(--white); border: 1px solid var(--line); }
.pz-profile svg .steel { fill: none; stroke: var(--charcoal); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.pz-profile svg .dim, .pz-lapfig .dim { stroke: var(--orange-a11y); stroke-width: 1.2; fill: none; }
.pz-profile svg text, .pz-lapfig text { fill: var(--ink); font-family: var(--font-body); font-size: 13px; }
.pz-key { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 16px 0 0; font-size: 16.5px; }
.pz-key dt { font-weight: 700; color: var(--ink); }
.pz-key dd { margin: 0; color: var(--steel); }
@media (max-width: 760px) { .pz-profile { grid-template-columns: 1fr; gap: 24px; } }

.pz-lapfig { margin: 22px 0 0; }
.pz-lapfig svg { width: 100%; max-width: 680px; height: auto; background: var(--white); border: 1px solid var(--line); }
.pz-lapfig .pur { fill: none; stroke: var(--charcoal); stroke-width: 2; }
.pz-lapfig .end { stroke: var(--charcoal); stroke-width: 1.5; stroke-dasharray: 5 4; }
.pz-lapfig .cl { stroke: var(--steel); stroke-width: 1; stroke-dasharray: 10 4 2 4; }
.pz-lapfig .frame { fill: var(--steel-light); }
.pz-lapfig .slot { fill: var(--orange-a11y); }
.pz-lapfig figcaption { margin-top: 8px; font-size: 14px; color: var(--steel); }

.pz-contact { margin-top: 18px; color: var(--white); font-size: 17px; line-height: 1.7; }

/* Jump links under the banner */
.pz-jump { background: var(--charcoal); border-bottom: 4px solid var(--yellow); }
.pz-jump .wrap { display: flex; flex-wrap: wrap; gap: 6px 8px; padding-top: 12px; padding-bottom: 12px; }
.pz-jump a {
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); text-decoration: none; padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 3px;
}
.pz-jump a:hover, .pz-jump a:focus-visible { border-color: var(--yellow); color: var(--yellow); }

/* Big labelled header that opens each product section */
.pz-product-head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  border-bottom: 4px solid var(--orange); padding-bottom: 14px; margin-bottom: 44px;
}
.pz-product-head span {
  font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  background: var(--charcoal); color: var(--white); padding: 5px 10px; border-radius: 3px;
}
.pz-product-head h2 { font-size: clamp(38px, 5vw, 60px); }
.pz-sub { font-size: 30px; }
#purlins .card-body h3 { font-size: 28px; }

/* Banner headline: PURLINS / products in orange / place */
.hero h1.pz-h1 { max-width: none; font-size: clamp(54px, 8vw, 104px); line-height: .95; }
.pz-h1 span { display: block; }
.pz-h1 .pz-h1-products {
  color: var(--orange); font-size: clamp(30px, 4.4vw, 58px); line-height: 1.05; margin-top: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 1px 2px rgba(0,0,0,.9);
}
.pz-h1 .pz-h1-place { color: var(--white); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; margin-top: 10px; }

/* Wide table with section properties */
.pz-table.pz-wide { font-size: 15px; }
.pz-table.pz-wide th, .pz-table.pz-wide td { padding: 9px 9px; }
.pz-table.pz-wide th:first-child { padding-left: 16px; }
.pz-table.pz-wide thead th { text-transform: none; letter-spacing: .02em; font-size: 13.5px; }

/* Range table for C studs / C purlins */
.pz-table.pz-spec th, .pz-table.pz-spec td { white-space: normal; padding: 12px 16px; font-size: 16.5px; }
.pz-table.pz-spec tbody th { width: 22%; }
.pz-table.pz-spec tbody td:nth-child(2) { font-weight: 700; color: var(--ink); width: 30%; }

/* ---- Structural Studs and Track page ---- */
.pz-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pz-chips li {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .02em;
  background: var(--white); border: 1px solid var(--line); border-bottom: 3px solid var(--orange); padding: 8px 16px;
}
.pz-basis { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--yellow); padding: 24px 26px; margin-top: 8px; }
.pz-basis h3 { font-size: 24px; }
.pz-basis .pz-list { max-width: 90ch; }

.cat-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
details.cat { background: var(--white); border: 1px solid var(--line); }
details.cat > summary {
  cursor: pointer; list-style: none; padding: 16px 20px 16px 52px; position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
}
details.cat > summary::-webkit-details-marker { display: none; }
details.cat > summary::before {
  content: "+"; position: absolute; left: 18px; top: 12px; width: 24px; height: 24px; line-height: 22px; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--white); background: var(--orange-a11y); border-radius: 3px;
}
details.cat[open] > summary::before { content: "\2212"; background: var(--charcoal); }
details.cat > summary span { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; color: var(--charcoal); }
details.cat > summary small { font-size: 15px; color: var(--steel); }
details.cat > summary:hover span, details.cat > summary:focus-visible span { color: var(--orange-a11y); }
details.cat[open] > summary { border-bottom: 1px solid var(--line); }
.cat-page { margin: 0; padding: 18px 20px 6px; }
.cat-page img { display: block; width: 100%; max-width: 1180px; height: auto; margin: 0 auto; border: 1px solid var(--line); background: #fff; }
.cat-page figcaption { margin: 8px auto 12px; max-width: 1180px; font-size: 13.5px; color: var(--steel); }

.pz-specdoc { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 28px 30px; max-width: 980px; }
.pz-specdoc h3 { font-size: 22px; margin-top: 26px; }
.pz-specdoc h3:first-child { margin-top: 0; }
.pz-specdoc p { margin-top: 10px; color: var(--steel); font-size: 16px; }
.pz-specdoc .pz-list { max-width: none; font-size: 16px; }

/* Typed engineering tables */
.pz-tablebox.eng { margin: 0; border: 0; border-top: 0; }
.pz-table.pz-eng { font-size: 13.5px; }
.pz-table.pz-eng caption { font-size: 17px; padding: 12px 14px; }
.pz-table.pz-eng th, .pz-table.pz-eng td { padding: 6px 7px; text-align: right; }
.pz-table.pz-eng thead th { font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--ink); background: var(--paper); }
.pz-table.pz-eng thead tr.grp th { text-align: center; font-family: var(--font-display); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; background: var(--charcoal); color: var(--white); }
.pz-table.pz-eng tbody th { font-weight: 700; }
.pz-table.pz-eng th.dw { text-align: center; vertical-align: middle; font-size: 15px; background: var(--white); border-right: 1px solid var(--line); }
.pz-table.pz-eng .sep { border-left: 2px solid var(--steel-light); }
.pz-table.pz-eng tr.g0 > * { border-top: 2px solid var(--charcoal); }
.pz-table.pz-eng tbody tr:nth-child(even) { background: transparent; }
.pz-table.pz-eng tbody tr:hover td, .pz-table.pz-eng tbody tr:hover th:not(.dw) { background: #fff3d6; }
.pz-table.pz-eng sup { color: var(--orange-a11y); font-weight: 700; }
.eng-note { margin: 0; padding: 12px 20px 16px; font-size: 14px; color: var(--steel); }
.pz-table.pz-wind th, .pz-table.pz-wind td { padding: 5px 9px; }
.pz-tablebox.eng + .pz-tablebox.eng { border-top: 3px solid var(--orange); }
.pz-table.pz-ax { font-size: 12px; }
.pz-table.pz-ax th, .pz-table.pz-ax td { padding: 4px 3px; white-space: nowrap; }
.pz-table.pz-ax td i { font-style: normal; font-size: 10.5px; color: var(--steel); margin-left: 1px; }
.pz-table.pz-ax .na { color: var(--steel-light); }
.pz-table.pz-ax th.ty { text-align: center; vertical-align: middle; background: var(--white); border-right: 1px solid var(--line); }
.pz-table.pz-ax tr.t0 > *:not(.dw) { border-top: 1px solid var(--steel-light); }
.pz-table.pz-ax thead tr.grp th { font-size: 13px; }
.pz-table.pz-js { font-size: 13px; }
.pz-table.pz-js th, .pz-table.pz-js td { padding: 4px 6px; }
.pz-table.pz-js thead tr.grp2 th { text-align: center; font-size: 12px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.pz-table.pz-js .sp2 { border-left: 1px solid var(--line); }
.pz-table.pz-js .na { color: var(--steel-light); }
.pz-table.pz-js thead tr.grp th[rowspan] { vertical-align: middle; }
