.othercolors-default__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
}

.othercolors-default__grid::-webkit-scrollbar {
  background: transparent;
  display: none;
  width: 0 !important
}

.othercolors-default__grid::-webkit-scrollbar-thumb {
  background: transparent;
}

.othercolors-default__grid::-webkit-scrollbar-track {
  background: transparent;
}

.othercolors-default__plus,
.othercolors-default__minus {
  display: none;
}

.othercolors-default__item {
  text-align: center;
}

.othercolors-default__item img {
  border: 2px solid transparent;
  max-width: 100px;
  height: auto;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.othercolors-default__item a:hover img,
.othercolors-default__item.othercolors-default__current a img {
  border-color: #000;
}

@media (min-width: 768px) {
    .othercolors-default__grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      grid-gap: 10px;
      justify-content: space-between;
      grid-auto-rows: 1fr;
    }

    .othercolors-default__plus,
    .othercolors-default__minus {
      -webkit-user-select: none; /* Safari */
      -ms-user-select: none; /* IE 10 and IE 11 */
      user-select: none; /* Standard syntax */
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.05);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      cursor: pointer;
      border: 2px solid transparent;
    }

    .othercolors-default__item.othercolors-default__hidden {
      display: none;
    }

  .othercolors-default__item img {
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .othercolors-default__grid {
    grid-template-columns: repeat(5, auto);
    justify-content: start;
  }

  .othercolors-default__plus,
  .othercolors-default__minus {
    --width: 100%;
    width: var(--width);
  }
}