
.arkb-styleControls {
	--the-height: 50%;
	--the-scale: .5;

	display: flex;
	flex-wrap: wrap;
	margin-left: -8px;
	row-gap: 8px;
}

.arkb-styleControl__item {
	width: calc(50% - 8px);
	margin: 0;
	margin-left: 8px;

	>.components-button {
		display: none;
	}
}

.arkb-styleControl__inner {
	display: block;
	padding: 6px;
	border-radius: 3px;
	// box-shadow: 0 0 0 1px #868d94;

	&[data-selected="true"] {
		box-shadow: 0 0 0 2px #007cba;
	}

	&:hover {
		background: #f3f4f5;
	}
}

.arkb-styleControl__body {
	position: relative;
	padding: 0;
	color: var(--ark-color--text, #000);
	line-height: 1.6;
	background-color: var(--ark-color--bg, #fff);
	border-radius: 3px;
	box-shadow: 0 0 0 1px #eceef0;

	&::before {
		display: block;
		padding-top: var(--the-height);
		content: "";
	}

	.arkb-styleControl__preview {
		position: absolute;
		display: flex;
		align-items: center;
		justify-content: center;
		width: calc(100% / var(--the-scale));
		font-size: 16px;
		transform: scale(var(--the-scale));
		transform-origin: 0 50%;
		pointer-events: none;
		inset: 0;
	}

	.arkb-styleControl__preview__inner {
		width: 100%;
		padding: calc(8px / var(--the-scale));
		pointer-events: none;
		// height: 100%;
	}
}


.arkb-styleControl__title {
	display: block;
	margin: 0;
	padding: 6px 0 2px;
	font-size: 10px;
	line-height: 1;
	text-align: center;
}
