/* Still product photos, with a gentle crossfade between colorways. */
.hero-gallery {
  width: min(440px, 100%);
  min-width: 0;
}
.hero-gallery-photos {
  display: block;
  position: relative;
  color: var(--cream);
  text-decoration: none;
  border-radius: 16px;
  aspect-ratio: 1;
  overflow: visible;
  background: transparent;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.28));
  opacity: 0;
  transition: opacity 650ms ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.hero-gallery-controls[hidden] { display: none; }
.hero-gallery-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(238, 246, 232, 0.22);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(8, 20, 14, 0.3);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.hero-gallery-controls button:hover { border-color: var(--lime); }
.hero-gallery-controls button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.hero-gallery-count {
  min-width: 3.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.hero-gallery-controls .hero-gallery-toggle { min-width: 76px; }
@media (max-width: 900px) {
  .hero-gallery { width: min(380px, 100%); }
}
@media (max-width: 560px) {
  .hero-gallery { width: min(340px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.hero-gallery-photos:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 6px;
}
