.bees-mnm {
	margin: 12px 0;
}

.bees-mnm__title {
	margin: 0 0 8px;
}

.bees-mnm__description {
	margin: 0 0 10px;
}

.bees-mnm__line-qty-row {
	display: flex;
	gap: 10px;
	align-items: flex-end;
}

.bees-mnm__line-qty-select {
	flex: 1 1 auto;
}

.bees-mnm__line-qty-qty {
	width: 120px;
}

.bees-mnm__qty-label {
	display: block;
	font-size: 12px;
	margin-bottom: 2px;
}

.bees-mnm__field {
	width: 100%;
}

.variation dt[class*="variation-Mixselections"],
.variation dd[class*="variation-Mixselections"] {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.variation dt[class*="variation-Mixselections"] {
	margin-bottom: 3px !important;
}

.variation dd[class*="variation-Mixselections"] {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.variation dd[class*="variation-Mixselections"] p {
	margin: 0 !important;
}

.bees-mnm-cart-meta,
.bees-mnm-cart-meta__list,
.bees-mnm-cart-meta__selection,
.bees-mnm-cart-meta__edit {
	display: block;
}

.bees-mnm-cart-meta__selection {
	line-height: 1.35;
}

.bees-mnm-cart-meta__edit {
	margin-top: 4px;
	font-weight: 600;
	line-height: 1.35;
}

.widget_shopping_cart .bees-mnm-cart-meta__edit,
.woocommerce-mini-cart .bees-mnm-cart-meta__edit,
.elementor-menu-cart__product .bees-mnm-cart-meta__edit {
	margin-top: 5px;
}

.bees-mnm__progress {
	margin: 10px 0;
	padding: 10px 12px;
	border: 1px solid #dcdcde;
	background: #f6f7f7;
}

.bees-mnm__progress-count,
.bees-mnm__progress-message {
	display: block;
	line-height: 1.35;
}

.bees-mnm--complete .bees-mnm__progress {
	border-color: #7ad17a;
	background: #f0fff0;
}

.bees-mnm--over .bees-mnm__progress {
	border-color: #d63638;
	background: #fff5f5;
}

.bees-mnm__price-summary {
	margin: 10px 0 14px;
	padding: 12px;
	border: 1px solid #dcdcde;
	background: #fff;
}

.bees-mnm__price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	line-height: 1.5;
}

.bees-mnm__price-row + .bees-mnm__price-row {
	margin-top: 5px;
}

.bees-mnm__price-row--total {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #e5e5e5;
	font-weight: 700;
}

.bees-mnm__compact-builder {
	display: grid;
	gap: 10px;
}

.bees-mnm__compact-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px auto;
	gap: 10px;
	align-items: end;
}

.bees-mnm__compact-row label,
.bees-mnm__slot-row label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.bees-mnm__compact-select,
.bees-mnm__compact-qty {
	min-width: 0;
}

.bees-mnm__remove-row {
	min-width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #c3c4c7;
	background: #fff;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}

.bees-mnm__remove-row:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.bees-mnm-price-note {
	display: inline-block;
	font-weight: 600;
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

@media screen and (max-width: 640px) {
	.bees-mnm__compact-row,
	.bees-mnm__line-qty-row {
		display: grid;
		grid-template-columns: 1fr;
	}

	.bees-mnm__line-qty-qty,
	.bees-mnm__compact-qty {
		width: 100%;
	}
}

/* v2.3 storefront UI polish: dark/neon theme alignment for injected Mix & Match controls. */
.bees-mnm {
	--bees-mnm-bg: #050505;
	--bees-mnm-bg-soft: #0d0d0d;
	--bees-mnm-green: #39ff14;
	--bees-mnm-green-soft: rgba(57, 255, 20, 0.18);
	--bees-mnm-green-border: rgba(57, 255, 20, 0.62);
	--bees-mnm-gold: #ffd84d;
	--bees-mnm-red: #ff4d4d;
	color: var(--bees-mnm-green);
}

.bees-mnm__title {
	color: var(--bees-mnm-green);
}

.bees-mnm__description {
	margin: 0 0 14px;
	line-height: 1.45;
	color: var(--bees-mnm-green);
}

.bees-mnm__progress,
.bees-mnm__price-summary {
	border: 1px solid var(--bees-mnm-green-border);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(13, 13, 13, 0.98), rgba(3, 3, 3, 0.98));
	box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.08), 0 0 18px rgba(57, 255, 20, 0.08);
	color: var(--bees-mnm-green);
}

.bees-mnm__progress {
	margin: 12px 0 14px;
	padding: 14px 16px;
}

.bees-mnm__progress-count {
	margin-bottom: 5px;
	color: var(--bees-mnm-green);
}

