/* Chroot Pricing Table — all rules scoped to #chroot-pricing-table */

/* Reset theme link styles inside both blocks */
#chroot-pricing-table a,
.chroot-pricing-combo a {
	text-decoration: none;
	color: inherit;
}
#chroot-pricing-table a::after,
#chroot-pricing-table a::before,
.chroot-pricing-combo a::after,
.chroot-pricing-combo a::before {
	display: none !important;
}

#chroot-pricing-table {
	padding: 32px 30px 40px;
	border-radius: 16px;
}

#chroot-pricing-table .discount-banner {
	background: rgba(255, 255, 100, .25);
	border: 1px solid rgba(200, 180, 0, .4);
	border-radius: 8px;
	padding: 10px 16px;
	text-align: center;
	margin-bottom: 24px;
	font-size: 16px;
	color: #1a3a2a;
}
#chroot-pricing-table .discount-banner code {
	background: rgba(0, 0, 0, .1);
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 16px;
}

#chroot-pricing-table .plans-grid {
	display: grid;
	grid-template-columns: repeat(var(--pricing-cols, 4), 1fr);
	gap: 20px;
	max-width: 1170px;
	margin: 0 auto;
}

/* Badge */
#chroot-pricing-table .badge {
	font-size: 13px;
	background: rgba(255, 220, 0, .95);
	color: #5a0000;
	border-radius: 20px;
	padding: 4px 12px;
	font-weight: 700;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	z-index: 2;
}

/* Cards */
#chroot-pricing-table .plan-card {
	background: #1e1e2e;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 16px;
	padding: 24px 18px;
	display: flex;
	flex-direction: column;
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	transition: transform .5s ease, box-shadow .5s ease, border-color .5s ease;
	will-change: transform;
	backface-visibility: hidden;
}
#chroot-pricing-table .plan-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
	border-color: rgba(255, 255, 255, .25);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#chroot-pricing-table .plan-card.featured {
	background: linear-gradient(160deg, #a30b37, #c0392b, #8e0027);
	border: none;
	box-shadow: 0 12px 40px rgba(163, 11, 55, .45);
	padding-top: 32px;
	position: relative;
	overflow: visible;
	transition: transform .5s ease, box-shadow .5s ease;
}
#chroot-pricing-table .plan-card.featured:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 55px rgba(163, 11, 55, .7);
	transition: transform .18s ease, box-shadow .18s ease;
}

/* Plan name */
#chroot-pricing-table h3.plan-name {
	font-family: 'Paytone One', sans-serif;
	font-size: 24px;
	color: #ccc;
	margin: 0 0 12px;
	font-weight: 400;
}
#chroot-pricing-table .plan-card.featured h3.plan-name { color: rgba(255, 255, 255, .8); }

/* Prices */
#chroot-pricing-table .price-block {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 4px;
}
#chroot-pricing-table .prices { display: flex; flex-direction: column; }

#chroot-pricing-table .old-price {
	font-size: 13px;
	color: #888;
	text-decoration: line-through;
	margin-bottom: 1px;
}
#chroot-pricing-table .plan-card.featured .old-price { color: rgba(255, 255, 255, .6); }

#chroot-pricing-table .new-price-row { display: flex; align-items: baseline; gap: 3px; }

#chroot-pricing-table .new-price {
	font-family: 'Paytone One', sans-serif;
	font-size: 36px;
	color: #fff;
	line-height: 1.05;
}

#chroot-pricing-table .period { font-size: 16px; color: #666; }
#chroot-pricing-table .plan-card.featured .period { color: rgba(255, 255, 255, .4); }

#chroot-pricing-table .save-pill {
	background: rgba(255, 255, 255, .15);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 7px;
	font-size: 16px;
	font-weight: 700;
	padding: 4px 14px;
	white-space: nowrap;
	margin-top: 6px;
	align-self: flex-start;
}
#chroot-pricing-table .plan-card.featured .save-pill {
	background: rgba(255, 220, 0, .92);
	color: #5a0000;
	border-color: transparent;
}

#chroot-pricing-table p.plan-billing {
	font-size: 13px;
	color: #888;
	margin: 4px 0 18px;
}
#chroot-pricing-table .plan-card.featured p.plan-billing { color: rgba(255, 255, 255, .55); }

/* Primary specs */
#chroot-pricing-table ul.specs-primary {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}
#chroot-pricing-table li.spec-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
#chroot-pricing-table .plan-card.featured li.spec-row { border-bottom-color: rgba(255, 255, 255, .12); }
#chroot-pricing-table li.spec-row:last-child { border-bottom: none; }

#chroot-pricing-table .spec-label { font-size: 16px; color: #bbb; }
#chroot-pricing-table .spec-value { font-size: 16px; font-weight: 700; color: #fff; }
#chroot-pricing-table .plan-card.featured .spec-label { color: rgba(255, 255, 255, .75); }

/* Secondary features */
#chroot-pricing-table ul.specs-secondary {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}
#chroot-pricing-table li.sec-row {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
}

#chroot-pricing-table .sec-label  { font-size: 13px; color: #9898b2; font-weight: 600; }
#chroot-pricing-table .sec-value  { font-size: 13px; color: #9898b2; font-weight: 600; white-space: nowrap; }
#chroot-pricing-table .sec-value.yes  { color: #6ecf82; font-weight: 700; }
#chroot-pricing-table .sec-value.none { color: #55556a; }

