/* The store already enforces a minimum of 10 boxes. The plugin's base tier
   (1–9) is shown only to satisfy its internal pricing-rule structure. */
.single-product .tpt__tiered-pricing .tiered-pricing-table tbody tr:first-child {
	display: none;
}

.single-product .mazoffice-water-tier-savings {
	margin: 12px 0 18px;
	padding: 12px 14px;
	border: 1px solid #d9e8dc;
	border-radius: 8px;
	background: #f3faf4;
	color: #165b32;
	font-size: 1rem;
	line-height: 1.8;
}

.single-product .mazoffice-water-tier-savings .tiered-pricing-you-save {
	display: block;
	color: inherit !important;
	font-size: inherit;
}

.single-product .mazoffice-water-tier-final-note {
	margin: 0 0 10px;
	color: #544b5d;
	font-size: 0.88rem;
	line-height: 1.7;
}

.single-product .tpt__tiered-pricing .tiered-pricing-table .mazoffice-water-tier-unit-heading,
.single-product .tpt__tiered-pricing .tiered-pricing-table .mazoffice-water-tier-unit-price {
	text-align: right;
}

@media (max-width: 600px) {
	.single-product .tpt__tiered-pricing .tiered-pricing-table {
		width: 100%;
		display: block;
		border: 0;
		font-size: 0.9rem;
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody {
		display: grid;
		gap: 8px;
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border: 1px solid #e4ddeb;
		border-radius: 8px;
		overflow: hidden;
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody td {
		display: block !important;
		width: auto !important;
		min-width: 0;
		padding: 8px 9px !important;
		white-space: normal !important;
		line-height: 1.4;
		text-align: right !important;
		overflow-wrap: anywhere;
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody td::before {
		display: block;
		margin-bottom: 4px;
		font-size: 0.76rem;
		font-weight: 700;
		opacity: 0.85;
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody td:nth-child(1)::before {
		content: "تعداد باکس";
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody td:nth-child(2)::before {
		content: "تخفیف";
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody td:nth-child(3)::before {
		content: "قیمت هر باکس";
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody td:nth-child(4)::before {
		content: "فی واحد";
	}

	.single-product .tpt__tiered-pricing .tiered-pricing-table tbody td .woocommerce-Price-currencySymbol {
		display: block;
		font-size: 0.76rem;
	}
}
