/* BerryB+ WooCommerce Modal – nur Ergänzungen zum vorhandenen UIkit-/Theme-Styling. */

/* Mengen-Anzeige in der Button-Gruppe ist reine Ausgabe, nicht klickbar. */
#product-modal [data-bwm="qty"] {
	cursor: default;
	min-width: 3.5em;
	pointer-events: none;
}

#product-modal [data-bwm="minus"],
#product-modal [data-bwm="plus"] {
	min-width: 2.75em;
}

#product-modal [data-bwm="add"] {
	text-align: center;
}

/* Rückmeldung nach dem Hinzufügen (CI: Vertrauensblau) */
#product-modal .bwm-feedback--ok {
	color: #083957;
}

#product-modal .bwm-feedback--error {
	color: #be1818;
}

/* N02: Bei schmalen Dialogen (kleine Mobilgeraete) konkurrieren Mengen-Label und
   Stepper in einer Zeile um den Platz und der Stepper ragt ueber den Dialogrand
   hinaus. Unterhalb von 420px Viewportbreite untereinander anordnen. */
@media (max-width: 420px) {
	#product-modal .bwm-qty-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5em;
	}

	#product-modal [data-bwm="qtygroup"] {
		align-self: stretch;
	}

	#product-modal [data-bwm="minus"],
	#product-modal [data-bwm="plus"] {
		min-width: 2.5em;
	}

	#product-modal [data-bwm="qty"] {
		min-width: 3em;
	}
}

/* Bündelpreise: schnelle Mengenwahl */
#product-modal .bwm-bundle-btn {
	padding: 0.5em 0.25em;
	line-height: 1.35;
	text-transform: none;
	white-space: normal;
}

#product-modal .bwm-bundle-btn[aria-pressed="true"] {
	background-color: #083957;
	border-color: #083957;
	color: #fff;
}

#product-modal .bwm-bundle-btn__tag {
	font-size: 0.75em;
	color: #c84760;
}

#product-modal .bwm-bundle-btn[aria-pressed="true"] .bwm-bundle-btn__tag {
	color: #fff;
}
