﻿ /* ============================================================
   PIPE ROOFING SYSTEM — Product Page
   Inherits: style.css variables
   ============================================================ */

/* ── 1. HERO ─────────────────────────────────────────────── */
.pr-hero {
  position: relative;
  min-height: 580px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

/* .rs-hero-overlay defined globally in style.css */

.pr-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pr-hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pr-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.pr-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.pr-hero-title em {
  font-style: normal;
  color: #fff;
}

.pr-hero-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.pr-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.pr-hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pr-hero-img-wrap {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
  background: rgba(255,255,255,.06);
}

.pr-hero-img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.pr-hero-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--text-700));
  z-index: 3;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.75);
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline-white:hover {
  border-color: rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ── 2. BROCHURE DOWNLOAD ────────────────────────────────── */
.pr-brochure {
  padding: 40px 0;
  background: var(--text-900);
  display: none;
}

.pr-brochure-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
}

.pr-brochure-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin: 8px 0 10px;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.pr-brochure-desc {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin: 0;
  max-width: 440px;
}

.pr-brochure-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.pr-brochure-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.pr-brochure-card-icon {
  font-size: 1.6rem;
  color: var(--red);
  flex-shrink: 0;
}

.pr-brochure-card-sub {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 3px;
}

.pr-brochure-card-name {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
}

.pr-brochure-card-dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.pr-brochure-card-dl i { font-size: 1rem; color: rgba(255,255,255,.6); }

/* ── 3. OVERVIEW ─────────────────────────────────────────── */
.pr-overview {
  padding: 80px 0;
  background: #fff;
  /* border-top: 3px solid var(--red); */
}

.pr-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.pr-overview-text .label { margin-bottom: 14px; }

.pr-overview-text .h-section { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 0 0 20px; }

.pr-overview-body {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--text-500);
  margin: 0 0 16px;
}

.pr-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pr-standard-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  background: var(--bg-soft);
  text-transform: uppercase;
}

.pr-overview-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  /* border: 1px solid var(--border-light); */
  /* box-shadow: var(--shadow-md); */
}

.pr-overview-img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── 4. APPLICATIONS ─────────────────────────────────────── */
.pr-applications {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.pr-applications-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.pr-applications-header .h-section { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 8px 0 0; }

.pr-applications-note {
  flex: 1;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-500);
  margin: 0;
  max-width: 400px;
}

.pr-applications-grid {
  overflow: hidden;
}

.pr-application-row {
  display: grid;
  grid-template-columns: 80px 160px 1fr;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  transition: filter .15s;
}

.pr-application-row:nth-child(odd)  { background: var(--bg-muted); }
.pr-application-row:nth-child(even) { background: var(--bg-soft); }
.pr-application-row:hover { filter: brightness(.97); }

.pr-application-num {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--red);
  line-height: 1;
}

.pr-application-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-900);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
  width: fit-content;
}

.pr-application-text {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-500);
  margin: 0;
}

/* ── 5. FEATURES & BENEFITS ──────────────────────────────── */
.pr-features {
  padding: 80px 0;
  /* background: var(--bg-soft); */
  border-top: 1px solid var(--border-light);
}

.pr-features-wrap {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.pr-features-left {
  position: sticky;
  top: 100px;
}

.pr-features-left .label { margin-bottom: 12px; }

.pr-features-left .h-section { font-size: clamp(1.6rem, 2.5vw, 2.4rem); margin: 0 0 20px; }

.pr-features-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-500);
  margin: 0 0 32px;
}

.pr-adv-grid {
  display: flex;
  flex-direction: column;
}

.pr-adv-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.pr-adv-card:last-child { border-bottom: none; }

.pr-adv-num {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pr-adv-text {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text-900);
  margin: 0;
}

/* ── 6. TECHNOLOGICAL FEATURES ───────────────────────────── */
.pr-tech {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.pr-tech-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.pr-tech-header .h-section { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 8px 0 0; }

.pr-tech-intro {
  flex: 1;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-500);
  margin: 0;
  max-width: 400px;
}

.pr-tech-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pr-tech-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  /* box-shadow: var(--shadow-sm); */
}

.pr-tech-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.pr-tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  height: 100%;
}

.pr-tech-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 45px 24px 24px;
  border-radius: 5px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pr-tech-card:nth-child(odd)  { background: var(--bg-muted); }