#chroot-pricing-table .plan-card.featured .sec-label         { color: rgba(255, 255, 255, .7); }
#chroot-pricing-table .plan-card.featured .sec-value         { color: rgba(255, 255, 255, .7); }
#chroot-pricing-table .plan-card.featured .sec-value.yes     { color: rgba(180, 255, 180, .9);  font-weight: 700; }
#chroot-pricing-table .plan-card.featured .sec-value.none    { color: rgba(255, 255, 255, .35); }

/* CTA */
#chroot-pricing-table .cta-wrap { margin-top: auto; }

#chroot-pricing-table .cta-btn {
	display: block !important;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	text-align: center;
	padding: 11px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, .18);
	transition: background .18s ease;
}
#chroot-pricing-table .cta-btn:hover { background: rgba(255, 255, 255, .2); }

#chroot-pricing-table .plan-card.featured .cta-btn       { background: #fff; color: #a30b37; border: none; }
#chroot-pricing-table .plan-card.featured .cta-btn:hover { background: #f0f0f0; }

#chroot-pricing-table p.trial-note {
	text-align: center;
	font-size: 13px;
	color: #8888a4;
	margin: 8px 0 0;
	font-weight: 600;
}
#chroot-pricing-table .plan-card.featured p.trial-note { color: rgba(255, 255, 255, .6); }

/* Footnote — div wraps one or more <p> lines */
#chroot-pricing-table .footnote,
#chroot-pricing-table .footnote p {
	text-align: center;
	font-size: 16px;
	color: rgba(0, 0, 0, .4);
	margin: 0;
}
#chroot-pricing-table .footnote { margin-top: 20px; }

/* Editor: collapse InnerBlocks wrappers so grid applies directly to cards */
#chroot-pricing-table .plans-grid .block-editor-inner-blocks,
#chroot-pricing-table .plans-grid .block-editor-block-list__layout {
	display: contents;
}

/* Mobile */
@media (max-width: 991px) {
	#chroot-pricing-table { padding: 20px 14px 28px; }

	#chroot-pricing-table .plans-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	#chroot-pricing-table .plan-card.featured { order: -1; }

	#chroot-pricing-table .plan-card.hide-narrow { display: none; }
}

/* ── Pricing Combo Block ── */

.chroot-pricing-combo {
	display: flex;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
	max-width: 1170px;
	margin: 24px auto 0;
	font-family: 'Open Sans', sans-serif;
}

/* Left panel — cheap plan */
.chroot-pricing-combo .combo-left {
	flex: 0 0 33%;
	background: #f5f5f5;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border-right: 4px solid #16191e;
}

.chroot-pricing-combo .combo-label {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #999;
	margin: 0 0 6px;
}

.chroot-pricing-combo .combo-name {
	font-family: 'Paytone One', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #111;
	margin: 0 0 4px;
}

.chroot-pricing-combo .combo-price {
	font-family: 'Paytone One', sans-serif;
	font-size: 34px;
	color: rgb(163, 11, 55);
	line-height: 1;
}

.chroot-pricing-combo .combo-period {
	font-size: 13px;
	color: #999;
	margin: 4px 0 12px;
}

.chroot-pricing-combo .combo-features {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	flex: 1;
}

.chroot-pricing-combo .combo-features li {
	font-size: 13px;
	color: #555;
	line-height: 1.8;
}

.chroot-pricing-combo .combo-cta-left {
	display: block !important;
	width: 100%;
	background: rgb(163, 11, 55);
	color: #fff;
	text-align: center;
	padding: 10px 0;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.18s ease;
}
.chroot-pricing-combo .combo-cta-left:hover { background: #b00a30; }

/* Right panel — VIP */
.chroot-pricing-combo .combo-right {
	flex: 0 0 67%;
	background: #16191e;
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

/* dot-grid texture */
.chroot-pricing-combo .combo-right::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 18px 18px;
	pointer-events: none;
}

.chroot-pricing-combo .combo-badge {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #c9a84c, #f0d060, #c9a84c);
	color: #000;
	font-weight: 900;
	font-size: 16px;
	letter-spacing: 3px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 12px;
	width: fit-content;
}

.chroot-pricing-combo .combo-title {
	font-family: 'Paytone One', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #fff;
	margin: 0 0 8px;
	line-height: 1.2;
}

.chroot-pricing-combo .combo-desc {
	font-size: 16px;
	color: #aaa;
	line-height: 1.6;
	margin: 0 0 18px;
	flex: 1;
}

.chroot-pricing-combo .combo-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.chroot-pricing-combo .combo-tags span {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #bbb;
	font-size: 16px;
	padding: 4px 10px;
	border-radius: 4px;
}

.chroot-pricing-combo .combo-cta-right {
	display: inline-block !important;
	background: linear-gradient(135deg, #c9a84c, #f0d060);
	color: #000;
	padding: 10px 24px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	width: fit-content;
	transition: opacity 0.18s ease;
}
.chroot-pricing-combo .combo-cta-right:hover { opacity: 0.88; }

@media (max-width: 768px) {
	.chroot-pricing-combo {
		flex-direction: column;
	}

	.chroot-pricing-combo .combo-left {
		flex: unset;
		border-right: none;
		border-bottom: 4px solid #16191e;
	}

	.chroot-pricing-combo .combo-right {
		flex: unset;
	}

	.chroot-pricing-combo .combo-cta-right {
		width: 100%;
		text-align: center;
	}
}
