/* Product pages: hardware gallery, transducer models, dark render placeholders.
   Enqueued after envs.css by the Phase 1 loop in functions.php. */

/* Placeholder for a render that does not exist yet, on dark sections */
.envs-img--placeholder-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--envs-img-ph-dark);
  border: 1px dashed #3d5a74;
  font: 500 13px/1.4 var(--envs-cond);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--envs-dark-muted-2);
  text-align: center;
  padding: 24px;
}

/* Range stage: a graphic panel for a range that has no public pictures (ENVS2).
   Built on the layered-media stage: blueprint grid, sonic rings, and the range name in outline. */
.envs-range-stage { margin-bottom: 0; }
.envs-range-stage > .envs-layer-stage { min-height: 600px; }
.envs-range-stage .envs-layer-stage__rings > .envs-fx--rings { --fx-size: 760px; }
.envs-range-stage__mark {
  position: absolute;
  left: 28px;
  bottom: 22px;
  z-index: 2;
  font: 700 clamp(84px, 9vw, 128px)/.9 var(--envs-cond);
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5);
  pointer-events: none;
}
@media (max-width: 781px) {
  .envs-range-stage > .envs-layer-stage { min-height: 320px; }
  .envs-range-stage__mark { left: 18px; bottom: 14px; }
}

/* Stage (envs_render_stage): the same graphic panel wherever a product or model has no public
   picture, at whatever height the picture would have had (--h from the .envs-img--hNNN class). */
.envs-img.envs-stage {
  container-type: inline-size;
  height: var(--h, 320px);
  background: radial-gradient(120% 90% at 30% 34%, #15344f 0%, #0b2236 46%, #06131f 100%);
  border: 1px solid var(--envs-line-dark, #244058);
}
.envs-stage > .envs-fx--rings { --fx-size: 150%; --fx-y: 44%; }
.envs-stage__mark {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 7%;
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
  font: 700 28px/.95 var(--envs-cond);
  font-size: clamp(26px, min(calc(var(--h, 320px) * .2), 16cqw), 128px);
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, .55);
  pointer-events: none;
}

/* Transducer model cards */
.envs-model .envs-card__body { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.envs-model--coming { border-style: dashed; border-color: #c7d0d8; }
.envs-model__badge { flex: none; }

/* Models table: four columns */
.envs-models__table .envs-spec-row { grid-template-columns: 180px 110px minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; }
.envs-models__head { background: var(--envs-surface); font: 600 12px/1.2 var(--envs-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--envs-text-muted); }
.envs-models__head > span { color: inherit; font-weight: inherit; }

@media (max-width: 900px) {
  .envs-models__table .envs-spec-row { grid-template-columns: 140px 90px minmax(0, 1fr); }
  .envs-models__table .envs-spec-row > span:last-child { grid-column: 1 / -1; padding-left: 0; }
}
@media (max-width: 600px) {
  .envs-models__table .envs-spec-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .envs-models__head { display: none; }
  .envs-model .envs-card__body { flex-direction: column; align-items: flex-start; }
}
