.amount-products__tabs-wrap {
  position: relative;
  min-width: 0;
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}

.amount-products__tabs-wrap.has-tab-overflow .amount-products__tabs {
  width: calc(100% - 43px);
}

.amount-products__tabs {
  margin-bottom: 0;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.amount-products__tabs.is-dragging {
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}

.amount-products__tabs-navigation {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 6px;
  bottom: 0;
  display: flex;
  width: 37px;
  align-items: center;
  justify-content: flex-end;
  background: var(--semantic-white);
  pointer-events: none;
}

.amount-products__tabs-navigation[hidden] {
  display: none;
}

.amount-products__tabs-next {
  display: grid;
  width: 37px;
  height: 37px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.amount-products__tabs-next:focus-visible {
  outline: var(--stroke-2) solid var(--brand-primary-dark);
  outline-offset: var(--stroke-1);
}

.amount-products__tabs-next img {
  display: block;
}