/* The crew that changes a product on the hero stage. Hands, frames and size badges are the shared ones from v2-flow.css. */
/* the side products float in front of the card (owner's request, 2026-11-06); the one being worked on comes in front of the others */
.hero-shots .hero-product:not(.hero-shop) { z-index: 2; }
.hero-shots .hero-product.is-held:not(.hero-shop) { z-index: 3; }
.hero-shots.run .hero-product.is-held,
.hero-shots.run .hero-product.is-held .hero-shop-media > img { animation-play-state: paused; }   /* a frame can only sit on something that holds still */

/* the first load: the stage waits empty for the crew (v2-hero-products.js); the page head sets the class, and a timer removes it if the scripts never come */
html.hero-first .hero-product:not(.hero-shop) > img,
html.hero-first .hero-shop,
html.hero-first .hero-shop-top,
html.hero-first .hero-shop-media > img,
html.hero-first .hero-shop-variants { opacity: 0; }

/* the same wait on the WhatsApp and Sila Studio pages (v2-stage-build.js) */
html.stage-first .ag-hero .fstage,
html.stage-first .ag-hero .hx-card,
html.stage-first .ag-hero .st-comp { opacity: 0; }

.hero-crew {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  direction: ltr;
}
.hero-crew .sf-box { box-shadow: none; }
.hero-crew .sf-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-crew .sf-dim { top: auto; bottom: 7px; }
.hero-crew .hero-slot { background: rgba(176, 180, 222, .13); }
html[data-theme="light"] .ag-hero .hero-crew .hero-slot { background: rgba(120, 124, 180, .16); }

/* text selected before it is typed again */
.hero-mark {
  position: absolute;
  border-radius: 3px;
  background: rgba(91, 99, 230, .58);
}
.hero-caret {
  position: absolute;
  width: 1.5px;
  background: #ff9b85;
  animation: hero-caret 1s steps(1) infinite;
}
@keyframes hero-caret { 50% { opacity: 0; } }

/* the red distance between a product and its copy, on the way down or up */
.hero-crew .hero-gap { width: 1px; height: 0; }
.hero-crew .hero-gap b { left: 7px; top: 50%; translate: 0 -50%; }

@media (prefers-reduced-motion: reduce) {
  .hero-crew { display: none; }
}
