.bb-show-gallery-panel { min-width: 0; }

body.bb-product-show .bb-show-gallery-panel .bb-show-gallery.bb-product-gallery {
  aspect-ratio: 1 / 1 !important;
  max-height: min(66svh, 620px);
}

.bb-show-gallery-panel .bb-show-gallery__blur {
  display: block;
  opacity: .44;
}

body.bb-product-show .bb-show-gallery-panel .bb-show-gallery__slide .bb-show-gallery__media {
  object-fit: contain !important;
  background: transparent !important;
}

.bb-show-gallery__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-block-start: .6rem;
}

.bb-show-gallery__choices button {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 50px;
  min-width: 0;
  padding: .28rem .47rem;
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  background: var(--bb-white);
  color: var(--bb-navy);
  font-size: .88rem;
  font-weight: 700;
  text-align: start;
}

.bb-show-gallery__choices button[aria-pressed="true"] {
  border-color: var(--bb-navy);
  background: var(--bb-bg);
}

.bb-show-gallery__choice-thumb {
  position: relative;
  flex: 0 0 52px;
  border-radius: 7px;
  overflow: hidden;
}

.bb-show-gallery__choice-thumb img {
  display: block;
  width: 52px;
  height: 38px;
  object-fit: cover;
}

.bb-show-gallery__choice-thumb i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(7 31 56 / 40%);
  color: white;
  font-size: .65rem;
}

.bb-show-gallery__start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: auto;
  border: 0;
  border-radius: 50%;
  background: var(--bb-white);
  color: var(--bb-navy);
}

.bb-show-gallery__slide.is-playing .bb-show-gallery__start { display: none; }

.bb-show-gallery-panel button:focus-visible {
  outline: 2px solid var(--bb-gold);
  outline-offset: 2px;
}
