.stcm-pricing-matrix {
	--stcm-check: #48bb78;
	--stcm-cross: #e53e3e;
	--stcm-best: #48bb78;
	--stcm-font: "sofia-pro-condensed", "Open Sans Condensed", "Open Sans", "Helvetica Neue", sans-serif;
	max-width: 1180px;
	margin: 0 auto;
	font-family: var(--stcm-font);
}

.stcm-pricing-matrix .stcm-heading {
	background: #f4f4f4;
	border-radius: 12px;
	padding: 24px;
	margin: 0 0 32px;
	text-align: center;
	font-size: 2.4rem;
	font-weight: 700;
	color: #4a5568;
}

.stcm-pricing-matrix .stcm-pricing-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
	align-items: start;
}

.stcm-pricing-matrix .stcm-pricing-table {
	display: none;
}

@media (min-width: 900px) {
	.stcm-pricing-matrix .stcm-pricing-cards {
		display: none !important;
	}

	.stcm-pricing-matrix .stcm-pricing-table {
		display: table;
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		border-collapse: separate;
		border-spacing: 0;
		overflow: hidden;
	}

	.stcm-pricing-matrix .stcm-pricing-table th,
	.stcm-pricing-matrix .stcm-pricing-table td {
		padding: 20px;
		text-align: center;
		vertical-align: middle;
		position: relative;
	}

	.stcm-pricing-matrix .stcm-pricing-table thead th {
		color: #fff;
		font-size: 2.25rem;
		font-weight: 800;
		line-height: 1.15;
		padding-top: 28px;
		padding-bottom: 24px;
		overflow: hidden;
	}

	.stcm-pricing-matrix .stcm-pricing-table thead th:first-child {
		border-radius: 10px 0 0 0;
	}

	.stcm-pricing-matrix .stcm-pricing-table thead th:last-child {
		border-radius: 0 10px 0 0;
	}

	.stcm-pricing-matrix .stcm-pricing-table th.stcm-included-label {
		color: #777;
		text-align: left;
		padding-left: 40px;
		font-size: 1.4rem;
		font-weight: 700;
		background: transparent;
	}

	.stcm-pricing-matrix .stcm-plan-title-cell {
		display: block;
	}

	.stcm-pricing-matrix .stcm-price-large {
		display: block;
		margin-top: 6px;
	}

	.stcm-pricing-matrix .stcm-price-large .stcm-offer-price {
		font-size: 2.4rem;
	}

	.stcm-pricing-matrix .stcm-best-value-ribbon {
		position: absolute;
		top: 18px;
		right: -54px;
		width: 180px;
		padding: 4px 0;
		background: #fffffff7;
		color: #1a202c;
		font-size: 0.95rem;
		font-weight: bold;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		text-align: center;
		transform: rotate(45deg);
		box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.15);
	}

	.stcm-pricing-matrix .stcm-pricing-table td.stcm-feature-cell {
		text-align: left;
		padding-left: 40px !important;
		font-weight: bold;
		width: 360px;
		font-size: 1.35em;
		line-height: 1.5;
	}

	.stcm-pricing-matrix .stcm-pricing-table tbody tr:nth-child(even) td {
		background: #fff;
	}

	.stcm-pricing-matrix .stcm-pricing-table tbody tr:nth-child(odd) td {
		background: #f4f4f4;
	}

	.stcm-pricing-matrix .stcm-check-cell i {
		font-size: 2rem;
	}

	.stcm-pricing-matrix .stcm-check-cell i.fa-check {
		color: var(--stcm-check);
	}

	.stcm-pricing-matrix .stcm-check-cell i.fa-times {
		color: var(--stcm-cross);
	}

	.stcm-pricing-matrix .stcm-buy-row td {
		background: transparent !important;
	}

	.stcm-pricing-matrix .stcm-buy-btn-table {
		display: inline-block;
		font-size: 1.45em;
		padding: 18px 30px;
		border-radius: 50px;
		font-weight: bold;
		text-decoration: none;
		color: #fff;
		min-width: 140px;
		text-transform: uppercase;
		box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.15);
		transition: transform 0.2s ease-in-out;
	}

	.stcm-pricing-matrix .stcm-buy-btn-table:hover,
	.stcm-pricing-matrix .stcm-buy-btn-table:visited {
		color: #fff;
	}

	.stcm-pricing-matrix .stcm-buy-btn-table:hover {
		transform: scale(1.05);
	}
}

