#product-id .ab-gallery-strip {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px !important;
  width: min(100%, 465px);
  margin-inline: auto;
}
#product-id .ab-gallery-thumbs {
  grid-area: 1 / 2;
  min-width: 0;
  max-width: 100%;
  justify-self: center;
  padding: 3px;
}
#product-id .ab-gallery-arrows { display: contents !important; }
#product-id .ab-gallery-arrows .ab-dg-prev { grid-area: 1 / 1; }
#product-id .ab-gallery-arrows .ab-dg-next { grid-area: 1 / 3; }
#product-id .ab-gallery-arrows button {
  border-color: transparent !important;
  background: #eae5f8 !important;
  color: #5434c7 !important;
  box-shadow: none !important;
}
#product-id .ab-gallery-arrows button:hover { background: #ded4f5 !important; }
#product-id .ab-gallery-arrows button:focus-visible,
#product-id .ab-gallery-thumb:focus-visible {
  outline: 2px solid #5434c7;
  outline-offset: 2px;
}
#product-id .ab-gallery-thumb { background: transparent !important; }
#product-id .ab-gallery-thumb.ab-active { outline: 2px solid #5434c7; outline-offset: 1px; }
@media (max-width: 480px) {
  #product-id .ab-gallery-thumb { width: 50px !important; height: 60px !important; flex-basis: 50px; }
}
