/* ==========================================================================
   bm_taxdisplay – Tax Display Toggle
   ========================================================================== */

/* --- Alternate prices: hidden by default (inline style + CSS fallback) --- */

.bm-tax-alt-inc,
.bm-tax-alt-exc {
	display: none !important;
}

/* --- Active mode: hide native, show matching alternate --- */

body.bm-tax-inc .bm-tax-native { display: none !important; }
body.bm-tax-inc .bm-tax-native-label { display: none !important; }
body.bm-tax-inc .bm-tax-alt-inc { display: flex !important; }

body.bm-tax-exc .bm-tax-native { display: none !important; }
body.bm-tax-exc .bm-tax-native-label { display: none !important; }
body.bm-tax-exc .bm-tax-alt-exc { display: flex !important; }

/* --- Tax label inside alternate price spans --- */

.bm-tax-label {
	font-size: 0.75em;
	font-weight: normal;
	opacity: 0.8;
}

/* --- Toggle widget (displayNav2) --- */

.bm-tax-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.bm-tax-toggle__label {
	font-size: 0.8125rem;
	white-space: nowrap;
	user-select: none;
	cursor: pointer;
}

/* --- Switch track --- */

.bm-tax-toggle__switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
	flex-shrink: 0;
	cursor: pointer;
	margin: 0;
}

.bm-tax-toggle__input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.bm-tax-toggle__slider {
	position: absolute;
	inset: 0;
	background: var(--bm-tax-track-bg, #888);
	border-radius: 999px;
	transition: background-color 0.25s;
}

/* --- Switch thumb --- */

.bm-tax-toggle__slider::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 2px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.25s;
}

.bm-tax-toggle__input:checked + .bm-tax-toggle__slider {
	background: var(--bm-tax-track-active-bg, #4caf50);
}

.bm-tax-toggle__input:checked + .bm-tax-toggle__slider::before {
	transform: translateX(16px);
}


.product__discount-price:not(:first-of-type) {
	display: none !important;
}