/* Montázs Editor - namespace-elt stílusok (.msz-), hogy ne ütközzön a témával. */
.msz-app * { box-sizing: border-box; }
.msz-app [hidden] { display: none !important; }

.msz-app {
	max-width: 520px;
	margin: 24px auto;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1a1714;
}

.msz-stage-wrap {
	width: 100%;
	background: #f3efe9;
	border-radius: 12px;
	padding: 14px;
	box-shadow: 0 18px 50px -28px rgba(26, 23, 20, 0.5);
}
.msz-stage { width: 100%; line-height: 0; }
.msz-stage .konvajs-content { margin: 0 auto; }

.msz-hint {
	margin: 12px 4px 0;
	font-size: 0.86rem;
	line-height: 1.5;
	color: #7a7166;
	text-align: center;
}

/* Vágó modal */
.msz-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(26, 23, 20, 0.62);
	padding: 16px;
}
.msz-modal-card {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 560px;
	padding: 18px;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}
.msz-modal-head {
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 12px;
	text-align: center;
}

/* Cropper konténer: kötött magasság, hogy a vágó jól viselkedjen */
.msz-cropwrap {
	width: 100%;
	height: 58vh;
	max-height: 520px;
	background: #efe9df;
	border-radius: 10px;
	overflow: hidden;
}
.msz-crop-img { display: block; max-width: 100%; }

.msz-modal-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}
.msz-btn, .msz-btn-ghost {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	font: inherit;
	font-weight: 600;
	border-radius: 100px;
	cursor: pointer;
	border: 0;
}
.msz-btn { background: #1a1714; color: #fff; }
.msz-btn:hover { background: #946a26; }
.msz-btn-ghost { background: transparent; border: 1px solid rgba(26, 23, 20, 0.18); color: #1a1714; }
.msz-btn-ghost:hover { background: #f3efe9; }

@media (max-width: 560px) {
	.msz-app { margin: 14px auto; }
	.msz-cropwrap { height: 52vh; }
}