.bees-mnm__progress-message {
	padding-left: 0;
	color: var(--bees-mnm-green);
}

.bees-mnm--complete .bees-mnm__progress {
	border-color: var(--bees-mnm-green);
	background: linear-gradient(180deg, rgba(11, 43, 8, 0.95), rgba(3, 18, 3, 0.95));
}

.bees-mnm--over .bees-mnm__progress {
	border-color: var(--bees-mnm-red);
	background: linear-gradient(180deg, rgba(50, 5, 5, 0.95), rgba(18, 3, 3, 0.95));
}

.bees-mnm--over .bees-mnm__progress-count,
.bees-mnm--over .bees-mnm__progress-message {
	color: var(--bees-mnm-red);
}

.bees-mnm__price-summary {
	margin: 12px 0 18px;
	padding: 14px 16px;
}

.bees-mnm__price-row {
	color: var(--bees-mnm-green);
}

.bees-mnm__price-value,
.bees-mnm__price-row--total {
	color: var(--bees-mnm-gold);
}

.bees-mnm__price-row--total {
	border-top-color: rgba(255, 216, 77, 0.35);
}

.bees-mnm__field,
.bees-mnm select.bees-mnm__field,
.bees-mnm input.bees-mnm__field {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--bees-mnm-green-border) !important;
	border-radius: 8px;
	background-color: var(--bees-mnm-bg-soft) !important;
	color: var(--bees-mnm-green) !important;
	box-shadow: none !important;
	outline: none;
}

.bees-mnm select.bees-mnm__field:focus,
.bees-mnm input.bees-mnm__field:focus {
	border-color: var(--bees-mnm-green) !important;
	box-shadow: 0 0 0 2px var(--bees-mnm-green-soft) !important;
}

.bees-mnm select.bees-mnm__field option {
	background: #0d0d0d;
	color: var(--bees-mnm-green);
}

.bees-mnm__compact-row label,
.bees-mnm__slot-row label,
.bees-mnm__qty-label {
	margin-bottom: 6px;
	line-height: 1.3;
	color: var(--bees-mnm-green);
}

.bees-mnm__compact-row {
	grid-template-columns: minmax(0, 1fr) minmax(78px, 96px) 40px;
	gap: 10px;
	align-items: end;
}

.bees-mnm__remove-placeholder {
	display: block;
	width: 40px;
	height: 40px;
}

.bees-mnm__remove-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 1px solid var(--bees-mnm-green) !important;
	border-radius: 999px;
	background: #050505 !important;
	color: var(--bees-mnm-green) !important;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	box-shadow: none !important;
	text-shadow: none;
}

.bees-mnm__remove-row:hover,
.bees-mnm__remove-row:focus {
	background: rgba(57, 255, 20, 0.12) !important;
	color: var(--bees-mnm-green) !important;
	box-shadow: 0 0 0 2px var(--bees-mnm-green-soft) !important;
}

.bees-mnm__remove-row:disabled {
	display: none;
}

@media screen and (max-width: 640px) {
	.bees-mnm__compact-row {
		grid-template-columns: 1fr;
	}

	.bees-mnm__remove-placeholder {
		display: none;
	}

	.bees-mnm__remove-row {
		width: 100%;
		border-radius: 8px;
	}
}


/* v2.4 compact quantity stepper */
.bees-mnm__qty-stepper {
	display: grid;
	grid-template-columns: 42px minmax(56px, 1fr) 42px;
	align-items: stretch;
	gap: 8px;
}

.bees-mnm__compact-qty .bees-mnm__qty {
	text-align: center;
	font-weight: 700;
	padding: 0 8px;
	appearance: textfield;
	-moz-appearance: textfield;
	height: 44px;
}

.bees-mnm__compact-qty .bees-mnm__qty::-webkit-outer-spin-button,
.bees-mnm__compact-qty .bees-mnm__qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.bees-mnm__qty-step {
	width: 42px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--bees-mnm-green);
	border-radius: 12px;
	background: rgba(8, 8, 8, 0.98);
	color: var(--bees-mnm-green);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.12);
	transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.bees-mnm__qty-step:hover:not(:disabled),
.bees-mnm__qty-step:focus-visible:not(:disabled) {
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.14), 0 0 16px rgba(57, 255, 20, 0.18);
}

.bees-mnm__qty-step:disabled {
	opacity: 0.38;
	cursor: not-allowed;
	box-shadow: none;
}

.bees-mnm__remove-placeholder {
	width: 46px;
	height: 44px;
	display: inline-block;
}

@media screen and (max-width: 640px) {
	.bees-mnm__qty-stepper {
		grid-template-columns: 44px minmax(56px, 1fr) 44px;
	}

	.bees-mnm__qty-step,
	.bees-mnm__remove-placeholder,
	.bees-mnm__compact-qty .bees-mnm__qty {
		height: 46px;
	}
}


