.emlsz-wrap {
	margin: 18px 0;
	padding: 16px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fafafa;
}

.emlsz-title {
	margin: 0 0 12px;
	font-size: 1em;
	line-height: 1.5;
}

.emlsz-field {
	margin: 0 0 16px;
	padding: 0 0 14px;
	border-bottom: 1px solid #ececec;
}

.emlsz-field:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.emlsz-field-title {
	margin: 0 0 2px;
	font-weight: 600;
}

.emlsz-req {
	color: #d2004b;
}

.emlsz-field-desc {
	margin: 0 0 6px;
	color: #666;
	font-size: .9em;
}

.emlsz-hint {
	margin: 0 0 10px;
	color: #999;
	font-size: .78em;
	line-height: 1.5;
}

.emlsz-hint div {
	margin: 0;
}

.emlsz-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
}

.emlsz-slot {
	position: relative;
	width: 110px;
}

.emlsz-slot img {
	width: 110px;
	height: 110px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #e2e2e2;
	display: block;
	background: #f0f0f0;
}

.emlsz-slot.is-uploading img {
	opacity: .6;
}

.emlsz-progress {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	height: 6px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .7);
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}

.emlsz-bar {
	display: block;
	height: 100%;
	width: 0;
	background: #d2004b;
	border-radius: 4px;
	transition: width .2s ease;
}

.emlsz-slot.is-processing .emlsz-bar {
	animation: emlsz-pulse 1s ease-in-out infinite;
}

@keyframes emlsz-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .5; }
}

.emlsz-rm {
	display: block;
	width: 110px;
	margin-top: 6px;
	border: 1px solid #c9c9c9;
	background: #fff;
	border-radius: 6px;
	padding: 7px 4px;
	cursor: pointer;
	font-size: .82em;
	line-height: 1.1;
}

.emlsz-drop {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 18px;
	border: 2px dashed #c9c9c9;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	text-align: center;
	transition: border-color .15s ease, background .15s ease;
}

.emlsz-drop.is-over {
	border-color: #d2004b;
	background: #fff5f8;
}

.emlsz-drop input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.emlsz-drop-text {
	color: #666;
	font-size: .95em;
}

.emlsz-msg {
	margin: 8px 0 0;
	font-size: .9em;
	min-height: 1.1em;
}

.emlsz-msg.is-error {
	color: #b32d2e;
}

.emlsz-msg.is-ok {
	color: #1a7f37;
}

.single_add_to_cart_button.emlsz-atc-disabled {
	opacity: .5;
	cursor: not-allowed;
	pointer-events: none;
}

@media (max-width: 600px) {
	.emlsz-wrap {
		padding: 14px;
	}
	.emlsz-slots {
		gap: 8px;
	}
	.emlsz-slot,
	.emlsz-slot img,
	.emlsz-rm {
		width: 30vw;
		max-width: 130px;
	}
	.emlsz-slot img {
		height: 30vw;
		max-height: 130px;
	}
	.emlsz-drop {
		min-height: 140px;
		padding: 22px 16px;
	}
	.emlsz-drop-text {
		font-size: 1em;
	}
	.emlsz-rm {
		padding: 10px 4px;
		font-size: .9em;
	}
}
