.wcprm-pricing {
	--wcprm-brand-primary: #176fc3;
	--wcprm-brand-blue: #0d75aa;
	--wcprm-brand-cyan: #32a9d9;
	--wcprm-brand-deep: #123b68;
	--wcprm-text: #30384a;
	--wcprm-muted: #657083;
	--wcprm-line: #dbe8f2;
	--wcprm-mist: #f2f8fc;
	--wcprm-white: #fff;
	--wcprm-success: #087f8c;
	--wcprm-disabled: #697383;
	--wcprm-shadow: 0 18px 46px rgba(18, 59, 104, 0.1);
	width: 100%;
	max-width: 1180px;
	margin: clamp(24px, 4vw, 48px) auto;
	color: var(--wcprm-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
}

.wcprm-pricing,
.wcprm-pricing * {
	box-sizing: border-box;
}

.wcprm-pricing .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wcprm-pricing__header {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 4vw, 42px) clamp(20px, 5vw, 56px);
	border-radius: 22px 22px 0 0;
	background: linear-gradient(130deg, var(--wcprm-brand-primary) 0%, var(--wcprm-brand-blue) 58%, #0b6f9f 100%);
	color: var(--wcprm-white);
	text-align: center;
}

.wcprm-pricing__header::after {
	position: absolute;
	right: -90px;
	bottom: -140px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 68%);
	content: "";
	pointer-events: none;
}

.wcprm-pricing__title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: clamp(1.55rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.wcprm-pricing__intro {
	position: relative;
	z-index: 1;
	max-width: 850px;
	margin: 12px auto 0;
	color: var(--wcprm-white);
	font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.wcprm-pricing__intro--table {
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 42px) clamp(20px, 6vw, 60px) 0;
	color: var(--wcprm-text);
	text-align: center;
}

.wcprm-pricing__intro--table p {
	margin: 0;
}

.wcprm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(18px, 2.5vw, 28px);
	align-items: stretch;
}

.wcprm-pricing__header + .wcprm-cards {
	padding-top: clamp(24px, 4vw, 42px);
}

.wcprm-plan {
	display: flex;
	min-width: 0;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid var(--wcprm-line);
	border-top: 4px solid var(--wcprm-brand-cyan);
	border-radius: 18px;
	background: var(--wcprm-white);
	box-shadow: 0 10px 32px rgba(18, 59, 104, 0.08);
}

.wcprm-plan--featured {
	border-color: var(--wcprm-brand-blue);
	border-top-color: var(--wcprm-brand-primary);
	box-shadow: var(--wcprm-shadow);
}

.wcprm-plan__name {
	margin: 0;
	padding: 20px 22px;
	background: linear-gradient(130deg, var(--wcprm-brand-primary), var(--wcprm-brand-blue));
	color: var(--wcprm-white);
	font-family: inherit;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.wcprm-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	margin: 0;
	padding: 26px 18px 6px;
	background: linear-gradient(180deg, var(--wcprm-mist), var(--wcprm-white));
	color: var(--wcprm-brand-deep);
	font-variant-numeric: tabular-nums;
	line-height: 1;
	white-space: nowrap;
}

.wcprm-price__currency {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 700;
}

.wcprm-price__amount {
	font-size: clamp(3rem, 7vw, 4.4rem);
	font-weight: 750;
	letter-spacing: -0.055em;
}

.wcprm-price__suffix {
	color: var(--wcprm-muted);
	font-size: clamp(0.9rem, 1.7vw, 1rem);
	font-weight: 700;
	letter-spacing: 0;
}

.wcprm-plan__regular {
	margin: 0;
	padding: 5px 18px 22px;
	background: var(--wcprm-white);
	color: var(--wcprm-muted);
	font-size: 0.95rem;
	text-align: center;
}

.wcprm-features {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 4px 22px 8px;
	list-style: none;
}

.wcprm-feature {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	padding: 12px 0;
	border-bottom: 1px solid #edf3f7;
	font-size: 0.98rem;
	overflow-wrap: anywhere;
}

.wcprm-feature:last-child {
	border-bottom: 0;
}

.wcprm-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 50%;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
}

.wcprm-feature--included .wcprm-feature__icon {
	background: #e6f7fa;
	color: var(--wcprm-success);
}

.wcprm-feature--excluded {
	color: var(--wcprm-disabled);
}

.wcprm-feature--excluded .wcprm-feature__icon {
	background: #f0f2f5;
	color: #6f7783;
}

.wcprm-offers {
	display: grid;
	gap: 10px;
	margin: 12px 22px 0;
	padding: 16px;
	border: 1px solid var(--wcprm-line);
	border-radius: 12px;
	background: var(--wcprm-mist);
}

.wcprm-offer {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 10px;
	align-items: baseline;
	justify-content: space-between;
}

.wcprm-offer__label {
	color: var(--wcprm-muted);
	font-size: 0.9rem;
}

