/**
 * CP All Elementor — Shared Styles
 *
 * Loaded on both front-end and editor preview.
 * Add your widget styles here.
 */

/* ───── CP Sample Widget ───── */

.cp-sample {
	font-family: inherit;
}

.cp-sample--horizontal {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.cp-sample--horizontal .cp-sample__image {
	flex: 0 0 40%;
	max-width: 40%;
}

.cp-sample__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.cp-sample__body h2 {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 700;
}

.cp-sample__body .description {
	margin: 0 0 16px;
	opacity: 0.8;
}

.cp-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background-color: #3b82f6;
	margin-bottom: 12px;
}

/* ───── Feature List ───── */

.cp-features {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cp-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

.cp-features li i,
.cp-features li svg {
	flex-shrink: 0;
	margin-top: 4px;
}

.cp-features li strong {
	display: block;
}

.cp-features li span {
	display: block;
	opacity: 0.75;
	font-size: 0.9em;
}

/* ───── Gutenberg CP Block ───── */

.cp-block {
	padding: 24px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.cp-block h3 {
	margin: 0 0 8px;
}

.cp-block p {
	margin: 0;
	opacity: 0.8;
}
