.wapu-b2b-front-table {
	--wapu-b2b-border: rgba(17, 24, 39, .09);
	--wapu-b2b-border-soft: rgba(17, 24, 39, .07);
	--wapu-b2b-muted: rgba(60, 60, 67, .64);
	--wapu-b2b-muted-2: rgba(60, 60, 67, .42);
	--wapu-b2b-ok: #148c43;
	--wapu-b2b-ok-soft: rgba(20, 140, 67, .075);
	--wapu-b2b-warn: #b94716;
	--wapu-b2b-warn-soft: rgba(185, 71, 22, .1);
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--ds-ink, #111827);
	font-family: var(--ds-font-text, inherit);
	margin: 0 0 12px;
	overflow: visible;
	padding: 0;
}

.wapu-b2b-product-active .wapu-single__price {
	display: none !important;
}

.wapu-b2b-product-active .wapu-single__main-img,
.wapu-b2b-product-active .wapu-single__gallery .wapu-gal__img,
.wapu-b2b-product-active .wapu-vg__img,
.wapu-b2b-product-active .wapu-vg__main > img {
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	width: 100% !important;
}

.wapu-b2b-front-table__head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 0 0 12px;
}

.wapu-b2b-front-table__title {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.wapu-b2b-front-table__title span {
	color: var(--wapu-b2b-muted);
	display: block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.wapu-b2b-front-table__title strong {
	color: var(--ds-ink, #111827);
	font-family: var(--ds-font-display, inherit);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
}

.wapu-b2b-front-table__pack {
	align-items: center;
	background: rgba(17, 24, 39, .04);
	border: 1px solid var(--wapu-b2b-border);
	border-radius: 999px;
	color: rgba(17, 24, 39, .68);
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-height: 24px;
	padding: 0 9px;
	white-space: nowrap;
}

.wapu-b2b-front-table__tiers {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow: visible;
	padding: 0;
	position: relative;
}

.wapu-b2b-front-table__tiers::before {
	display: none;
}

.wapu-b2b-tier {
	align-items: center;
	background: rgba(250, 250, 251, .92);
	border: 1px solid var(--wapu-b2b-border);
	border-radius: 8px;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 62px;
	overflow: hidden;
	padding: 13px 15px 13px 16px;
	position: relative;
	transition: background-color .28s ease, border-color .28s ease, color .28s ease, opacity .22s ease, transform .28s cubic-bezier(.2, .78, .24, 1);
}

.wapu-b2b-tier[role="button"] {
	cursor: pointer;
}

.wapu-b2b-tier[role="button"]:focus-visible {
	box-shadow: 0 0 0 3px rgba(20, 140, 67, .18);
	outline: 2px solid rgba(20, 140, 67, .7);
	outline-offset: 2px;
}

.wapu-b2b-tier:hover {
	background: #fff;
	border-color: rgba(17, 24, 39, .14);
	transform: none;
}

.wapu-b2b-tier:last-child {
	border-bottom: 1px solid var(--wapu-b2b-border);
}

.wapu-b2b-tier.is-base {
	border-color: var(--wapu-b2b-border-soft);
}

.wapu-b2b-tier::before {
	display: none;
}

.wapu-b2b-tier.is-current {
	background: linear-gradient(90deg, rgba(20, 140, 67, .115), rgba(20, 140, 67, .04) 54%, rgba(255, 255, 255, .98));
	border-color: rgba(20, 140, 67, .58);
}

.wapu-b2b-tier.is-current::before {
	display: none;
}

.wapu-b2b-tier.is-switching::after {
	background: linear-gradient(90deg, transparent 0%, rgba(20, 140, 67, .14) 42%, rgba(20, 140, 67, .07) 66%, transparent 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(-115%);
	z-index: 0;
	animation: wapu-b2b-tier-sweep .52s cubic-bezier(.22, .72, .2, 1) both;
}

.wapu-b2b-tier > * {
	position: relative;
	z-index: 1;
}

.wapu-b2b-tier.is-switching {
	border-color: rgba(20, 140, 67, .68);
}

.wapu-b2b-tier.is-switching--down > * {
	animation: wapu-b2b-content-enter-down .38s cubic-bezier(.2, .78, .24, 1) both;
}

.wapu-b2b-tier.is-switching--up > * {
	animation: wapu-b2b-content-enter-up .38s cubic-bezier(.2, .78, .24, 1) both;
}

.wapu-b2b-tier.is-leaving--down > * {
	animation: wapu-b2b-content-leave-down .26s cubic-bezier(.4, 0, .2, 1) both;
}

.wapu-b2b-tier.is-leaving--up > * {
	animation: wapu-b2b-content-leave-up .26s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes wapu-b2b-tier-sweep {
	0% {
		opacity: 0;
		transform: translateX(-115%);
	}
	24% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateX(115%);
	}
}

@keyframes wapu-b2b-content-enter-down {
	0% {
		opacity: .58;
		transform: translateY(-10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes wapu-b2b-content-enter-up {
	0% {
		opacity: .58;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes wapu-b2b-content-leave-down {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: .7;
		transform: translateY(8px);
	}
}

@keyframes wapu-b2b-content-leave-up {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: .7;
		transform: translateY(-8px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wapu-b2b-tier,
	.wapu-b2b-tier.is-switching,
	.wapu-b2b-tier.is-switching::after {
		animation: none !important;
		transition: none !important;
	}
}

.wapu-b2b-tier__qty,
.wapu-b2b-tier__price {
	align-items: baseline;
	display: inline-flex;
	gap: 4px;
	min-width: 0;
}

.wapu-b2b-tier__price span {
	color: var(--wapu-b2b-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
}

.wapu-b2b-tier__qty strong,
.wapu-b2b-tier__price strong {
	color: var(--ds-ink, #111827);
	font-family: var(--ds-font-display, inherit);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.1;
}

.wapu-b2b-tier__qty strong {
	font-size: 15px;
}

.wapu-b2b-tier__price strong {
	font-size: 14.5px;
	white-space: nowrap;
}

.wapu-b2b-tier.is-current .wapu-b2b-tier__qty strong {
	color: var(--wapu-b2b-ok);
}

.wapu-b2b-tier__qty {
	align-items: center;
	background: transparent;
	border-radius: 0;
	justify-content: flex-start;
	min-height: 0;
	padding: 0;
}

.wapu-b2b-tier__main {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.wapu-b2b-tier__side {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	min-width: 148px;
	text-align: right;
}

.wapu-b2b-tier__note {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--wapu-b2b-muted);
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	max-width: 180px;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wapu-b2b-tier__note--saving {
	color: var(--wapu-b2b-ok);
}

.wapu-b2b-tier.is-stock-limited {
	color: rgba(17, 24, 39, .42);
	cursor: not-allowed;
	opacity: .72;
}

.wapu-b2b-tier.is-stock-limited .wapu-b2b-tier__qty strong,
.wapu-b2b-tier.is-stock-limited .wapu-b2b-tier__price strong,
.wapu-b2b-tier.is-stock-limited .wapu-b2b-tier__price span {
	color: rgba(17, 24, 39, .42);
}

.wapu-b2b-tier__note--stock {
	background: transparent;
	border-radius: 0;
	color: var(--wapu-b2b-warn);
	max-width: none;
	padding: 0;
}

.wapu-single__qty-select-wrap:has(.wapu-b2b-qty-stepper) {
	padding: 0;
}

.wapu-single__qty-select-wrap:has(.wapu-b2b-qty-stepper) .wapu-single__qty-chevron {
	display: none;
}

.wapu-b2b-qty-stepper {
	align-items: stretch;
	display: grid;
	grid-template-columns: 42px minmax(58px, 1fr) 42px;
	min-height: 52px;
	width: 100%;
}

.wapu-b2b-qty-stepper__btn {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: rgba(17, 24, 39, .68);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--ds-font-display, inherit);
	font-size: 22px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background-color .2s ease, color .2s ease;
}

.wapu-b2b-qty-stepper__btn:hover {
	background: rgba(17, 24, 39, .06);
	color: #111827;
}

.wapu-b2b-qty-stepper__input,
.wapu-b2b-qty-stepper__input.wapu-single__qty-select {
	appearance: textfield;
	background: transparent;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--ds-ink, #111827);
	font-family: var(--ds-font-display, inherit);
	font-size: 15px;
	font-weight: 800;
	height: auto;
	min-height: 52px;
	outline: 0;
	padding: 0;
	text-align: center;
	width: 100%;
}

.wapu-b2b-qty-stepper__input::-webkit-outer-spin-button,
.wapu-b2b-qty-stepper__input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.wapu-b2b-card-min {
	color: rgba(17, 24, 39, .55);
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.wapu-product-card--b2b .wapu-product-card__media,
.wapu-product-card--b2b .wapu-product-card__image,
.wapu-product-card--b2b .woocommerce-loop-product__link {
	border-radius: 28px !important;
	overflow: hidden !important;
}

.wapu-product-card--b2b .wapu-product-card__media img,
.wapu-product-card--b2b .wapu-product-card__image img,
.wapu-product-card--b2b img.attachment-woocommerce_thumbnail {
	border-radius: 28px !important;
}

@media (max-width: 640px) {
	.wapu-b2b-front-table__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.wapu-b2b-tier {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		padding: 11px 12px;
	}

	.wapu-b2b-tier__side {
		align-items: flex-start;
		grid-column: 1;
		min-width: 0;
		text-align: left;
	}

	.wapu-b2b-tier__note {
		max-width: 100%;
	}

	.wapu-b2b-tier__price strong {
		font-size: 15px;
	}

	.wapu-b2b-card-min {
		font-size: 9px;
	}
}
