/* Shared dimensions keep the hero steady across product artwork and studio photos. */
.bb-hero-gallery__stage { display: grid; position: relative; z-index: 1; }
.bb-hero-gallery__slide { grid-area: 1 / 1; margin: 0; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.bb-hero-gallery__slide.is-current { opacity: 1; visibility: visible; pointer-events: auto; }
.bb-hero-gallery .bb-home-hero__image { width: 100%; height: auto; aspect-ratio: 820 / 830; object-fit: contain; }
.bb-hero-gallery__slide[data-fit=cover] .bb-home-hero__image { object-fit: cover; border-radius: var(--bb-radius-lg); }
.bb-hero-gallery figcaption { overflow-wrap: anywhere; }
.bb-hero-gallery__controls { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--bb-space-2); margin-top: var(--bb-space-3); }
.bb-hero-gallery__controls[hidden] { display: none; }
.bb-hero-gallery__controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--bb-color-primary); border-radius: var(--bb-radius-pill); background: var(--bb-color-canvas); color: var(--bb-color-primary); padding: var(--bb-space-2) var(--bb-space-3); font: inherit; cursor: pointer; }
.bb-hero-gallery__controls button:hover { background: var(--bb-color-blush); }
.bb-hero-gallery__controls button:focus-visible { outline: 2px solid var(--bb-color-primary); outline-offset: 3px; }
.bb-hero-gallery__controls [data-hero-count] { min-width: 4ch; text-align: center; font-size: var(--bb-text-sm); }
@media (prefers-reduced-motion: no-preference) {
  .bb-hero-gallery__slide { transition: opacity 400ms ease-out, visibility 0s linear 400ms; }
  .bb-hero-gallery__slide.is-current { transition: opacity 400ms ease-out, visibility 0s; }
}
