.upex-latc {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	width: 100%;
	flex-wrap: nowrap !important;
	container-type: inline-size;
}

.upex-latc .quantity {
	flex-shrink: 0;
}

/* Zwęź wrapper spinnera jQuery UI — inline height resetowany przez JS */
.upex-latc .ui-spinner {
	width: auto !important;
}

@container (max-width: 280px) {
	.upex-latc .ui-spinner {
		width: 70px !important;
	}
}

.ui-spinner-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
}

.ui-spinner-up::before {
	content: '+';
}

.ui-spinner-down::before {
	content: '−';
}

.upex-latc .qty {
	width: 2.2em !important;
	padding-left: 4px !important;
	padding-right: 4px !important;
	text-align: center;
}

.upex-latc .add_to_cart_button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: auto !important;
	margin: 0 !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	font-size: 11px !important;
}
