/* Quiet product navigation for the approved bright homepage. */
.hero-carousel { min-width: 0; width: 100%; }
.hero-carousel [hidden] { display: none !important; }
.hero-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1.5;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  touch-action: pan-y pinch-zoom;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
}
.hero-carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-carousel .hero-carousel-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
.hero-carousel-slide:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -6px;
}
.hero-carousel-slide.is-failed { opacity: 0; pointer-events: none; }
.hero-carousel-unavailable {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #52677e;
  font-size: 14px;
  text-align: center;
}
.hero-carousel-controls { padding-top: 12px; }
.hero-carousel-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}
.hero-carousel-current {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}
.hero-carousel-progress {
  flex: 0 0 auto;
  min-width: 4.5ch;
  color: var(--subtle);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-carousel-actions { display: flex; align-items: center; gap: 5px; }
.hero-carousel [data-carousel-action] {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease;
}
.hero-carousel [data-carousel-action='toggle'] { font-size: 14px; }
.hero-carousel [data-carousel-action]:hover {
  color: var(--accent);
  background: var(--surface-hover);
}
.hero-carousel button:focus-visible { outline-offset: 3px; }
.hero-carousel button:disabled { opacity: .4; cursor: default; }
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 5px;
  gap: 0;
}
.hero-carousel-dots button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  padding: 0;
  color: var(--subtle);
  background: transparent;
}
.hero-carousel-dots button::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}
.hero-carousel-dots button[aria-current='true']::before {
  width: 16px;
  border-radius: 6px;
  background: var(--accent);
}
.hero-carousel-dots button:hover::before { background: var(--accent); }
@media (max-width: 1023px) {
  .hero-carousel-viewport { aspect-ratio: 1.2; }
  .hero-carousel-bar { gap: 8px; }
  .hero-carousel-actions { gap: 3px; }
  .hero-carousel [data-carousel-action] { width: 40px; height: 40px; }
  .hero-carousel-current { font-size: 13px; }
}
@media (max-width: 767px) {
  .hero-carousel-viewport { aspect-ratio: 1.52; border-radius: 20px; }
  .hero-carousel-controls { padding-top: 8px; }
  .hero-carousel-bar { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
  .hero-carousel-current { grid-column: 1 / -1; min-height: 42px; font-size: 14px; }
  .hero-carousel-actions { gap: 6px; }
  .hero-carousel [data-carousel-action] { width: 44px; height: 44px; }
  .hero-carousel-progress { font-size: 12px; }
  .hero-carousel-dots { margin-top: 3px; }
  .hero-carousel-dots button { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide, .hero-carousel [data-carousel-action] { transition: none; }
}
