.wc-ppu-wrapper {
  margin: 16px 0 18px;
}

.wc-ppu-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.wc-ppu-dropzone {
  position: relative;
  border: 2px dashed rgba(0,0,0,0.25);
  border-radius: 14px;
  padding: 18px;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, box-shadow .15s ease;
  background: rgba(0,0,0,0.02);
  cursor: pointer;
  outline: none;
}

.wc-ppu-dropzone:focus {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.12);
}

.wc-ppu-dropzone.is-active {
  border-color: rgba(0,0,0,0.55);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.08);
}

.wc-ppu-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.wc-ppu-center {
  text-align: center;
  display: grid;
  gap: 10px;
  padding: 8px 10px;
}

.wc-ppu-title {
  font-size: 18px;
  font-weight: 700;
}

.wc-ppu-or {
  opacity: 0.7;
}

.wc-ppu-browse.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
}

.wc-ppu-hint {
  font-size: 12px;
  opacity: 0.75;
}

/* Row under the upload box */
.wc-ppu-file-row {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.02);
}

.wc-ppu-row-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  flex: 0 0 auto;
}

.wc-ppu-row-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-ppu-row-remove {
  appearance: none;
  border: 0;
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity .12s ease, background-color .12s ease;
}

.wc-ppu-row-remove:hover,
.wc-ppu-row-remove:focus {
  opacity: 0.95;
  background: rgba(0,0,0,0.06);
}

/* Enforce hidden attribute (some themes override it) */
.wc-ppu-file-row[hidden] { display: none !important; }
