/**
 * Transparent Pricing section.
 *
 * Rendered by inc/transparent-pricing.php on woocommerce_after_single_product at
 * a placement-driven priority, OUTSIDE `div.product`. Two columns: intro (heading
 * + text + image) on the left, the cost table on the right. Reuses the shared
 * `.konte-section-separator` hairline for the top/bottom dividers.
 */

/* Collapse a redundant hairline when two separators are adjacent (e.g. this
 * section's leading separator right after You May Also Like's trailing one). */
.konte-section-separator + .konte-section-separator {
	display: none;
}

.konte-pricing {
	clear: both;
	width: 100%;
	box-sizing: border-box;
	padding: 64px 0;
}

.konte-pricing__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}

/* ---- Left: intro ---- */

.konte-pricing__heading {
	margin: 0 0 18px;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1.1;
}

.konte-pricing__text {
	margin: 0 0 28px;
	max-width: 46ch;
	color: #555;
	line-height: 1.6;
}

.konte-pricing__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Right: cost table ---- */

.konte-pricing__row {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.konte-pricing__row:first-child {
	padding-top: 0;
}

.konte-pricing__icon {
	width: 72px;
}

.konte-pricing__icon img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.konte-pricing__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.konte-pricing__label {
	font-weight: 600;
	color: #1a1a1a;
}

.konte-pricing__desc {
	font-size: 0.9em;
	color: #777;
}

.konte-pricing__amount {
	font-weight: 500;
	white-space: nowrap;
	color: #1a1a1a;
}

/* ---- Summary rows: no icon column, label left / amount right ---- */

.konte-pricing__row--summary {
	grid-template-columns: 1fr auto;
}

.konte-pricing__row--truecost {
	margin-top: 8px;
}

.konte-pricing__row--vataly {
	border-bottom: 0;
}

.konte-pricing__row--vataly .konte-pricing__label,
.konte-pricing__row--vataly .konte-pricing__amount {
	color: #a07d3e; /* Vataly Price highlight, per the reference */
	font-size: 1.35rem;
	font-weight: 600;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
	.konte-pricing__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.konte-pricing {
		padding: 40px 0;
	}

	.konte-pricing__inner {
		padding: 0 20px;
	}

	.konte-pricing__row {
		grid-template-columns: 48px 1fr auto;
		gap: 12px;
	}

	.konte-pricing__icon img {
		width: 40px;
		height: 40px;
	}
}
