.upload-label{text-transform: uppercase;}
.products-uploads-field-type-file_upload label {width: 100%;}
.products-uploads-dragandrophandler-container { display: block; width: 100%; margin-bottom: 20px !important;}
.products-uploads-dragandrophandler{
  border: 2px dotted var(--color-primary) !important;
  background-color: var(--color-bg);
  width: 100%;
  text-align: center;
  vertical-align: middle;
  padding: 20px;
  position: relative;
  margin-bottom: 10px;
}
.products-uploads-dragandrophandler p{font-weight: bold; margin-bottom: 0;}
.products-uploads-text-browser a {
  display: inline-block;
  background: var(--color-dark);
  padding: 8px 16px;
  color:#fff !important;
  margin-top: 10px; text-transform: uppercase;
}
.products-uploads-text-browser a:hover { opacity:0.75; }

.products-uploads-drop-statusbar{
  width: 25%;
  padding: 4px; margin:  0 0 -1px -1px;
  display: flex; position: relative;
  flex-direction: column; font-size: 70%;
  border: 1px solid var(--color-border); background: #fff;
}

.products-uploads-files{display: flex;flex-direction: row;flex-wrap: wrap;align-content: flex-start;align-items: stretch;}
.products-uploads-drop-img { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; text-align: center; vertical-align: middle; }
.products-uploads-drop-img img { width: 100%; height: 100%; object-fit: cover; }
.products-uploads-drop-progressBar { width: 100%; display: block; font-size: 0; position: absolute; left: 0; bottom: 0; }
.products-uploads-drop-progressBar div { height: 4px; width: 0; background-color: #20cf00;  }
.products-uploads_file_upload_remove{
  position: absolute; top: 0; right: 0;
  display: inline-block;
  background: var(--color-danger); color: #fff;
  width: 20px; height: 20px;
  cursor: pointer; text-align: center; line-height: 20px; font-size: 20px;
}

.products-uploads-files .file-info{padding: 5px; position: absolute; z-index: 1; background-color: #fff; display: none;}
.products-uploads-drop-filename{display: block;}

.products-uploads-drop-statusbar.error{background: var(--color-danger-bg);}
.products-uploads-drop-statusbar.error .products-uploads-drop-text-error{
  background: var(--color-danger); color: #ffffff; position: absolute; bottom: 0; left: 0; width: 100%; 
  text-align: center; line-height: var(--line-height-large);
}

dd.variation-Upload_Files a{display: inline-block !important; margin: 0 !important; }

#uploaded-lightbox-overlay {
  display: none;
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center; align-items: center;
  z-index: 9999; text-align: center; overflow-x: auto; 
  padding: 30px;
}

#uploaded-lightbox-overlay img {
  width: 100%; max-width: 400px; background: #fff;
  height: auto; margin: auto !important;
  border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,0.5);
}