.jupiterx-gallery-images-preview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 15px;
  gap: 10px;
}

.jupiterx-gallery-images-preview .jupiterx-product-variation-gallery-single-image-wrapper {
  position: relative;
  width: 64px;
  cursor: move;
}

.jupiterx-gallery-images-preview .jupiterx-product-variation-gallery-single-image-wrapper .jx-remove-gallery-item {
  display: inline-block;
  position: absolute;
  width: 100%;
  text-indent: -9999px;
}

.jupiterx-gallery-images-preview .jupiterx-product-variation-gallery-single-image-wrapper .jx-remove-gallery-item:before {
  position: absolute;
  top: -10px;
  left: -5px;
  width: 1em;
  height: 1em;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  color: #999;
  font-family: Dashicons;
  font-size: 16px;
  font-variant: normal;
  font-weight: 400;
  text-align: center;
  text-indent: 0;
  text-transform: none;
  content: "\f153";
  cursor: pointer;
}

.jupiterx-gallery-images-preview .jupiterx-product-variation-gallery-single-image-wrapper img {
  display: block;
  width: 100%;
  height: 64px;
  max-height: 64px;
  margin: auto;
  border-radius: 4px;
}

.jupiterx-gallery-images-preview .ui-sortable-placeholder {
  display: block;
  min-width: 50px;
  height: 50px;
}

.woocommerce_variable_attributes .upload_image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.jupiterx-variation-gallery-wrap-replaced {
  width: 100%;
}
