/* ═══════════════════════════════════════
   Kloecup Pricing Cards — Widget CSS
   Author: Leonelkrea
   Version: 1.0.0
   ═══════════════════════════════════════ */

/* ── Grid Layout ── */
.lkrea-pc-grid {
	display: grid;
	gap: 24px;
	align-items: start;
}
.lkrea-pc-cols-1 { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
.lkrea-pc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lkrea-pc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.lkrea-pc-cols-4 { grid-template-columns: repeat(4, 1fr); }
.lkrea-pc-cols-5 { grid-template-columns: repeat(5, 1fr); }
.lkrea-pc-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ── Card Base ── */
.lkrea-pc-card {
	position: relative;
	background: #fff;
	border: 1px solid #e5e9f0;
	border-radius: 24px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.lkrea-pc-card:hover {
	border-color: #9ba6b8;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ── Popular Card ── */
.lkrea-pc-card.is-popular {
	background: #232550;
	border-color: #2a2c5a;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	transform: translateY(-16px);
	z-index: 2;
}
.lkrea-pc-card.is-popular:hover {
	border-color: #364255;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* ── Badge ── */
.lkrea-pc-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #F96431;
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 18px;
	border-radius: 9999px;
	white-space: nowrap;
	line-height: 1;
}

/* ── Plan Name ── */
.lkrea-pc-name {
	font-size: 0.8rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #68768b;
	margin: 0 0 8px 0;
	padding: 0;
	line-height: 1.3;
}
.lkrea-pc-card.is-popular .lkrea-pc-name {
	color: #9ba6b8;
}

/* ── Price ── */
.lkrea-pc-price {
	font-size: 2.5rem;
	font-weight: 900;
	color: #232550;
	line-height: 1;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}
.lkrea-pc-card.is-popular .lkrea-pc-price {
	color: #fff;
}

/* ── Currency Note ── */
.lkrea-pc-note {
	font-size: 0.85rem;
	font-weight: 500;
	color: #94A3B8;
	display: block;
	margin-bottom: 16px;
}

/* ── Features List ── */
.lkrea-pc-features {
	list-style: none;
	padding: 0;
	margin: 16px 0 32px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex-grow: 1;
}
.lkrea-pc-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #364255;
	line-height: 1.4;
}
.lkrea-pc-card.is-popular .lkrea-pc-feature {
	color: #e5e9f0;
}

/* ── Check Icon ── */
.lkrea-pc-check {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #F96431;
}
.lkrea-pc-card.is-popular .lkrea-pc-check {
	color: #DE7A88;
}

/* ── CTA Button ── */
.lkrea-pc-btn {
	display: block;
	width: 100%;
	padding: 14px 20px;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	border: none;
	border-radius: 9999px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: auto;
	background: #f4f6f9;
	color: #232550;
	box-sizing: border-box;
}
.lkrea-pc-btn:hover {
	background: #e5e9f0;
	color: #232550;
}
.lkrea-pc-card.is-popular .lkrea-pc-btn {
	background: #F96431;
	color: #fff;
}
.lkrea-pc-card.is-popular .lkrea-pc-btn:hover {
	background: #cc4a21;
	color: #fff;
}

/* ── Responsive ── */

/* Tablet: 5-6 cols → 3 cols, 3-4 cols → 2 cols */
@media (max-width: 1024px) {
	.lkrea-pc-cols-5,
	.lkrea-pc-cols-6 {
		grid-template-columns: repeat(3, 1fr);
	}
	.lkrea-pc-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Small tablet: everything → 2 cols */
@media (max-width: 768px) {
	.lkrea-pc-cols-3,
	.lkrea-pc-cols-4,
	.lkrea-pc-cols-5,
	.lkrea-pc-cols-6 {
		grid-template-columns: repeat(2, 1fr);
	}
	.lkrea-pc-card.is-popular {
		transform: translateY(-8px);
	}
}

/* Mobile: everything → 1 col */
@media (max-width: 480px) {
	.lkrea-pc-grid {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}
	.lkrea-pc-card.is-popular {
		transform: none;
	}
	.lkrea-pc-card {
		padding: 28px;
	}
	.lkrea-pc-price {
		font-size: 2rem;
	}
}
