.stlq-widget {
	max-width: 920px;
	margin: 0 auto;
	font-family: inherit;
}

.stlq-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.stlq-preview-col {
	flex: 1 1 420px;
	min-width: 300px;
}

.stlq-form-col {
	flex: 1 1 260px;
	min-width: 260px;
	max-width: 320px;
}

.stlq-dropzone {
	border: 2px dashed #b8b8b8;
	border-radius: 8px;
	padding: 2.5rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
	background: #fafafa;
}

.stlq-dropzone.stlq-dragover {
	border-color: #2271b1;
	background: #eef6fc;
}

.stlq-dropzone-text {
	margin: 0;
	color: #555;
}

.stlq-canvas-wrap {
	width: 100%;
	max-width: 640px;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background: #f1f1f1;
	margin: 0 auto;
	overflow: hidden;
}

#stlq-canvas {
	width: 100%;
	height: 100%;
	display: block;
}

.stlq-dims {
	text-align: center;
	font-size: 0.85rem;
	color: #666;
	margin-top: 0.5rem;
}

.stlq-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.stlq-select {
	width: 100%;
	padding: 0.5rem;
	margin-bottom: 1.2rem;
}

.stlq-price-box {
	background: #f6f6f6;
	border-radius: 8px;
	padding: 1rem 1.2rem;
	margin-bottom: 1.2rem;
}

.stlq-price-label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #777;
}

.stlq-price {
	display: block;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.3;
}

.stlq-price-note {
	margin: 0.3rem 0 0;
	font-size: 0.78rem;
	color: #888;
}

.stlq-button {
	width: 100%;
	padding: 0.8rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	background: #2271b1;
	color: #fff;
	cursor: pointer;
}

.stlq-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.stlq-status {
	min-height: 1.2em;
	font-size: 0.88rem;
	margin-top: 0.6rem;
}

.stlq-status.stlq-error {
	color: #b32d2e;
}

.stlq-status.stlq-success {
	color: #1a7f37;
}