.pr-tech-card:nth-child(even) { background: var(--bg-soft); border:1px solid #ebe3cf;   }

.pr-tech-card:hover {
  transform: translateY(-2px);
}

.pr-tech-card-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.pr-tech-card-desc {
  font-size: .85rem;
  font-weight: 800;
  color: var(--text-700);
  line-height: 1.5;
  letter-spacing: .01em;
  position: relative;
  text-transform: uppercase;
  margin: 0;
}

.pr-tech-card-badge {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  border-radius: 20px;
  padding: 3px 10px;
  width: fit-content;
  position: relative;
  background: var(--bg-muted);
}

/* ── 7. TECHNICAL SPECIFICATIONS ─────────────────────────── */
.pr-specs {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.pr-specs-header {
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.pr-specs-header .label { margin-bottom: 14px; }

.pr-specs-header .h-section { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 0; }

.pr-specs-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pr-specs-caption {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 8px 20px;
  min-width: 700px;
}

.pr-specs-matrix {
  min-width: 700px;
}

.pr-specs-matrix-head,
.pr-specs-matrix-row {
  display: grid;
  grid-template-columns: 200px repeat(7, 1fr);
}

.pr-specs-matrix-head {
  background: var(--text-900);
}

.pr-specs-matrix-th {
  padding: 12px 14px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border-right: 1px solid rgba(255,255,255,.07);
  text-align: center;
}

.pr-specs-matrix-th--label {
  color: rgba(255,255,255,.9);
  text-align: left;
}

.pr-specs-matrix-th:last-child { border-right: none; }

.pr-specs-matrix-row {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

.pr-specs-matrix-row:last-child { border-bottom: none; }
.pr-specs-matrix-row--alt { background: var(--bg-soft); }
.pr-specs-matrix-row:hover { background: var(--bg-muted); }

.pr-specs-matrix-td {
  padding: 14px 14px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-700);
  border-right: 1px solid var(--border-light);
  text-align: center;
}

.pr-specs-matrix-td--label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-500);
  text-align: left;
}

.pr-specs-matrix-td:last-child { border-right: none; }

/* ── 8. SYSTEM COMPONENTS ────────────────────────────────── */
.pr-system {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.pr-system-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.pr-system-header .h-section { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 8px 0 0; }

.pr-system-note {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-500);
  letter-spacing: .04em;
  flex-shrink: 0;
}

.pr-system-diagram {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  margin-bottom: 48px;
  padding: 15px;
}

.pr-system-diagram img {
  /* width: 100%; */
  display: block;
  object-fit: contain;
  margin:0 auto;
  /* max-height: 480px; */
}

.pr-components-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.pr-component-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

.pr-component-item:last-child { border-bottom: none; }
.pr-component-item:hover { background: var(--bg-soft); }

.pr-component-num {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pr-component-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-900);
  text-transform: uppercase;
  line-height: 1.4;
}

.pr-component-bullets {
  margin: 8px 0 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pr-component-bullets li {
  font-size: .82rem;
  color: var(--text-500);
  line-height: 1.6;
}

.pr-optional-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-500);
  padding: 15px 28px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
}

/* ── 9. SYSTEM DIAGRAM ───────────────────────────────────── */
.pr-diagram {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.pr-diagram-header {
  margin-bottom: 40px;
}

.pr-diagram-header .label { margin-bottom: 12px; }

.pr-diagram-header .h-section { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 0; }

.pr-diagram-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  /* box-shadow: var(--shadow-md); */
  background: var(--bg-soft);
  margin-bottom: 28px;
}

.pr-diagram-img img {
  /* width: 100%; */
  display: block;
  object-fit: contain;
  margin:30px auto
  /* max-height: 520px; */
}

.pr-diagram-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pr-diagram-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-900);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  background: var(--bg-soft);
}

/* ── 10. DETAILS ─────────────────────────────────────────── */
.pr-details {
  padding: 80px 0;
  /* background: var(--bg-soft); */
  border-top: 1px solid var(--border-light);
}

.pr-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 36px 32px;
  border-bottom: none;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.pr-detail-row:last-child { margin-bottom: 0; }

/* .pr-detail-row--alt { background: var(--bg-muted); border-bottom: none; } */
.pr-detail-row--alt .pr-detail-img   { order: -1; }
.pr-detail-row--alt .pr-detail-content { order: 1; }

.pr-detail-row--full {
  grid-template-columns: 1fr;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  border: 1px solid var(--border-light);
}

.pr-detail-row--full .pr-detail-label {
  border-bottom: none;
  padding-bottom: 0;
}

.pr-detail-label {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--text-900);
  line-height: 1.1;
  display: inline-block;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--red);
}

.pr-detail-text {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-500);
  margin: 0 0 20px;
}

.pr-diameter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pr-diameter-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  background: #fff;
}

.pr-welding-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pr-welding-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-700);
}

.pr-welding-item i {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}

.pr-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  /* box-shadow: var(--shadow-md); */
  /* align-self: center; */
  /* display: flex; */
  /* align-items: center; */
}

.pr-detail-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 280px;
}

.pr-detail-img-caption {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-500);
  padding: 10px 16px;
  /* background: var(--bg-muted); */
  border-top: 1px solid var(--border-light);
}

/* ── 11. CTA ─────────────────────────────────────────────── */
.pr-cta {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.pr-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
}

.pr-cta-text .h-section {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--text-700);
  margin: 8px 0 10px;
}

.pr-cta-desc {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text-500);
  margin: 0;
  max-width: 540px;
}

.pr-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .pr-hero { padding: 120px 0 64px; min-height: auto; }
  .pr-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pr-hero-right { justify-content: flex-start; }
  .pr-hero-img-wrap { max-width: 100%; }

  .pr-brochure-inner { grid-template-columns: 1fr; gap: 24px; }

  .pr-overview { padding: 60px 0; }
  .pr-overview-grid { grid-template-columns: 1fr; gap: 40px; }

  .pr-applications { padding: 60px 0; }
  .pr-applications-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pr-applications-note { max-width: 100%; }

  .pr-features { padding: 60px 0; }
  .pr-features-wrap { grid-template-columns: 1fr; gap: 40px; }
  .pr-features-left { position: static; }

  .pr-tech { padding: 60px 0; }
  .pr-tech-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pr-tech-body { grid-template-columns: 1fr; gap: 40px; }

  .pr-tech-intro{max-width: 100%;}
  .pr-specs { padding: 60px 0; }

  .pr-system { padding: 60px 0; }
  .pr-system-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .pr-diagram { padding: 60px 0; }

  .pr-details { padding: 60px 0; }
  .pr-detail-row { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }

  .pr-cta { padding: 60px 0; }
  .pr-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .pr-cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .pr-hero { padding: 100px 0 56px; }
  .pr-hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }


  .pr-application-row { grid-template-columns: 30px 1fr; grid-template-rows: auto auto; gap: 8px 24px; padding: 20px 24px; }
  .pr-application-text { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .pr-cta-actions { flex-direction: column; align-items: stretch; }
  .pr-detail-img img { height: 220px; }
}
