/**
 * Print-Engine – Warenkorb-Upload-Styling
 */
.pe-upload-box {
	margin-top: 0.75em;
	max-width: 420px;
}

.pe-upload-slot + .pe-upload-slot {
	margin-top: 0.6em;
	padding-top: 0.6em;
	border-top: 1px dashed #e0e0e0;
}

.pe-upload-dropzone {
	border: 2px dashed #c8c8c8;
	border-radius: 6px;
	padding: 1.2em;
	text-align: center;
	cursor: pointer;
	background: #fafafa;
	transition: border-color 0.15s ease, background 0.15s ease;
	min-height: 60px;
}

.pe-upload-dropzone:hover,
.pe-upload-dropzone.dz-drag-hover {
	border-color: #999;
	background: #f0f0f0;
}

.pe-upload-dropzone p {
	margin: 0;
	color: #666;
	font-size: 0.9em;
}

.pe-upload-progress {
	height: 8px;
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
	margin-top: 0.5em;
}

.pe-upload-progress-bar {
	height: 100%;
	width: 0;
	background: #4caf50;
	transition: width 0.2s ease;
}

.pe-upload-result {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding: 0.6em;
	background: #f7f7f7;
	border-radius: 6px;
	margin-top: 0.5em;
	flex-wrap: wrap;
}

.pe-upload-thumbs {
	display: flex;
	gap: 0.4em;
}

.pe-upload-thumb {
	width: 50px;
	height: 70px;
	object-fit: cover;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
}

.pe-upload-meta {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
	font-size: 0.88em;
}

.pe-upload-meta span {
	color: #777;
}

.pe-upload-remove {
	align-self: flex-start;
	border: none;
	background: none;
	color: #a94442;
	cursor: pointer;
	font-size: 0.85em;
	text-decoration: underline;
	padding: 0;
}

/* Feste Mengenanzeige (Print-Engine-Positionen haben immer Menge 1,
   siehe PE_WooCommerce::filter_cart_item_quantity()). */
.pe-fixed-quantity {
	font-weight: 600;
}

/* Admin-Bestellschein: Vorschaubild + Download-Link je hochgeladener Datei. */
.pe-admin-file-preview-list {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.pe-admin-file-preview {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin-top: 0.5em;
	flex-wrap: wrap;
}

.pe-admin-file-thumb {
	width: 40px;
	height: 56px;
	object-fit: cover;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.pe-admin-file-size {
	color: #777;
	font-size: 0.85em;
	margin-left: 0.4em;
}
