/* WC Membership Coins Wallet — Pricing Card design (membership category products) */

ul.products li.product.wcmcw-plan-card {
	list-style: none;
	background: transparent;
}

.wcmcw-plan-card .wcmcw-plan-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border: 1px solid #e6e8f0;
	border-radius: 20px;
	padding: 32px 28px 28px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wcmcw-plan-card .wcmcw-plan-inner:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

/* Accent colors */
.wcmcw-accent-blue   { --wcmcw-c1: #3b82f6; --wcmcw-c2: #2563eb; --wcmcw-c-bg: #eaf1ff; }
.wcmcw-accent-purple { --wcmcw-c1: #8b5cf6; --wcmcw-c2: #6d28d9; --wcmcw-c-bg: #f1ecff; }
.wcmcw-accent-green  { --wcmcw-c1: #10b981; --wcmcw-c2: #059669; --wcmcw-c-bg: #e6f9f1; }
.wcmcw-accent-orange { --wcmcw-c1: #f97316; --wcmcw-c2: #ea580c; --wcmcw-c-bg: #fff1e6; }
.wcmcw-accent-red    { --wcmcw-c1: #ef4444; --wcmcw-c2: #dc2626; --wcmcw-c-bg: #fdeaea; }
.wcmcw-accent-teal   { --wcmcw-c1: #14b8a6; --wcmcw-c2: #0d9488; --wcmcw-c-bg: #e6f9f7; }

/* Highlighted / Most Popular card */
.wcmcw-plan-card.wcmcw-plan-highlight .wcmcw-plan-inner {
	border-color: transparent;
	background: linear-gradient(#ffffff, #ffffff) padding-box,
		linear-gradient(135deg, var(--wcmcw-c1), var(--wcmcw-c2)) border-box;
	border: 2px solid transparent;
	box-shadow: 0 14px 34px rgba(37, 37, 90, 0.14);
	transform: scale(1.04);
	z-index: 1;
}
.wcmcw-plan-card.wcmcw-plan-highlight .wcmcw-plan-inner:hover {
	transform: scale(1.04) translateY(-4px);
}

.wcmcw-plan-ribbon {
	position: absolute;
	top: -1px;
	left: -2px;
	right: -2px;
	display: flex;
	justify-content: center;
	background: linear-gradient(135deg, var(--wcmcw-c1), var(--wcmcw-c2));
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 8px 10px;
	border-radius: 18px 18px 0 0;
	margin: -32px -28px 20px;
}

.wcmcw-plan-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--wcmcw-c-bg);
	color: var(--wcmcw-c2);
	margin-bottom: 18px;
}
.wcmcw-plan-icon svg {
	width: 24px;
	height: 24px;
}

.wcmcw-plan-title {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
}
.wcmcw-plan-title a {
	color: #0f172a;
	text-decoration: none;
}

.wcmcw-plan-tagline {
	margin: 0 0 18px;
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
}

.wcmcw-plan-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 34px;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 12px;
}
.wcmcw-plan-price .amount,
.wcmcw-plan-price ins {
	font-weight: 800;
}
.wcmcw-plan-price del {
	font-size: 16px;
	font-weight: 500;
	color: #94a3b8;
	opacity: 1;
	margin-right: 4px;
}
.wcmcw-plan-price-suffix {
	font-size: 14px;
	font-weight: 500;
	color: #94a3b8;
}

.wcmcw-plan-badge {
	display: inline-block;
	align-self: flex-start;
	background: var(--wcmcw-c-bg);
	color: var(--wcmcw-c2);
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.wcmcw-plan-features {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	flex-grow: 1;
}
.wcmcw-plan-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #334155;
	padding: 6px 0;
}
.wcmcw-plan-features li svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--wcmcw-c2);
}

.wcmcw-plan-cta {
	margin-top: auto;
}

a.wcmcw-plan-btn.button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	background: #fff;
	color: var(--wcmcw-c2);
	border: 1.5px solid var(--wcmcw-c1);
	border-radius: 10px;
	padding: 12px 18px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease;
}
a.wcmcw-plan-btn.button:hover {
	background: var(--wcmcw-c-bg);
}

.wcmcw-plan-highlight a.wcmcw-plan-btn.button {
	background: linear-gradient(135deg, var(--wcmcw-c1), var(--wcmcw-c2));
	color: #fff;
	border-color: transparent;
}
.wcmcw-plan-highlight a.wcmcw-plan-btn.button:hover {
	filter: brightness(1.05);
}

a.wcmcw-plan-btn.button.disabled,
a.wcmcw-plan-btn.button.disabled:hover {
	opacity: 0.55;
	cursor: not-allowed;
}
