.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: #f74551;
}

.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: #f74551;
	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;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	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-icon {
	color: #b3b6bb;
	flex: none;
	transition: color .15s ease;
}

.emlsz-drop.is-over .emlsz-drop-icon {
	color: #f74551;
}

.emlsz-drop.is-over {
	border-color: #f74551;
	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;
	}
}

.emlsz-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	overflow-y: auto;
	background: rgba(40, 28, 18, .42);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}
.emlsz-choice-card {
	width: 100%;
	max-width: 440px;
	background: #fffdfb;
	border-radius: 18px;
	padding: 22px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	font-family: inherit;
}
.emlsz-choice-h {
	margin: 0 0 16px;
	font-size: 1.15rem;
	text-align: center;
	color: #3a2c20;
}
.emlsz-opt {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	text-align: left;
	background: #fff;
	border: 1.5px solid #e7ddd2;
	border-radius: 14px;
	padding: 15px 16px;
	margin-bottom: 12px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, transform .05s, background .15s;
	color: #3a2c20;
}
.emlsz-opt:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.emlsz-opt:active { transform: translateY(1px); }
.emlsz-check {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border: 2px solid #cdbfae;
	border-radius: 6px;
	position: relative;
	transition: border-color .15s, background .15s;
}
.emlsz-opt.is-selected .emlsz-check {
	border-color: #f74551;
	background: #f74551;
}
.emlsz-opt.is-selected .emlsz-check::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.emlsz-opt-body { flex: 1; min-width: 0; }
.emlsz-opt-head {
	display: flex;
	align-items: center;
	gap: 8px;
}
.emlsz-opt-head svg { color: #f74551; flex: none; }
.emlsz-opt b { font-size: 1.02rem; }
.emlsz-badge {
	display: inline-block;
	margin-top: 7px;
	font-size: .72rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	background: #efe7dd;
	color: #6b5a48;
}
.emlsz-badge-acc { background: #f74551; color: #fff; }
.emlsz-opt-desc {
	display: block;
	margin-top: 6px;
	font-size: .85rem;
	line-height: 1.45;
	opacity: .78;
}
.emlsz-choice-close {
	display: block;
	width: 100%;
	background: none;
	border: 0;
	padding: 8px;
	margin-top: 2px;
	font-size: .9rem;
	color: #8a7866;
	cursor: pointer;
}
.emlsz-editor-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(30, 20, 12, .55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.emlsz-editor-frame {
	position: relative;
	width: 100%;
	max-width: 1180px;
	height: 90vh;
	background: #efe6da;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.emlsz-editor-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.emlsz-editor-loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 15px/1.4 sans-serif;
	color: #6b5a48;
}
.emlsz-accept-card {
	text-align: center;
	color: #fff;
	font-family: inherit;
}
.emlsz-accept-icon {
	color: #fff;
	margin-bottom: 10px;
	animation: emlsz-pop .35s ease;
}
.emlsz-accept-h { font-size: 1.3rem; font-weight: 700; }
.emlsz-accept-sub { font-size: .95rem; opacity: .9; margin-top: 4px; }
@keyframes emlsz-pop {
	0% { transform: scale(.4); opacity: 0; }
	70% { transform: scale(1.1); }
	100% { transform: scale(1); opacity: 1; }
}
body.emlsz-noscroll { overflow: hidden; }
.emlsz-opt.is-selected {
	border-color: #f74551;
	background: #fff6f7;
}
.emlsz-next-btn {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
	padding: 14px;
	margin-top: 4px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: #f74551;
	cursor: pointer;
	transition: opacity .15s, transform .05s;
}
.emlsz-next-btn:active { transform: translateY(1px); }
.emlsz-next-btn:disabled {
	background: #e7c9d3;
	color: #fff;
	cursor: not-allowed;
}
.emlsz-warn-self {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
	padding: 12px;
	margin-top: 10px;
	font-size: .92rem;
	font-weight: 500;
	color: #6b5a48;
	background: #eee9e2;
	cursor: pointer;
	transition: background .15s, transform .05s;
}
.emlsz-warn-self:hover { background: #e4ddd2; }
.emlsz-warn-self:active { transform: translateY(1px); }
.emlsz-reopen {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 11px 18px;
	border: 1.5px solid #f74551;
	border-radius: 12px;
	background: #fff;
	color: #f74551;
	font-size: .95rem;
	font-weight: 600;
	cursor: pointer;
}
.emlsz-reopen:hover { background: #fff0f5; }
.emlsz-opt-muted {
	padding: 11px 14px;
	background: #faf8f5;
	opacity: .82;
}
.emlsz-opt-muted .emlsz-opt-head b { font-size: .95rem; font-weight: 600; }
.emlsz-opt-muted .emlsz-opt-head svg { color: #b9a892; width: 18px; height: 18px; }
.emlsz-opt-muted .emlsz-badge { background: #efe7dd; color: #8a7866; font-size: .68rem; margin-top: 5px; }
.emlsz-opt-muted .emlsz-check { width: 19px; height: 19px; }
.emlsz-opt-muted:hover { opacity: 1; }
.emlsz-we-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.emlsz-we-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid #e7ddd2; }
.emlsz-we-notelabel { font-size: .88rem; font-weight: 600; color: #5a4632; margin: 8px 0 6px; }
.emlsz-we-note {
	width: 100%;
	border: 1.5px solid #e7ddd2;
	border-radius: 12px;
	padding: 11px;
	font: inherit;
	font-size: .92rem;
	resize: vertical;
	margin-bottom: 12px;
	box-sizing: border-box;
}
.emlsz-we-note:focus { outline: none; border-color: #f74551; }
.emlsz-we-prog { height: 10px; background: #efe7dd; border-radius: 6px; overflow: hidden; margin: 0 0 12px; }
.emlsz-we-progbar { height: 100%; width: 0; background: #f74551; border-radius: 6px; transition: width .2s ease; }
.emlsz-we-warn { text-align: center; }
.emlsz-warn-title { font-size: 1.2rem; font-weight: 800; color: #f74551; letter-spacing: .02em; margin-bottom: 10px; }
.emlsz-warn-body { font-size: .95rem; line-height: 1.5; color: #3a2c20; margin-bottom: 18px; }
.emlsz-warn-track { height: 8px; background: #efe7dd; border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.emlsz-warn-bar { height: 100%; width: 0; background: #f74551; border-radius: 6px; transition: width .1s linear; }
.single_add_to_cart_button.emlsz-cta.disabled,
.single_add_to_cart_button.emlsz-cta[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }
@media (max-width: 600px) {
	.emlsz-editor-modal { padding: 0; }
	.emlsz-editor-frame { max-width: none; height: 100%; border-radius: 0; }
}
