/**
 * 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-pricing__table > .konte-pricing__row:nth-last-child(2)::after,
.konte-pricing__table > .konte-pricing__row:nth-last-child(3)::after,
.konte-pricing__table > .konte-pricing__row:nth-last-child(4)::after {
     content: "";
    position: absolute;
    bottom: 0;
    left: 0%;
    width: 100%;
    height: 1px;
    background: var(--b_clr);
}

 .konte-pricing__table > .konte-pricing__row:last-child::after {
    background: none;
}

 .konte-pricing__row::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 13%;
    width: 87%;
    height: 1px;
    background: var(--b_clr);
}
.konte-pricing__row {
    position: relative;
}

.konte-section-separator + .konte-section-separator {
	display: none;
}

.konte-pricing {
	clear: both;
	width: 100%;
	box-sizing: border-box;
	padding: 80px 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;
	color: var(--ink_text);
	font-family: var(--font1) !important;
	font-size: 40px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.konte-pricing__text {
	margin: 0 0 28px;
	max-width: 46ch;
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.konte-pricing__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 30%;
    overflow: auto; /* or hidden */
}

/* ---- 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);*/
	/* background: linear-gradient(var(--b_clr), var(--b_clr)) bottom center / 70% 1px no-repeat; */
}

.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 {
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.konte-pricing__desc {
	font-size: 0.75em;
	color: var(--ink_text);
	font-family: var(--font2);
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.konte-pricing__amount {
	white-space: nowrap;
	color: var(--ink_text);
	font-family: var(--font2);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

/* Amount is rendered twice (full wc_price + a rounded, no-decimal variant); the
 * mobile query below swaps which is shown. Desktop shows the full value, exactly
 * as before. */
.konte-pricing__amount-rounded {
	display: none;
}

/* ---- 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
 {
	
	font-size: 1.25rem;
	color: var(--rare_clr);  /* Vataly Price highlight */
	font-family: var(--font2);
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.konte-pricing__row--vataly .konte-pricing__amount
{
	
	font-size: 1.375rem;
	color: var(--rare_clr);  /* Vataly Price highlight */
	font-family: var(--font2);
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

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

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

/* ---- Mobile redesign (matches the reference screenshot). Phones/small tablets
 * only; desktop (>= 768px) is unchanged. ---- */
@media (max-width: 767px) {

	.konte-pricing__row--vataly
	{
		border-bottom:transparent !important;
		padding-bottom:30px !important;
	}

	.konte-pricing__row::after
	{
		    width: 0%;
	}
	.konte-pricing {
		padding-top: 12px;
		padding-bottom: 0px;
		padding-left: 0px;
		padding-right: 0px;
	}

	.konte-pricing__inner {
		padding: 0 24px;
		gap: 6px;
	}

	/* Intro: serif heading + readable paragraph; the decorative image is dropped
	 * on mobile so the cost table leads. */
	.konte-pricing__heading {
		margin: 0 0 8px;
		font-size: 1.75rem;
		line-height: 1.15;
	}

	.konte-pricing__text {
		margin: 0 0 24px;
		max-width: none;
		font-size: 0.750rem;
		line-height: 1.55;
		color: var(--ink_text);
	}

	.konte-pricing__image {
		display: none;
	}

	/* Cost rows: icon | label+desc | amount, hairline-separated. */
	.konte-pricing__row {
		grid-template-columns: 48px 1fr auto;
		gap: 22px;
		padding: 18px 0;
		border-bottom: 1px solid var(--b_clr);
        background: transparent !important;

	}

	.konte-pricing__icon {
		width: 48px;
	}

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

	.konte-pricing__label {
		font-size: 0.875rem;
		color: var(--ink_text);
		font-family: var(--font2);
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	.konte-pricing__desc {
		font-size: 0.750rem;
		color:var(--ink_text);
		font-family: var(--font2);
		font-style: normal;
		font-weight: 300;
		line-height: normal;
	}

	.konte-pricing__amount {
		font-size: 0.750rem;
		color:var(--ink_text);
		font-family: var(--font2);
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	/* Show the rounded (no-decimal) amount, hide the full one. */
	.konte-pricing__amount-full {
		display: none;
	}

	.konte-pricing__amount-rounded {
		display: inline;
	}

	/* Summary block: larger, bolder totals; a firmer rule opens the block.
	 * Re-assert the icon-less 2-column template — the mobile .konte-pricing__row
	 * rule above (48px 1fr auto) would otherwise win by source order and crush
	 * the label into the icon slot. */
	.konte-pricing__row--summary {
		grid-template-columns: 1fr auto;
		padding: 18px 0;
	}

	.konte-pricing__row--truecost {
		margin-top: 0;
		/*border-top: 1px solid rgba(0, 0, 0, 0.18);*/
	}

	.konte-pricing__row--truecost .konte-pricing__amount,
	.konte-pricing__row--retail .konte-pricing__amount {
		color:var(--ink_text);
		font-family: var(--font2);
		font-size: 16px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	.konte-pricing__row--truecost .konte-pricing__label,
	.konte-pricing__row--retail .konte-pricing__label {
		/*font-size: 1.05rem;
		font-weight: 600; */
	}

	.konte-pricing__row--vataly .konte-pricing__label,
	.konte-pricing__row--vataly .konte-pricing__amount {
		color:var(--rare_clr);
		font-family: var(--font2);
		font-size: 18px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}
}
