/* Compact tease above ATC. */
.tw-qty-breaks-tease {
	flex: 1 1 100%;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 10px;
	padding: 10px 12px;
	border: 1px solid rgba(31, 179, 124, 0.35);
	border-radius: 10px;
	background: rgba(31, 179, 124, 0.06);
}

.tw-qty-breaks-tease__pill {
	font-size: 11px;
	letter-spacing: 0.04em;
	line-height: 1;
	color: #fff;
	background: var(--tw-mint-600, #1fb37c);
	padding: 6px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.tw-qty-breaks-tease__pill.is-active {
	background: var(--tw-ink, #0b0f0d);
}

.tw-qty-breaks-tease__text {
	flex: 1 1 auto;
	font-size: 13px;
	line-height: 1.35;
	color: var(--tw-ink-2, #2a2f2c);
}

.tw-qty-breaks-tease__text .woocommerce-Price-amount {
	font-weight: 700;
	color: var(--tw-mint-600, #1fb37c);
}

.tw-qty-breaks-tease__link {
	font-size: 12px;
	font-weight: 600;
	color: var(--tw-mint-600, #1fb37c);
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.tw-qty-breaks-tease__link:hover {
	color: var(--tw-ink, #0b0f0d);
}

/* Live pill next to buybox price. */
.tw-pdp-buybox__pricerow.is-qty-break .tw-pdp-buybox__price {
	color: var(--tw-mint-600, #1fb37c);
}

.tw-qty-breaks-live-save {
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.04em;
	color: var(--tw-mint-600, #1fb37c);
	background: var(--tw-mint-100, #e8f8f1);
	padding: 6px 10px;
	border-radius: 999px;
}

/* Catalog tile under price. */
.tw-qty-breaks-tile {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: var(--tw-mint-600, #1fb37c);
}

/* Quantity-break tiles — 2 per row, clear hierarchy. */
.tw-qty-breaks {
	margin: 10px 0 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--tw-line-soft, #ecefed);
}

.tw-qty-breaks__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 8px;
}

.tw-qty-breaks__eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tw-mint-600, #1fb37c);
}

.tw-qty-breaks__hint {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 500;
	color: var(--tw-ink, #0b0f0d);
}

.tw-qty-breaks__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.tw-qty-breaks__btn {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 0;
	padding: 10px 8px !important;
	margin: 0 !important;
	border: 1px solid #d8ddd9 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	background: #f6f8f6 !important;
	color: inherit;
	font: inherit;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.tw-qty-breaks__btn:hover {
	border-color: var(--tw-mint-600, #1fb37c) !important;
	background: #eef8f3 !important;
}

.tw-qty-breaks__btn:focus-visible {
	outline: 2px solid var(--tw-mint-600, #1fb37c);
	outline-offset: 1px;
}

.tw-qty-breaks__tier.is-active .tw-qty-breaks__btn {
	border-color: var(--tw-mint-600, #1fb37c) !important;
	background: #e4f6ee !important;
	box-shadow: inset 0 0 0 1px var(--tw-mint-600, #1fb37c);
}

.tw-qty-breaks__tier.is-reached:not(.is-active) .tw-qty-breaks__btn {
	border-color: rgba(31, 179, 124, 0.45) !important;
}

.tw-qty-breaks__pct {
	order: 1;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--tw-mint-600, #1fb37c);
	background: transparent;
	padding: 0;
	border-radius: 0;
	line-height: 1;
	white-space: nowrap;
}

.tw-qty-breaks__qty {
	order: 2;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--tw-ink-2, #2a2f2c);
}

.tw-qty-breaks__unit {
	order: 3;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 700;
	color: var(--tw-ink, #0b0f0d);
	white-space: nowrap;
}

.tw-qty-breaks__unit .woocommerce-Price-amount {
	font-weight: 700;
	color: var(--tw-ink, #0b0f0d);
}

.tw-qty-breaks__unit-suffix {
	margin-left: 2px;
	font-size: 11px;
	font-weight: 600;
	color: var(--tw-ink-2, #2a2f2c);
}

.tw-qty-breaks__note {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.35;
	color: var(--tw-ink-2, #2a2f2c);
}

.tw-qty-breaks-cart-note {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	letter-spacing: 0.03em;
	color: var(--tw-mint-600, #1fb37c);
}

@media (min-width: 520px) {
	.tw-qty-breaks__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.tw-qty-breaks__btn {
		transition: none;
	}
}