@media (max-width: 899px) {
	.stcm-pricing-matrix .stcm-pricing-table {
		display: none !important;
	}
}

.stcm-pricing-matrix .stcm-plan-card {
	border-radius: 30px;
	background: #fff;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 20px -2px rgba(1, 1, 1, 0.2);
	display: flex;
	flex-direction: column;
}

.stcm-pricing-matrix .stcm-plan-header {
	padding: 30px 20px;
	text-align: center;
	color: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
}

.stcm-pricing-matrix .stcm-best-value-badge {
	position: absolute;
	top: 18px;
	right: -54px;
	width: 180px;
	padding: 4px 0;
	background: #fffffff7;
	color: #1a202c;
	font-size: 0.95rem;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	text-shadow: none;
	transform: rotate(45deg);
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.15);
}

.stcm-pricing-matrix .stcm-plan-title {
	font-size: 3.25rem;
	font-weight: 800;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	line-height: 1.1;
}

.stcm-pricing-matrix .stcm-price {
	margin: 8px 0 0;
}

.stcm-pricing-matrix .stcm-offer-price {
	font-size: 3rem;
	font-weight: 800;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}

.stcm-pricing-matrix .stcm-offer-price .woocommerce-Price-amount {
	color: inherit;
}

.stcm-pricing-matrix .st-regular {
	display: none;
}

.stcm-pricing-matrix.stcm-offer-regular .st-early {
	display: none;
}

.stcm-pricing-matrix.stcm-offer-regular .st-regular {
	display: inline;
}

.stcm-pricing-matrix .stcm-features {
	flex-grow: 1;
	padding: 30px 20px;
	margin: 0;
	list-style: none;
}

.stcm-pricing-matrix .stcm-features li {
	margin: 0 0 22px;
	font-size: 1.45em;
	display: flex;
	align-items: start;
	gap: 12px;
}

.stcm-pricing-matrix .stcm-features li.stcm-excluded {
	opacity: 0.5;
}

.stcm-pricing-matrix .stcm-features i.fa-check {
	color: var(--stcm-check);
}

.stcm-pricing-matrix .stcm-features i.fa-times {
	color: var(--stcm-cross);
}

.stcm-pricing-matrix .stcm-features i {
	font-size: 30px;
	width: 30px;
	flex-shrink: 0;
}

.stcm-pricing-matrix .stcm-feature-text {
	flex: 1;
}

.stcm-pricing-matrix .stcm-bonus-pill {
	display: inline-flex;
	align-items: center;
	background: var(--stcm-best);
	color: #fff;
	font-weight: bold;
	padding: 1px 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
	font-size: 0.8em;
	border-radius: 3px;
	margin-right: 6px;
}

.stcm-pricing-matrix .stcm-feature-info {
	color: #64748b;
	margin-left: 4px;
	text-decoration: none;
	font-size: 0.9em;
}

.stcm-pricing-matrix .stcm-feature-info:hover {
	color: var(--stcm-check);
}

.stcm-pricing-matrix .stcm-sub-text {
	font-size: 0.9em;
	font-weight: normal;
	font-family: "Open Sans", sans-serif;
	margin-top: 4px;
}

.stcm-pricing-matrix .stcm-buy-wrap {
	display: flex;
	justify-content: center;
	padding: 10px 20px 28px;
}

.stcm-pricing-matrix .stcm-buy-btn {
	display: inline-block;
	text-align: center;
	padding: 20px 40px;
	font-size: 1.6rem;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 50px;
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.15);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	text-transform: uppercase;
}

.stcm-pricing-matrix .stcm-buy-btn:visited,
.stcm-pricing-matrix .stcm-buy-btn:hover {
	color: #fff;
}

.stcm-editor-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 20px;
	border: 2px dashed #d5d8dc;
	border-radius: 6px;
	background: #f6f7f8;
	color: #6d7882;
	font-family: sans-serif;
	font-size: 14px;
}

.stcm-editor-notice i {
	font-size: 18px;
	flex-shrink: 0;
}
