﻿ /* ============================================================
   ANCHOR PLATES — Product Page
   Inherits: style.css variables
   ============================================================ */

/* ── 1. HERO ─────────────────────────────────────────────── */
.ap-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 */

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

.ap-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;
}

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

.ap-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;
}

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

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

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

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

.ap-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);
}

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

.ap-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. OVERVIEW ─────────────────────────────────────────── */
.ap-overview {
  padding: 80px 0;
  background: #fff;
  /* border-top: 3px solid var(--red); */
}

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

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

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

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

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

.ap-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;
}

/* Spec panel */
.ap-spec-panel {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ap-spec-metrics {
  background: var(--text-700);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ap-spec-metric {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}

.ap-spec-metric:last-child { border-right: none; }

.ap-spec-metric-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.ap-spec-metric-num span {
  font-size: .65em;
  font-weight: 600;
  opacity: .7;
}

.ap-spec-metric-label {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(206 51 45);
  font-weight: 600;
}

.ap-spec-table { display: flex; flex-direction: column; }

.ap-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  gap: 12px;
  transition: background var(--transition);
}

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

.ap-spec-row-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-500);
  white-space: nowrap;
}

.ap-spec-row-value {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-900);
  text-align: right;
}

/* ── 3. KEY FEATURES ─────────────────────────────────────── */
.ap-features {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.ap-features-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);
}

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

.ap-features-note {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-500);
  max-width: 360px;
  margin: 0;
}

.ap-features-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.ap-features-grid {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.ap-features-imgs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.ap-features-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.ap-features-img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.ap-features-img-wrap:hover img { transform: scale(1.04); }

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

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

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

.ap-feature-title {
  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;
}

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

/* ── 4. THREAD INSERT ANCHORS ────────────────────────────── */
.ap-insert {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
}

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

.ap-insert-left {
  position: sticky;
  top: 100px;
}

.ap-insert-left .label { margin-bottom: 12px; }

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

.ap-insert-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-500);
  margin: 0 0 16px;
}

.ap-insert-left .btn { margin-top: 16px; }

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

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

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

.ap-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;
}

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

/* ── 5. BAR DIAMETER TABLE ───────────────────────────────── */
.ap-sizes {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

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

.ap-sizes-header-left { flex: 0 0 auto; }

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

.ap-sizes-desc {
  flex: 1;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-500);
  margin: 0;
  max-width: 440px;
}

.ap-sizes-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

.ap-sizes-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.ap-sizes-img-wrap img {
  width: 100%;
  display: block;
  object-fit: contain;
}
.ap-sizes-img-caption {
  padding: 8px 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-500);
  border-top: 1px solid var(--border-light);
  background: var(--bg-soft);
}

.ap-sizes-table-wrap {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  /* box-shadow: var(--shadow-sm); */
}

.ap-sizes-table-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
  background: var(--text-700);
  color: #fff;
  padding: 14px 24px;
  gap: 20px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ap-sizes-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
  padding: 12px 24px;
  gap: 20px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  transition: background var(--transition);
}

.ap-sizes-row:last-child { border-bottom: none; }
.ap-sizes-row-alt { background: #fff; }
.ap-sizes-row:hover { background: var(--bg-muted); }

.ap-sizes-dia {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -.01em;
}

.ap-sizes-val {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-700);
}

.ap-sizes-mat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ap-sizes-note {
  margin-top: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-500);
  text-align: center;
}

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

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

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

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

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

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

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

  .ap-features { padding: 60px 0; }
  .ap-features-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ap-features-note { max-width: 100%; }
  .ap-features-body { grid-template-columns: 1fr; }
  .ap-features-imgs { flex-direction: row; position: static; }
  .ap-features-img-wrap { flex: 1; }
  .ap-feature-row { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; gap: 8px 0; }
  .ap-feature-desc { grid-column: 1 / -1; }

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

  .ap-sizes { padding: 60px 0; }
  .ap-sizes-header { flex-direction: column; align-items: flex-start; gap: 16px; }

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

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

  .ap-feature-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 24px; }
  .ap-sizes-body { grid-template-columns: 1fr; }
  .ap-sizes-img-wrap { max-width: 320px; margin: 0 auto; }

  .ap-sizes-table-head,
  .ap-sizes-row { grid-template-columns: 1fr 1fr 1fr; }
  .ap-sizes-table-head span:last-child,
  .ap-sizes-row .ap-sizes-mat { display: none; }
}

@media (max-width: 480px) {
  .ap-spec-metrics { grid-template-columns: 1fr 1fr; }
  .ap-spec-metrics { grid-template-columns: 1fr; }
  .ap-spec-metric { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .ap-spec-metric:last-child { border-bottom: none; }
  .ap-cta-actions { flex-direction: column; align-items: stretch; }
  .ap-sizes-table-head,
  .ap-sizes-row { grid-template-columns: 1fr 1fr; }
  .ap-sizes-table-head span:nth-child(3),
  .ap-sizes-row .ap-sizes-val:last-of-type { display: none; }
}
