/* ==========================================================================
   Bulk pricing — product page display. Uses the theme's own design tokens
   (--bg-card, --border, --teal, etc. — see child theme base.css) so it reads
   as part of the page, not a plugin bolt-on. Dollar amounts only, never a
   percentage — see class-bhc-bulk-pricing.php.
   ========================================================================== */

.bhc-bulk-table-wrap {
	margin: 16px 0 24px;
	background-color: var(--bg-card, #fff);
	border: 1px solid var(--border, #e1eef0);
	border-radius: var(--radius-card, 16px);
	padding: 16px 20px;
	max-width: 420px;
}

.bhc-bulk-table-title {
	font-family: var(--font-display, sans-serif);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--text, #27323c);
	margin: 0 0 10px;
}

.bhc-bulk-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.bhc-bulk-table th {
	text-align: left;
	font-weight: 600;
	color: var(--text-muted, rgba(39, 50, 60, 0.62));
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0 8px 8px 0;
	border-bottom: 1px solid var(--border, #e1eef0);
}

.bhc-bulk-table td {
	padding: 8px 8px 8px 0;
	color: var(--text, #27323c);
	border-bottom: 1px solid var(--border, #e1eef0);
}

.bhc-bulk-table tr:last-child td {
	border-bottom: none;
}

.bhc-bulk-table-save {
	color: var(--teal-deep, #2fb0a4);
	font-weight: 600;
}

/* Live line, directly above the Add to Cart button. An explicit display
   here would otherwise beat the browser's own [hidden] rule on
   specificity, keeping the element visible (with empty text) even while
   JS has set it hidden — see the [hidden] override just below. */
.bhc-bulk-live {
	font-size: 0.92rem;
	color: var(--text, #27323c);
	margin: 0 0 10px;
	padding: 10px 14px;
	background-color: var(--teal-tint, #e3f7f5);
	border-radius: 10px;
	display: block;
}

.bhc-bulk-live[hidden],
.bhc-bulk-nudge[hidden],
.bhc-bulk-table-wrap[hidden] {
	display: none;
}

.bhc-bulk-live-qty {
	font-weight: 600;
}

.bhc-bulk-live-total {
	font-weight: 700;
	color: var(--teal-deep, #2fb0a4);
}

.bhc-bulk-live-was {
	color: var(--text-muted, rgba(39, 50, 60, 0.62));
}

.bhc-bulk-live-was s {
	text-decoration: line-through;
}

.bhc-bulk-nudge {
	font-size: 0.85rem;
	color: var(--teal-deep, #2fb0a4);
	margin: 0 0 10px;
}

/* Cart/Checkout blocks — injected by bulk-pricing-cart-blocks.js. */
.bhc-bulk-block-save {
	color: var(--teal-deep, #2fb0a4);
	font-weight: 600;
	font-size: 0.85em;
}

.bhc-bulk-total-saved-row {
	margin: 8px 0 0;
	padding-top: 8px;
	border-top: 1px dashed var(--border, #e1eef0);
	color: var(--teal-deep, #2fb0a4);
	font-weight: 600;
	font-size: 0.9rem;
}

@media (max-width: 480px) {
	.bhc-bulk-table-wrap {
		max-width: 100%;
		padding: 14px 16px;
	}
}