/* v2.5 compact builder spacing fix: prevent qty stepper from overlapping row remove button. */
.bees-mnm__compact-row {
	grid-template-columns: minmax(0, 1fr) minmax(158px, 168px) 46px;
	column-gap: 12px;
}

.bees-mnm__compact-qty {
	min-width: 158px;
}

.bees-mnm__qty-stepper {
	width: 100%;
	grid-template-columns: 42px minmax(48px, 1fr) 42px;
	gap: 7px;
}

.bees-mnm__remove-row,
.bees-mnm__remove-placeholder {
	width: 44px;
	min-width: 44px;
	height: 44px;
	justify-self: center;
	align-self: end;
}

@media screen and (max-width: 640px) {
	.bees-mnm__compact-row {
		grid-template-columns: 1fr;
	}

	.bees-mnm__compact-qty {
		min-width: 0;
	}

	.bees-mnm__qty-stepper {
		grid-template-columns: 44px minmax(64px, 1fr) 44px;
	}

	.bees-mnm__remove-row,
	.bees-mnm__remove-placeholder {
		justify-self: start;
	}
}


/* v2.6 mobile compact builder: keep Qty and remove inline for cleaner phone layout. */
@media screen and (max-width: 640px) {
	.bees-mnm__compact-row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(132px, 42vw) 44px;
		column-gap: 8px;
		row-gap: 8px;
		align-items: end;
	}

	.bees-mnm__compact-row:first-child,
	.bees-mnm__compact-row--first {
		grid-template-columns: minmax(0, 1fr) minmax(132px, 42vw);
	}

	.bees-mnm__compact-select,
	.bees-mnm__compact-qty {
		min-width: 0;
		width: auto;
	}

	.bees-mnm__compact-select {
		grid-column: 1;
	}

	.bees-mnm__compact-qty {
		grid-column: 2;
	}

	.bees-mnm__remove-row {
		grid-column: 3;
		width: 44px;
		min-width: 44px;
		height: 44px;
		border-radius: 12px;
		justify-self: center;
		align-self: end;
	}

	.bees-mnm__remove-placeholder {
		display: none;
	}

	.bees-mnm__qty-stepper {
		grid-template-columns: 36px minmax(36px, 1fr) 36px;
		gap: 5px;
	}

	.bees-mnm__qty-step,
	.bees-mnm__compact-qty .bees-mnm__qty {
		height: 44px;
	}

	.bees-mnm__qty-step {
		width: 36px;
		font-size: 22px;
		border-radius: 10px;
	}

	.bees-mnm__compact-qty .bees-mnm__qty {
		padding-left: 4px;
		padding-right: 4px;
	}

	.bees-mnm select.bees-mnm__field {
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

@media screen and (max-width: 380px) {
	.bees-mnm__compact-row {
		grid-template-columns: minmax(0, 1fr) 124px 42px;
		column-gap: 6px;
	}

	.bees-mnm__compact-row:first-child,
	.bees-mnm__compact-row--first {
		grid-template-columns: minmax(0, 1fr) 124px;
	}

	.bees-mnm__qty-stepper {
		grid-template-columns: 34px minmax(34px, 1fr) 34px;
		gap: 4px;
	}

	.bees-mnm__qty-step {
		width: 34px;
	}

	.bees-mnm__remove-row {
		width: 42px;
		min-width: 42px;
	}
}


/* v2.7 single-product ordering: keep product title above the dynamic Mix & Match price note when themes output price first. */
.bees-mnm-product-title--repositioned {
	margin-bottom: 8px;
}

.bees-mnm-product-title--repositioned + .price .bees-mnm-price-note,
.bees-mnm-product-title--repositioned + p .bees-mnm-price-note,
.bees-mnm-product-title--repositioned + div .bees-mnm-price-note {
	display: inline-block;
	margin-bottom: 8px;
}


/* v2.8 single-product title ordering: render the Mix product title inside the builder and hide duplicated theme titles/empty price rows. */
.bees-mnm-product-title--inline {
	margin: 0 0 8px;
	padding: 0;
	color: var(--bees-mnm-green);
	font-size: clamp(28px, 5vw, 44px);
	font-weight: 800;
	line-height: 1.08;
}

.bees-mnm-price-note--inline {
	display: block;
	margin: 0 0 18px;
	color: var(--bees-mnm-gold);
	font-weight: 700;
	line-height: 1.3;
}

.bees-mnm-native-title-hidden,
.bees-mnm-empty-price-hidden {
	display: none !important;
}

.single-product .bees-mnm {
	margin-top: 14px;
}