.wcprm-offer__amount {
	color: var(--wcprm-brand-deep);
	font-size: 1.1rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.wcprm-plan__note {
	margin: 12px 22px 0;
	padding: 12px 14px;
	border-left: 3px solid var(--wcprm-brand-cyan);
	border-radius: 0 9px 9px 0;
	background: #f4fbfd;
	color: var(--wcprm-muted);
	font-size: 0.88rem;
}

.wcprm-plan__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: auto 22px 22px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: linear-gradient(130deg, var(--wcprm-brand-primary), var(--wcprm-brand-blue));
	color: var(--wcprm-white);
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
}

.wcprm-plan__cta:hover,
.wcprm-plan__cta:focus-visible {
	background: linear-gradient(130deg, #0f5fae, #1178b8);
	color: var(--wcprm-white);
	text-decoration: none;
}

.wcprm-plan__cta:focus-visible,
.wcprm-pricing a:focus-visible {
	outline: 3px solid rgba(22, 143, 191, 0.48);
	outline-offset: 3px;
}

.wcprm-table-shell {
	overflow: hidden;
	border: 1px solid var(--wcprm-line);
	border-radius: 0 0 22px 22px;
	background: var(--wcprm-white);
	box-shadow: var(--wcprm-shadow);
}

.wcprm-pricing--table > .wcprm-table-shell:first-child {
	border-radius: 22px;
}

.wcprm-table {
	width: calc(100% - clamp(28px, 6vw, 92px));
	margin: clamp(22px, 4vw, 48px) auto;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 8px;
	background: transparent;
	table-layout: fixed;
}

.wcprm-table th,
.wcprm-table td {
	padding: clamp(16px, 2.5vw, 25px);
	border: 0;
	vertical-align: middle;
}

.wcprm-table thead th {
	background: #eaf2fb;
	color: var(--wcprm-brand-deep);
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 750;
	text-align: center;
}

.wcprm-table thead th:first-child {
	border-radius: 12px 0 0 12px;
}

.wcprm-table thead th:last-child {
	border-radius: 0 12px 12px 0;
}

.wcprm-table tbody th,
.wcprm-table tbody td {
	background: #fbfdff;
	font-size: clamp(0.98rem, 1.7vw, 1.12rem);
	font-weight: 400;
	text-align: center;
}

.wcprm-table tbody th:first-child,
.wcprm-table tbody td:first-child {
	border-radius: 12px 0 0 12px;
	color: var(--wcprm-text);
}

.wcprm-table tbody td:last-child {
	border-radius: 0 12px 12px 0;
	color: #125ea8;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
}

.wcprm-pricing__footnote {
	margin: 0;
	padding: 0 clamp(24px, 6vw, 60px) clamp(26px, 4vw, 48px);
	color: var(--wcprm-muted);
	font-size: 0.95rem;
	line-height: 1.75;
	text-align: center;
}

.wcprm-pricing__notice,
.wcprm-pricing__admin-notice {
	padding: 12px 16px;
	border: 1px solid #e9c46a;
	border-radius: 8px;
	background: #fff9e8;
	color: #614a11;
}

@media (max-width: 767px) {
	.wcprm-pricing {
		margin-block: 24px;
		font-size: 15px;
	}

	.wcprm-pricing__header {
		padding: 24px 18px;
		border-radius: 16px 16px 0 0;
	}

	.wcprm-pricing__intro--table {
		padding: 20px 4px 4px;
		text-align: left;
	}

	.wcprm-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.wcprm-price {
		padding-top: 22px;
	}

	.wcprm-price__amount {
		font-size: clamp(3.25rem, 17vw, 4.25rem);
	}

	.wcprm-table-shell {
		padding: 16px;
		border-radius: 0 0 16px 16px;
	}

	.wcprm-table {
		display: block;
		width: 100%;
		margin: 0;
		border-spacing: 0;
	}

	.wcprm-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.wcprm-table tbody {
		display: grid;
		gap: 14px;
	}

	.wcprm-table tr {
		display: block;
		overflow: hidden;
		border: 1px solid var(--wcprm-line);
		border-radius: 14px;
		background: var(--wcprm-white);
		box-shadow: 0 7px 22px rgba(18, 59, 104, 0.07);
	}

	.wcprm-table tbody th,
	.wcprm-table tbody td {
		display: grid;
		grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1.28fr);
		gap: 12px;
		align-items: start;
		width: 100%;
		padding: 14px 15px;
		border: 0;
		border-bottom: 1px solid var(--wcprm-line);
		border-radius: 0;
		background: var(--wcprm-white);
		text-align: left;
		overflow-wrap: anywhere;
	}

	.wcprm-table tbody td:last-child {
		border-bottom: 0;
		border-radius: 0;
	}

	.wcprm-table tbody th::before,
	.wcprm-table tbody td::before {
		display: block;
		color: var(--wcprm-brand-deep);
		content: attr(data-label);
		font-weight: 750;
		line-height: 1.5;
	}

	.wcprm-pricing__footnote {
		padding: 20px 4px 8px;
		text-align: left;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.wcprm-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wcprm-cards > .wcprm-plan:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		width: min(100%, calc(50% - 14px));
		justify-self: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wcprm-pricing *,
	.wcprm-pricing *::before,
	.wcprm-pricing *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.wcprm-pricing {
		--wcprm-shadow: none;
		break-inside: avoid;
	}

	.wcprm-plan,
	.wcprm-table-shell {
		box-shadow: none;
	}
}
