/* ============================================================
   product-extra.css
   Companion sheet for product detail / product list pages.
   Loaded AFTER modern.css — reuses --copper and existing
   .hero / .about / .products / .product-card / .reveal system,
   and only adds the handful of components those pages need
   that the homepage didn't already define.
   ============================================================ */

/* ---------- Active nav item (product pages sit under Products) ---------- */
.nav-links li.active a{ opacity:1; }
.nav-links li.active a::after{ right:0; }

/* ---------- Mini page hero (title only, no stats/flow) ---------- */
.hero.hero-slim{
  min-height: auto;
  padding: 152px 0 46px;
}
.hero.hero-slim .wrap{
  /* .hero is a flex container, so without an explicit width its .wrap
     child shrink-wraps to content instead of filling to max-width:1200px
     the way the (non-flex) nav wrap does — this pins it to match the nav */
  width: 100%;
}
.hero.hero-slim .hero-content{
  max-width: 780px;
}
.hero.hero-slim h1{
  margin-bottom: 6px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.breadcrumb a{
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .25s ease;
}
.breadcrumb a:hover{ color: var(--copper, #c9762f); }
.breadcrumb .sep{ opacity:.4; }
.breadcrumb .current{ color: var(--copper, #c9762f); }

/* ---------- Detail section layout ---------- */
.detail-section{
  padding: 84px 0;
}
.detail-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px){
  .detail-grid{ grid-template-columns: 1fr; gap: 32px; }
}

.detail-copy .eyebrow{ margin-bottom: 10px; }
.detail-copy h2{
  margin: 0 0 18px;
  line-height: 1.15;
}
.detail-lead{
  font-size: 17px;
  line-height: 1.75;
  opacity: .85;
  margin: 0 0 16px;
}

.detail-media{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}
.detail-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(160deg, transparent 55%, rgba(0,0,0,.35));
  pointer-events:none;
}
.detail-media img{
  display:block;
  width:100%;
  height: 420px;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.detail-media:hover img{ transform: scale(1.12) rotate(.2deg); }
.detail-media .media-frame{
  position:absolute; inset:10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  pointer-events:none;
  z-index: 2;
}
.detail-media .tag-code{
  position:absolute;
  top:22px; left:22px;
  z-index: 3;
  background: rgba(10,12,20,.55);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Feature checklist ---------- */
.feature-list{
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature-item{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.55;
  opacity: .92;
}
.feature-item svg{
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  color: var(--copper, #c9762f);
}
.feature-item:hover svg{ transform: scale(1.15); }
.feature-item svg{ transition: transform .3s ease; }

/* ---------- Inline tag chips (industries served, etc.) ---------- */
.chip-row{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}
.chip{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .03em;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(19,23,34,.14);
  color: var(--steel, #5b6577);
  background: #fff;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.chip:hover{
  border-color: var(--copper, #c9762f);
  color: var(--copper, #c9762f);
  transform: translateY(-2px);
}

/* ---------- Back link ---------- */
.detail-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 8px;
  color: var(--ink, #131722);
  border-color: rgba(19,23,34,.14);
}
.detail-back:hover{
  border-color: var(--copper, #c9762f);
}
.detail-back svg{ width:16px; height:16px; transition: transform .25s ease; }
.detail-back:hover svg{ transform: translateX(-4px); }

/* ---------- Related products heading spacing ---------- */
.related-head{ margin-bottom: 28px; }

/* ---------- Static (non-linked) category card, for product list ---------- */
.product-card.static{
  cursor: default;
}
.product-card.static::after{ display:none; }
.product-card.static .card-link{
  opacity: .55;
}
.product-card.static:hover{
  transform: none;
}

/* ---------- Small count badge on list hero ---------- */
.range-note{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--steel, #5b6577);
  margin-top: 18px;
}
.range-note .dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--copper, #c9762f);
  box-shadow: 0 0 0 4px rgba(201,118,47,.18);
}
