/* Bulk Pricing Tiers - front end table */

.bpt-table {
	--bpt-accent: #8cc63f;
	--bpt-accent-text: #ffffff;

	width: 100%;
	margin: 0 0 20px;
	border: 1px solid var(--bpt-accent);
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
	background: #fff;
	font-size: 15px;
	line-height: 1.4;
}

.bpt-table tbody,
.bpt-table tr {
	background: none;
	border: 0;
}

.bpt-table th,
.bpt-table td {
	padding: 10px 14px;
	border: 1px solid var(--bpt-accent);
	text-align: center;
	vertical-align: middle;
	word-wrap: break-word;
}

.bpt-table th.bpt-label {
	width: 33%;
	background: var(--bpt-accent);
	color: var(--bpt-accent-text);
	font-weight: 700;
}

.bpt-table td.bpt-text {
	background: #fff;
	color: #333;
	font-weight: 400;
}

.bpt-table td.bpt-text strong,
.bpt-table td.bpt-text b {
	font-weight: 700;
}

/* Prices inherit the surrounding text so the row stays on one line. */
.bpt-table .woocommerce-Price-amount {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	white-space: nowrap;
}

/* Row that the current quantity qualifies for. Remove this block if you
   want the table to stay completely static. */
.bpt-table tr.bpt-active td.bpt-text {
	background: #f6fbef;
	background: color-mix(in srgb, var(--bpt-accent) 12%, #fff);
	font-weight: 600;
}

@media (max-width: 480px) {
	.bpt-table {
		font-size: 13px;
	}

	.bpt-table th,
	.bpt-table td {
		padding: 8px 10px;
	}

	.bpt-table th.bpt-label {
		width: 38%;
	}
}
